O'Reilly logo

Java™ 2 Enterprise Edition (J2EE™) Web Component Developer Exam Cram™ 2 (Exam 310-080) by Alain Trottier

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

Chapter 5. Session Management

Terms you'll need to understand:

  • Session

  • Session ID

  • Session timeout

  • Servlet attribute

  • Session events

  • Listeners

  • URL rewriting

Techniques you'll need to master:

  • Retrieve a session object across multiple requests to the same servlet or different servlets within the same Web app.

  • Store objects in a session object.

  • Retrieve objects from a session object.

  • Respond to the event when a particular object is added to a session.

  • Respond to the event when a session is created and destroyed.

  • Expunge a session object.

  • Know when a session object will be invalidated.

  • Understand URL rewriting.

Session Management Overview

This section of the exam focuses on how servlets create and manage sessions. The container stores state information locally on the ...

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