[jboss-user] [EJB 3.0] - Re: Single EJB w/ many actions or Multiple EJBs one for each

ALRubinger do-not-reply at jboss.com
Sun Jun 10 09:42:09 EDT 2007


I think you might have to find the balance inbetween keeping aggregate functions together, and separating out enough such that you don't have a "god class".

I wouldn't worry too much about "many instances of one object" vs. "many small pools of different objects".  That's what the containter is there for; to abstract these resource-management issues for you.

Also, might want to look into the RestEasy Framework, http://resteasy.damnhandy.com/, which aims to simply the act of exposing your EJB3 Services as Web Services, and takes care of the Domain Object > XML Transforms.

Hope this helps.

S,
ALR

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052900



More information about the jboss-user mailing list