Dies Koper wrote:
It depends on what you specify for the deployScope option. If you choose
"application", the init method will be called only once.
Well,
I tried the lifecycle business as well (via skeletons which call imp
classes explicitly in their init() method, i.e both skeletons and imp
implement the interface)
but,
The init() is called every time I invoke the method. I saw a post on
axis2 and it seems to be different there (lifecycle != session). There
is no much use of init() called every time for session-less services (I
could put init() in a operation) and it just makes lifecycle=session (an
application is an endless session ;-) ).
Is it possible to initialise the whole service _ONCE_ and still get a
session-less services in Axis 1.4 ? The Web Services mit Axis, a German
book the ebaykunde was probably referring to does suggest that init() is
called only once "before a service can accept calls".
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.
Any ideas ?
happy New Year to everyone !
cheers Janusz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]