Chapter 3. The Servlet Container
Terms you'll need to understand:
Context
Web app deployment descriptor
Initialization parameters
Context and attribute listener
Distributable
Techniques you'll need to master:
Retrieve servlet context-initialization parameters.
Use a servlet context listener.
Use a servlet context attribute listener.
Use a session attribute listener.
Distinguish the behavior of listeners in a distributable.
Context Architecture
You can see how Tomcat employs an architecture that implements Sun's specifications carefully. It is hard to understand context, though, if you don't know the overall architecture.
Note
When you see the word application ...
Get Java™ 2 Enterprise Edition (J2EE™) Web Component Developer Exam Cram™ 2 (Exam 310-080) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.