This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi all, i have a theoretical questions. When i have three CMP objects within one transaction how many connections are allocated from the connection pool ? Is it only one connection object which is shared by the CMP's or are there three connections ? (BTW: I am talking of EJB 2.0) Thx in advance
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
posted
0
This is managed by the Container, so it is really implementation dependent. In other words it is not mandated by the EJB Specification. However, I would think that given the fact that they are all part of the same transaction then they would likely use the same connection.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.