[jboss-user] [EJB 3.0] - Re: Performance question on EntityManager

markvl2 do-not-reply at jboss.com
Wed Dec 6 20:34:14 EST 2006


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



More information about the jboss-user mailing list