You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Piero Campanelli <pi...@pierocampanelli.info> on 2003/09/23 12:59:54 UTC

Statefull service with axis

At this moment does Axis support stateless or statefull service?

Stateless = it exists only one instance of the service used by all clients 

Statefull = for every client access there is a new instance of the service


Thank you


Re: Statefull service with axis

Posted by Srinath Perera <he...@opensource.lk>.
Hi Piero

There is a scope parameter given in the WSDD if tou need ........
there are three scopes
Application - only one instance is used all the time
Session - new instance for each session
request - new instance for each request

Hope this helps

Srinath
----- Original Message -----
From: "Piero Campanelli" <pi...@pierocampanelli.info>
To: <ax...@ws.apache.org>
Sent: Tuesday, September 23, 2003 4:59 PM
Subject: Statefull service with axis


> At this moment does Axis support stateless or statefull service?
>
> Stateless = it exists only one instance of the service used by all clients
>
> Statefull = for every client access there is a new instance of the service
>
>
> Thank you
>
>