[jboss-user] [JBoss Seam] - Re: Beginner question on Seam-gen entity annotations
pete.muir@jboss.org
do-not-reply at jboss.com
Thu Jan 17 12:52:11 EST 2008
I personally would much prefer the EntityHome approach to annotating entities.
I the aim is to not have to write entityHome.instance.property, then just add a factory to components.xml
<factory name="entityName" value="#{entityHome.instance}" />
Why? I think the lifecycle is much clearer like this, you get EntityHome (which is very nice), and you are cluster safe.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121041#4121041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121041
More information about the jboss-user
mailing list