I need to implement a database connection pool and was considering using the
JNDI facilities provided by the servlet container (in my case, Apache
Tomcat). Is there a Struts pattern for accessing JNDI resources in (a) a
container neutral manner and (b) without tying my action classes to the
AFAIK, there is no pattern.
You can configure a datasource through Spring, or you could get it
from JNDI once when your app starts (by writing a
ServletContextListener)
2008/8/20, Roger [EMAIL PROTECTED]:
I need to implement a database connection pool and was considering using the
JNDI
2 matches
Mail list logo