In this scenario there is no advantage in using multiple entity managers, so 
you should let the container handle it.

If anything, in this scenario the use of multiple entity managers may slow down 
your app as it may mean updates / deletes are flushed more frequently than they 
need to be.

I suggest you code it the simplest way, ie container managed, then if 
performance is unacceptable look for bottlenecks to be optimised.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991829
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to