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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...