[jboss-user] [JBoss Seam] - Re: Combining EntityHome and session beans

petemuir do-not-reply at jboss.com
Wed Jan 17 04:57:32 EST 2007


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



More information about the jboss-user mailing list