users@glassfish.java.net

Re: Sharing a Connection between EJB's

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Oct 2007 08:15:45 PDT

Thanks for your detailed answer. My problem is that my pool of connection is very limited (for example: 10 connections). When EJB1.xxx() method calls EJB2.yyy() method, it means that I will use 2 out of my 10 connections and this is what I want to avoid. I want, in this situation, to use only one connection. I'm not sure that bean management transaction is the solution for me or is it?

Thanks,
Ron
[Message sent by forum member 'rong999' (rong999)]

http://forums.java.net/jive/thread.jspa?messageID=241528