␡
- Objectives
- Introduction
- Overriding HttpServlet GET, POST, and PUT Methods
- Triggering HttpServlet GET, POST, and PUT Methods
- Interfacing with HTML Requests
- Web Application Scope
- Servlet Life-cycle
- Using a RequestDispatcher
- Web Application Context
- Context Within a Distributable Web Application
- Chapter Summary
- Apply Your Knowledge
This chapter is from the book
Context Within a Distributable Web Application
3.3 Distinguish the behavior of the following in a distributable:
- Servlet context init. parameters.
- Servlet context listener.
- Servlet context attribute listener.
- Session attribute listeners.
The behavior of these listeners in a distributable is exactly the same as those discussed in the previous section, with one notable exception: Event notification of addition, removal, or replacement will affect the listener for only that context. No other context, such as other JVMs on the same or other machine, will know about the listener events.