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