Servlets.com

Home

What's New?

com.oreilly.servlet

Servlet Polls

Mailing Lists

Servlet Engines

Servlet ISPs

Servlet Tools

Documentation

Online Articles

The Soapbox

"Java Servlet
Programming,
Second Edition"

"Java Enterprise
Best Practices"

Speaking & Slides

About Jason

XQuery Affiliate

Advertising Info

The Book
Chapter 11 Examples from Java Servlet Programming

  • 11-1: Checking out the currently loaded servlets
  • 11-2: Saving the state of the currently loaded servlets
  • 11-4: One servlet, ChatPage, reusing another servlet, ChatServlet

Examples from other chapters:


Example 11.1: Checking out the currently loaded servlets
This servlet displays information about the currently loaded servlets.
    • Try it (disabled, no longer supported on API 2.2)
    • Source

Example 11.2: Saving the state of the currently loaded servlets
This servlet loops through the currently loaded servlets and calls each servlet's saveState() method, if it exists. This servlet could be run periodically to guard against data loss in the event of a server crash.
    • Try it (disabled, no longer supported on API 2.2)
    • Source

Example 11.4: One servlet, ChatPage, reusing another servlet, ChatServlet
This servlet is an HTML-based chat servlet build around the abilities of last chapter's ChatServlet, demonstrating servlet reuse.
    • Try it (disabled, no longer supported on API 2.2)
    • Source

 


Home   com.oreilly.servlet   Polls   Lists   
Engines   ISPs   Tools   Docs   Articles   Soapbox   Book

Copyright © 1999-2005 Jason Hunter
Privacy Policy

webmaster@servlets.com
Last updated: March 1, 2009