Struts 2 Database Connection Pooling

2008-08-20 Thread Roger
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

Re: Struts 2 Database Connection Pooling

2008-08-20 Thread Gabriel Belingueres
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