Deepal Jayasinghe wrote:
Hi Janusz;
but,
The init() is called every time I invoke the method.
That will only happen if you deploy your service in request scope , if
you deploy your service in application scope then that will never happen.
Well, if I deploy my service as an application then init() is called
once and all the clients will share the implementation instance and the
latter is not what I want.
What I'm trying to achieve is to keep the request mode, so every client
gets his own instance of a service, but have a possibility to initialise
the service once, possibly at servlet loading time, or at a very first
call. The init() method does not deliver this.
Thre are lots of applications one would like to initialise the whole
system before actually performing any requests. Otherwise every call
to an operation has to perform often complex initialisation steps.
Totally agreed.
Appreciated ;-), but is there a way out ???
cheers, Janusz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]