Obtain reference of database connection pool within EJB stateless bean for OC4J
posted 6 years ago
from an EJB stateless session bean i need to connect to my Oracle database and run a PL/SQL procedure.
For this purpose I need to connect using a connection pool because if I use the data source, my database runs out of resources.
I can get a reference of my data source using the following piece of code: