Buying Options
Java Servlet Programming, Second Edition
Print $44.95
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?

Product Editions

  1. Java Servlet Programming, Second Edition - April 2001
  2. Java Servlet Programming - November 1998
Description
The second edition of this popular book has been completely updated to add the new features of the Java Servlet API Version 2.2, and new chapters on servlet security and advanced communication. In addition to complete coverage of the 2.2 specification, we have included bonus material on the new 2.3 version of the specification.
Full Description
Table of Contents
  1. Chapter 1 Introduction

    1. History of Web Applications

    2. Support for Servlets

    3. The Power of Servlets

  2. Chapter 2 HTTP Servlet Basics

    1. HTTP Basics

    2. The Servlet API

    3. Page Generation

    4. Web Applications

    5. Moving On

  3. Chapter 3 The Servlet Lifecycle

    1. The Servlet Alternative

    2. Servlet Reloading

    3. Init and Destroy

    4. Single-Thread Model

    5. Background Processing

    6. Load on Startup

    7. Client-Side Caching

    8. Server-Side Caching

  4. Chapter 4 Retrieving Information

    1. The Servlet

    2. The Server

    3. The Client

  5. Chapter 5 Sending HTML Information

    1. The Structure of a Response

    2. Sending a Normal Response

    3. Using Persistent Connections

    4. Response Buffering

    5. Status Codes

    6. HTTP Headers

    7. When Things Go Wrong

    8. Six Ways to Skin a Servlet Cat

  6. Chapter 6 Sending Multimedia Content

    1. WAP and WML

    2. Images

    3. Compressed Content

    4. Server Push

  7. Chapter 7 Session Tracking

    1. User Authentication

    2. Hidden Form Fields

    3. URL Rewriting

    4. Persistent Cookies

    5. The Session Tracking API

  8. Chapter 8 Security

    1. HTTP Authentication

    2. Form-Based Authentication

    3. Custom Authentication

    4. Digital Certificates

    5. Secure Sockets Layer (SSL)

  9. Chapter 9 Database Connectivity

    1. Relational Databases

    2. The JDBC API

    3. Reusing Database Objects

    4. Transactions

    5. A Guestbook Servlet

    6. Advanced JDBC Techniques

    7. Beyond the Core

  10. Chapter 10 Applet-Servlet Communication

    1. Communication Options

    2. Daytime Server

    3. Chat Server

  11. Chapter 11 Servlet Collaboration

    1. Sharing Information

    2. Sharing Control

  12. Chapter 12 Enterprise Servletsand J2EE

    1. Distributing Load

    2. Integrating with J2EE

  13. Chapter 13 Internationalization

    1. Western European Languages

    2. Conforming to Local Customs

    3. Non-Western European Languages

    4. Multiple Languages

    5. Dynamic Language Negotiation

    6. HTML Forms

  14. Chapter 14 The Tea Framework

    1. The Tea Language

    2. Getting Started

    3. Request Information

    4. Tea Administration

    5. Tea Applications

    6. A Tool Application

    7. Final Words

  15. Chapter 15 WebMacro

    1. The WebMacro Framework

    2. Installing WebMacro

    3. WebMacro Directives

    4. WebMacro Templates

    5. A Tool Application

    6. Filters

  16. Chapter 16 Element Construction Set

    1. Page Components as Objects

    2. Displaying a Result Set

  17. Chapter 17 XMLC

    1. A Simple XML Compile

    2. The Manipulation Class

    3. A Tool Application

  18. Chapter 18 JavaServer Pages

    1. Using JavaServer Pages

    2. Behind the Scenes

    3. Expressions and Declarations

    4. Directives

    5. JSP and JavaBeans

    6. Includes and Forwards

    7. A Tool Application

    8. Custom Tag Libraries

  19. Chapter 19 Odds and Ends

    1. Parsing Parameters

    2. Sending Email

    3. Using Regular Expressions

    4. Executing Programs

    5. Using Native Methods

    6. Acting as an RMI Client

    7. Debugging

    8. Performance Tuning

  20. Chapter 20 What's New in the Servlet 2.3 API

    1. Changes in the Servlet API 2.3

    2. Conclusion

  1. Appendix A Servlet API Quick Reference

  2. Appendix B HTTP Servlet API Quick Reference

  3. Appendix C Deployment Descriptor DTD Reference

  4. Appendix D HTTP Status Codes

  5. Appendix E Character Entities

  6. Appendix F Charsets

  7. Colophon

View Full Table of Contents
Product Details
Title:
Java Servlet Programming, Second Edition
By:
Jason Hunter, William Crawford
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
April 2001
Pages:
784
Print ISBN:
978-0-596-00040-0
| ISBN 10:
0-596-00040-5
Customer Reviews
About the Authors
  1. Jason Hunter

    Jason Hunter is Senior Technologist with CollabNet, a company that provides tools and services for open source style collaboration. In addition to authoring Java Servlet Programming, he is publisher of Servlets.com, creator of the com.oreilly.servlet library, a contributor to the Apache Jakarta project that creates Tomcat (starting on the project when it was still Sun internal), a member of the expert groups responsible for Servlet/JSP and JAXP API development, and he holds a seat on the JCP Executive Committee overseeing the Java platform, as a representative of the Apache Software Foundation. He also writes columns for JavaWorld, and speaks at many programming and open source conferences. Most recently he co-created the open source JDOM library to enable optimized Java and XML integration, and he leads the expert group responsible for JDOM development. Jason graduated summa cum laude from Willamette University (Salem, Oregon) in 1995 with a degree in computer science. He began programming in Java in the summer of 1995 and has been involved with servlets and related server-side technologies since December 1996. If by some miracle you don't find him at work, he's probably out hiking in the mountains.

    View Jason Hunter's full profile page.

  2. William Crawford

    William Crawford has been developing web-based enterprise applications since 1995, including one of the first web-based electronic medical record systems (at Children's Hospital in Boston) and some of the first enterprise-level uses of Java. He has consulted for a variety of institutional clients, including Boston Children's Hospital, Harvard Medical Center, numerous startups and several Fortune 500 companies. Prior to an acquisition he was CTO of Invantage, Incorporated in Cambridge, MA. He received a degree in history and economics from Yale University. He is the co-author of Java Servlet Programming, 2nd Edition, Java Enterprise in a Nutshell, 2nd Edition, and two forthcoming O'Reilly titles. Will is currently Principal Software Architect at Perceptive Informatics, Inc.Massachusetts, provider of software and services to the pharmaceutical industry. He can be reached at http://www.williamcrawford.info

    View William Crawford's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The image on the cover of Java Servlet Programming, Second Edition, is a common European bear. There are eight species of bear: giant panda, spectacled, sun, sloth, Asiatic black, American black, brown, and polar. Nearly all bears, except a few populations of spectacled and sun bears, live in the northern hemisphere. All bear species have a similar anatomy, but they vary greatly in size, from the sun bear-the smallest, weighing 150 pounds or less-to the polar bear, which can grow to up to 1,800 pounds. The habitats in which they live vary as well, as does their diet. Bears are carnivores, but all species except the polar bear have an omnivorous diet. Biologically speaking, it is thought that bears may be related more closely to walruses and sea lions than to other carnivores. Their life span is not well known, but it is thought to be about 25 to 40 years; bears in captivity tend to live longer than those in the wild. Colleen Gorman was the production editor, and Norma Emory was the copyeditor for Java Servlet Programming, Second Edition. Catherine Morris and Leanne Soylemez provided quality control. Frameworks Consulting provided production support. Ellen Troutman-Zaig wrote the index.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout based on a series design by Nancy Priest. Judy Hoer converted the Microsoft Word files to FrameMaker 5.5.6, using tools created by Mike Sierra. The heading font is Bodoni BT, the text font is New Baskerville, and the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano using Macromedia FreeHand 8 and Adobe Photoshop 5. This colophon was written by Leanne Soylemez.

  • Book cover of Java Servlet Programming