Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-10


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.