O'Reilly logo

Apache Axis2 Web Services Second Edition by Afkham Azeez, Deepal Jayasinghe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Request session scope

Request session scope is the default session scope in Axis2. When we deploy a service without knowing anything about session management, our service will be deployed in the request session scope. The lifetime of this session is limited to the method invocation lifetime or the request processing time. When we deploy a service in the request scope, it simply means that we are not going to worry about the session management at all. So it is like having no session management.

Once we deploy a service in the request session scope, for each and every invocation, a new service implementation class will be created. Say we have to deploy a service called Foo in the request scope; then if a client invokes the service ten times, 10 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required