Hello

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;

@Name("couponHome")
public class CouponHome extends EntityHome {

        public void setCouponCouponId(Integer id) {
                setId(id);
        }

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

        @Override
        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(
                                getInstance().getListItemsCouponses());
        }

}

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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to