This content has been marked as final. Show 1 reply
It is recommended that your JBOSS EJB's connect to a datasource at the beginning of whatever method you are going to use it with, and close that source at the end of the method. In other words, you shouldn't be caching database connections anywhere - correct?
Correct. You don't have to code it because we do it in a proper way for you in our JCA implementation.