[jboss-user] [JBossWS] - How to invoke Java beans <Enitty Home> classes generated by

jbossdil89 do-not-reply at jboss.com
Fri Feb 29 09:20:45 EST 2008


I have generated codesuing seam gen and it has generated all the JSF files and Java persistence classes. e.g.
package com.test.seam.sessionbeans;

import com.test.seam.entitybeans.*;
import java.util.ArrayList;
import java.util.List;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityHome;

public class CouponHome extends EntityHome {

	public void setCouponCouponId(Integer id) {

	public Integer getCouponCouponId() {
		return (Integer) getId();

	protected Coupon createInstance() {
		Coupon coupon = new Coupon();
		return coupon;

	public void wire() {

	public boolean isWired() {
		return true;

	public Coupon getDefinedInstance() {
		return isIdDefined() ? getInstance() : null;

	public List getListItemsCouponses() {
		return getInstance() == null ? null : new ArrayList(


Now the JSF files generated can invoke the beans, how can i invoke these beans from standalone applications.
Thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133234#4133234

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133234

More information about the jboss-user mailing list