How do I set this option if I am not using WSDL2Java ?

Srikant

Jean Marc Taillant wrote:

> Hi,
> Try to use scope="Application" instead of scope="session".
> To set this option use -d in WSDL2Java
>
> Hope this help us
>
> Jean Marc
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 14, 2002 3:31 PM
> Subject: service instances
>
> > Hello,
> >
> > I've just created and deployed a simple web service using Axis.
> >
> > Each time I call the web service, a new instance of the class
> > implementing my web service is created.
> >
> > Is there any way of controlling this behaviour ? I mean, is it possible
> > to have one instance per request (current behaviour), or one instance per
> > server, a pool of instances ...
> >
> > My web service needs to access a database. So, I would like to maintain
> > a persistent connection to the database. I could use a singleton or
> > a static member but it would take some time when processing the first
> > request. Is is possible to tell Axis to pre-load some classes when it
> > starts up to avoid latency with the first request ?
> >
> > Thank you for your help,
> >
> > Tom.
> >
> >

Reply via email to