O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

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

5.9 EVENT DRIVEN TRACKING

An application can be interacted through three objects—the Servlet Context, Request and Session objects. Any change in state of an object is manifested as an event which is handled through listeners. In general, a listener is something that will alert the program, on the occurrence of an event. Conceptually, it is similar to the click of a button or moving the mouse as interjected by a VB program. In this context, there are a few events that are applicable. In the case of a session, it can be tracked through certain events in its lifetime. These events can be trapped and the callback function executed. It helps the system do specific tasks like session or request logging or setting up database operations during initialization ...

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