core
SERVLETS ?and? JAVASERVER ?PAGESTM
by Marty Hall
A Sun Microsystems Press/Prentice Hall PTR Book
ISBN 0-13-089340-4

Short Summary
Order CSAJSP
Order now

This page provides a very brief summary of the topics covered. For more details, see the complete table of contents (PDF), the index, the source code archive (PDF), the API (Javadoc), and reader reviews (amazon.com).

Overview

Servlets and JavaServer Pages provide a powerful, efficient, portable, and secure alternativeto CGI programming for developing professional e-commerce sites and other Web-enabled applications. Core Servlets and JavaServer Pages gives you all you need to know to leverage the latest J2EE servlet and JSP standards: real-world insight, advanced techniques, industrial-strength code, and hands-on coverage of three top servlet and JSP engines, including Apache Tomcat.

Part I: Servlets 2.1 and 2.2

Part I gives exhaustive coverage of the latest servlet specification. Starts with basic syntax, the servlet life cycle, and use of form data. Moves on to leveraging HTTP 1.1(including coverage of every HTTP 1.1 request header, response header and status code), use of cookies, and session tracking. Advanced topics include compressing Web content, using persistent (keep-alive) HTTP connections, dynamically generating GIF images, and building reusable shopping cart classes for e-commerce applications.

Part II: JSP 1.0 and 1.1

Part II provides an in-depth guide to JSP 1.0 and 1.1, including advice on when to use servlets, when to use JSP, and when to combine them both. Covers every standard JSP element, including approaches for integrating JavaBeans with JSP. Advanced techniques include sharing beans, generating Excel spreadsheets, and defining custom JSP tag libraries.

Part III: Supporting Technologies

Part III details three key supporting technologies: HTML forms, JDBC and database connection pooling, and the use of applets to communicate with servlets.

Appendix: Servlet and JSP Quick Reference

The book's appendix provides a handy syntax and usage summary.

About the Author

Marty @ Javamobile Marty Hall is a Senior Computer Scientist at the Johns Hopkins University Applied Physics Lab, where he specializes in applying Java and Web technology to the needs of commercial and government customers. He also teaches Java technology and Web programming for the Johns Hopkins part-time graduate program in Computer Science and for various industry short courses. He is the author of the best-selling book Core Web Programming.