You could deploy a separate servlet that you configure to start before 
(load-on-startup) the axis-servlet which will pool your db-connections.

Or you could do it "on-demand" the first time the service was accessed (probably 
pissing off the first user, but hey the world's not perfect!

/Jesper

-----Original Message-----
From: Tolsch, Ed [mailto:[EMAIL PROTECTED]] 
Sent: den 30 maj 2002 16:58
To: '[EMAIL PROTECTED]'
Subject: question on migrating from Soap 2.2 to Axis
Importance: High


HI,
        I'm trying to migrate from a Soap 2.2. mindset to the Axis framework and I 
have a question.

In SOAP 2.2 I had control over the init() method in the rpcrouter servlet. I put a 
hook in there which setup some database connections and put them in cache. When my 
implementation class was invoked I leveraged those cached connections. Can someone 
instruct me on the proper way with Axis to perform this. Thanks in advance.


Ed Tolsch
817.474.9939
[EMAIL PROTECTED]

Reply via email to