The instance is created when first requested. How long its duration is depends on
deployment settings which can be: request, session (http session) or application (as
long as tomcat lives).
/Micael E.
-----Original Message-----
From: Walid Rjaibi/Zurich/IBM [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 4:41 PM
To: [EMAIL PROTECTED]
Subject: RPC-based SOAP service
Hi,
Suppose I create a standard Java class that has a method called "add()",
which I would like to expose as a SOAP service. I am assuming that it is
the SOAP engine that creates an instance of this class (please correct me
if I am wrong). My question is at what time this instance is created? Is it
at startup time or is it when the first RPC SOAP request is made to the
method "add()"? I am assuming that an instance is not created for each
request, is that correct?
Thank you very much!
Cheers,
Walid