Jason Hunter
William Crawford
Publisher: O'Reilly
Second Edition April 2001
ISBN: 0-596-00040-5, 780 pages
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 completely covering the 2.2 specification, we have included bonus material on the new 2.3 version of the specification.
Preface
Servlet API 2.2
Readers of the First Edition
Audience
About the Examples
Organization
Conventions Used in This Book
Request for Comments
Acknowledgments
Acknowledgments from the First Edition
1. Introduction
1.1 History of Web Applications
1.2 Support for Servlets
1.3 The Power of Servlets
2. HTTP Servlet Basics
2.1 HTTP Basics
2.2 The Servlet API
2.3 Page Generation
2.4 Web Applications
2.5 Moving On
3. The Servlet Lifecycle
3.1 The Servlet Alternative
3.2 Servlet Reloading
3.3 Init and Destroy
3.4 Single-Thread Model
3.5 Background Processing
3.6 Load on Startup
3.7 Client-Side Caching
3.8 Server-Side Caching
4. Retrieving Information
4.1 The Servlet
4.2 The Server
4.3 The Client
5. Sending HTML Information
5.1 The Structure of a Response
5.2 Sending a Normal Response
5.3 Using Persistent Connections
5.4 Response Buffering
5.5 Status Codes
5.6 HTTP Headers
5.7 When Things Go Wrong
5.8 Six Ways to Skin a Servlet Cat
6. Sending Multimedia Content
6.1 WAP and WML
6.2 Images
6.3 Compressed Content
6.4 Server Push
7. Session Tracking
7.1 User Authentication
7.2 Hidden Form Fields
7.3 URL Rewriting
7.4 Persistent Cookies
7.5 The Session Tracking API
8. Security
8.1 HTTP Authentication
8.2 Form-Based Authentication
8.3 Custom Authentication
8.4 Digital Certificates
8.5 Secure Sockets Layer (SSL)
9. Database Connectivity
9.1 Relational Databases
9.2 The JDBC API
9.3 Reusing Database Objects
9.4 Transactions
9.5 A Guestbook Servlet
9.6 Advanced JDBC Techniques
9.7 Beyond the Core
10. Applet-Servlet Communication
10.1 Communication Options
10.2 Daytime Server
10.3 Chat Server
11. Servlet Collaboration
11.1 Sharing Information
11.2 Sharing Control
12. Enterprise Servlets and J2EE
12.1 Distributing Load
12.2 Integrating with J2EE
13. Internationalization
13.1 Western European Languages
13.2 Conforming to Local Customs
13.3 Non-Western European Languages
13.4 Multiple Languages
13.5 Dynamic Language Negotiation
13.6 HTML Forms
14. The Tea Framework
14.1 The Tea Language
14.2 Getting Started
14.3 Request Information
14.4 Tea Administration
14.5 Tea Applications
14.6 A Tool Application
14.7 Final Words
15. WebMacro
15.1 The WebMacro Framework
15.2 Installing WebMacro
15.3 WebMacro Directives
15.4 WebMacro Templates
15.5 A Tool Application
15.6 Filters
16. Element Construction Set
16.1 Page Components as Objects
16.2 Displaying a Result Set
17. XMLC
17.1 A Simple XML Compile
17.2 The Manipulation Class
17.3 A Tool Application
18. JavaServer Pages
18.1 Using JavaServer Pages
18.2 Behind the Scenes
18.3 Expressions and Declarations
18.4 Directives
18.5 JSP and JavaBeans
18.6 Includes and Forwards
18.7 A Tool Application
18.8 Custom Tag Libraries
19. Odds and Ends
19.1 Parsing Parameters
19.2 Sending Email
19.3 Using Regular Expressions
19.4 Executing Programs
19.5 Using Native Methods
19.6 Acting as an RMI Client
19.7 Debugging
19.8 Performance Tuning
20. What's New in the Servlet 2.3 API
20.1 Changes in the Servlet API 2.3
20.2 Conclusion
A. Servlet API Quick Reference
GenericServlet
RequestDispatcher
Servlet
ServletConfig
ServletContext
ServletException
ServletInputStream
ServletOutputStream
ServletRequest
ServletResponse
SingleThreadModel
UnavailableException
B. HTTP Servlet API Quick Reference
Cookie
HttpServlet
HttpServletRequest
HttpServletResponse
HttpSession
HttpSessionBindingEvent
HttpSessionBindingListener
HttpSessionContext
HttpUtils
C. Deployment Descriptor DTD Reference
D. HTTP Status Codes
E. Character Entities
F. Charsets
Colophon
Download
Another Web Programming Books
Another Java Books
No comments:
Post a Comment