Advanced Servlet Programming

We've covered the basic topics of servlet development. The Servlet API covered in earlier sections addresses most of the widely used API, and we also covered how to implement a simple HTTP servlet. We'll now start to discuss some advanced servlet topics with the protocol-independent GenericServlet and then move on topics such as servlet sessions, filters, and event listeners.

Generic Servlets

The javax.servlet package defines a generic base class, GenericServlet, for implementing all servlets irrespective of the underlying transport protocol. Although this servlet form isn't widely used, we'll cover it to complete our discussion of servlet capabilities. GenericServlet can be used to implement any servlet that needs ...

Get BEA WebLogic Server™ 8.1 Unleashed 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.