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

Session initializing and session invalidating

When talking about the session management, one thing that comes to mind is the lifetime of the session. Most of the Web applications, like e-commerce, banking, hotel reservation, and so on, have a predefine lifetime. If you are not active for that time, it will automatically terminate your session and prompt you to log in again. Hence, there is a particular time when a session gets started and another when the session finishes. So whoever writes a session aware service might need to know when a session starts and when it finishes. To facilitate this, Axis2 uses Java reflection and optional interfaces to inform the service implementation class. Actually, there are two ways that a service author is notified ...

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