The Java 2 Platform
has become the technology of choice for developing processional e-commerce applications, dynamic Web pages, and Web-enabled applications and services. Servlet and JSP technology is the foundation of this platform: it provides the link between Web clients and server-side applications. But the field has been evolving rapidly, and few developers have been able to keep up. In this companion to the worldwide bestseller Core Servlets and JavaServer Pages
, the author shows readers how to apply recent advances in servlet and JSP technology. The book provides everything readers need to know to leverage servlet 2.3 and JSP 1.2 standards: real-world insight, advanced techniques, industrial-strength code, and hands on coverage of three top servers: Apache Tomcat
, Macromedia JRun
, and New Atlanta ServletExec
gives a thorough introduction to programming with servlet and JSP technology. It shows readers how to configure their server, read form data and HTTP headers, handle cookies, track sessions, apply JSP scripting elements, use JavaBeans components, develop JSP tag libraries, and apply the MVC architecture.
provides exhaustive details on Web application development and deployment. It explains how to register Web applications, how to organize them, how to deploy them in WAR files, how to deal with relative URLs, and how to share data among Web applications. It also gives details on every element in version 2.3 of the deployment descriptor (web.xml).
describes Web application security in detail. It explains two general strategies for securing readers' applications: declarative security and programmatic security. Within each of these strategies, it shows readers how to use form-based or BASIC authentication and how to protect their network traffic with SSL.
covers two features introduced with servlets 2.3: filters and life-cycle events. It explains how to use filters to debug, modify, and optimize the output of previously existing servlets and JSP pages. It also shows readers how to use event listeners to respond to major events in the server life cycle.
looks at new tag library developments. It shows readers how to improve their own tag libraries by making use of new capabilities of the JSP 1.2 specification and explains how to streamline their code by using the new standard JSP tag library (JSTL).
:) "The book is definitely worth 5 starts. The first star is for Marty Hall's clear and direct writing style. The second star is for being one of the few books that is currently up to date with the newest servlet & JSP specifications. The third star is for having very practical and useful content such as solid coverage of web application deployment. The fourth star is for being the first book that I've read that has detailed coverage of how to use SSL with servlets. The fifth star is for having source code, sample chapters, and a slew of prequel chapters freely available online."