users@glassfish.java.net

Re: Connection sharing in JCA glassfish

From: <forums_at_java.net>
Date: Mon, 24 Sep 2012 02:38:54 -0500 (CDT)

Connection sharing only happens in a transaction scope, either local or XA.
Below is the detailed conditions of connection sharing. When multiple
shareable connections x and y acquired by an application are used within a
global transaction scope (for instance, container-managed or bean-managed),
the application server must provide a single shared connection behavior under
the following conditions: ■ x and y are collocated in a single Java Virtual
Machine process address space. ■ x and y are using a single transactional
resource manager. ■ x and y have identical properties. ■ x and y are
marked as shareable. ■ x and y are used within a container-managed or
bean-managed transaction scope.

--
[Message sent by forum member 'dapeng_hu']
View Post: http://forums.java.net/node/890492