[jboss-user] [Beginners Corner] - Re: Project EJB and JSF designquestion - where to implement
Wolfgang Knauf
do-not-reply at jboss.com
Tue Mar 24 07:49:46 EDT 2009
Hi,
I consider example 2 the better approach. Relationships are quite complicated to manage, so it is better to keep this logic in the session bean layer and hide it from the client.
This way, you can change e.g. CascadeTypes of the relation without having to change client code.
But this are just my personal opinion, don't consider it a design pattern ;-).
Wolfgang
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220553#4220553
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220553
More information about the jboss-user
mailing list