axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Branko Peteh" <>
Subject How to get one object per thread?
Date Wed, 08 Sep 2004 04:30:31 GMT

There are three choices for deployscope attribute of the axis-wsdl2java ant
task. Those are "Application", "Session" and "Request".

When "Application" is chosen, the SOAP implementation class is a singleton,
i.e. there is only one instance for all axis servlet threads.

"Session" and "Request" choices cause instantiating of the SOAP
implementation class on demand -- as they should.

Is there a way to get the SOAP implementation class instantiated once per
axis servlet thread? I hoped that "Session" might do this, but it doesn't.

Many thanks,

View raw message