I normally extend the EntityHome and add the extra logic to this.  I'll 
override persist, add in any custom (e.g. validation) logic, and then call 
super.persist() as needed.  

An exception to this is if I have a pageflow, in which I'll put the flow logic 
in a seperate bean (but still use a home bean for any crud, probably by 
injecting it into the flow-control bean).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002671
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to