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.

> I saw a post on axis2 and it seems to be different there (lifecycle !=
> session). 

Yes , session and life cycle are two different things , the idea of life
cycle interface is to provide a way to handle life cycle of the
AixsService and those life cycle method only call at the system start
time and when system goes down.
But , the idea of session is bit different . Sessions scope define the
life time of service impl class and the contexts.

> 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".

hmm, I am not sure abt Axis 1.4 :)

>
>  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.

>
>  Any ideas ?
>
>                   happy New Year to everyone !
>                             cheers Janusz
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to