I am using the example in the JBoss book to deploy the chap 7 example on JBoss 2-4-4. What I am seeing is every time I call a getConnection in the stateless session bean the ManagedConnection is creating a new connection and does not seem to be pooling the connections.
How do I get JBoss to pool these connections?
What exactly are you seeing? The ManagedConnections should be getting pooled, not the Connections. The Connections are just lightweight disposable handles: a new one is created every time a ManagedConnection is taken out of the pool for use by a client.