Servlets

In Chapter 10, we examine these typically compact components. Servlets are most often used as a conduit for passing data back and forth between a Web client and an enterprise application running on a server. This is especially true when there are no specific presentation details required of the information being passed back.

Servlets come in two flavors: GenericServlet and HttpServlet. We discuss both servlet types to a necessary level of technology detail, and then talk about how to model them and gain the most from their UML representation, for ex ample, via modeling of servlet-to-servlet communication, relationships, session management, and so on.

This chapter is equally applicable to both J2EE 1.3 (Servlet specification 2.3) and ...

Get Developing Enterprise Java Applications with J2EE™ and UML 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.