You do not want to do that. Let the app server manage the database connection pool for
you. Your EJB should get a connection from the app server when it needs to do database
processing, and then release the connection when it is done.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180610#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...