I don't understand as yet, but I will look into the documentation how this
works.
thanks

-----Original Message-----
From: Wendy Smoak [mailto:Wendy.Smoak@;asu.edu]
Sent: Tuesday, November 12, 2002 3:51 PM
To: 'Tomcat Users List'
Subject: RE: Connection pooling & BasicDataSource parameters



Alan wrote:
> however, the pool of connections are not initiated with the database until
> the first JSP requiring a datasource is requested.

A ServletContextListener?  I have one that loads up some context-wide code
tables into Java objects and sticks them in application scope.

public class MyListener implements ServletContextListener
{
   public void contextInitialized( ServletContextEvent sce )
   { ... }
   public void contextDestroyed( ServletContextEvent sce )
   { ... }
}
 
-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to