[jboss-user] [J2EE Design Patterns] - Sharing a Connection between EJB's
rong999
do-not-reply at jboss.com
Mon Oct 22 15:04:35 EDT 2007
For example: I have 2 stateless EJBs: EJB1 and EJB2 and EJB1.xxx() calls EJB2.yyy(). How can I share the same connection between these 2 EJB's without using Transactions and without using Entities?
The problem is that the application has limited number of connection objects in the connection pool and we have many calls from EJB to EJB. Each call uses a diffrent connection object...
There is no issue regarding transactions, only the limited size of the connection pool.
Thanks,
Ron
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097597#4097597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097597
More information about the jboss-user
mailing list