Home > Store > Programming > Java

Developing Java Servlets, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Developing Java Servlets, 2nd Edition


  • Your Price: $35.99
  • List Price: $44.99
  • Available on demand.



  • NEW -


  • Copyright 2001
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 624
  • Edition: 2nd
  • Book
  • ISBN-10: 0-672-32107-6
  • ISBN-13: 978-0-672-32107-8

Developing Java Servlets, Second Edition, is a comprehensive, code-intensive book for professional Java developers. It explains the Java Servlet API architecture and client/server development concepts and contains detailed, professional programming techniques for building sophisticated e-commerce and database servlet applications. New topics covered in the updated edition are:

  • JavaMail
  • Servlets with XML, JSP, and EJB
  • Pluggable web applications
  • Wireless servlets with WML/WMLScripts



Source code from the book - 1501 kb -- source.zip

Sample Content

Table of Contents


1. Web Applications and the Model View Controller (MVC) Design Pattern.

The Model View Controller (MVC) Design Pattern. A Server-Side. Implementation of the MVC. Summary.


2. Servlet Overview and Architecture.

Movement to Server-Side Java. Definition of a Java Servlet. Practical. Applications for Java Servlets. Java Servlet Alternatives. Reasons to Use Java Servlets. The Java Servlet Architecture. Summary.

3. Servlet Basics.

The Life Cycle of a Servlet. A Basic Servlet. Dissecting the Basic Servlet. Summary.

4. Servlets and HTML.

Retrieving Form Data in a Servlet. Summary.

5. Servlet Sessions.

What Is Session Tracking? Using Hidden Form Fields. Working with Cookies. URL Rewriting. Session Tracking with the Servlet API. Summary.

6. HTTP Tunneling.

What Is HTTP Tunneling? Object Serialization. Creating an HTTP. Tunneling Client. Creating an HTTP Tunneling Servlet. A Practical HTTP Tunneling Example. Pros and Cons of Applet-to-Servlet Communication. Summary.

7. Servlets, JDBC, and Inter-Servlet Communications.

What is the JDBC? Two- and Three-Tier Database Access Models. JDBC Driver Types. JDBC Basics. A Basic JDBC Servlet. A JDBC Connection Pool. Inter-Servlet Communications. Summary.

8. Servlets and JavaMail.

JavaMail and Internet E-mail. Preparing to Use JavaMail. A JavaMail Example. Using JavaMail in a Servlet. Summary.

9. Servlet Security.

Introduction to Security. Roll Your Own. Basic Authentication. Digest Authentication. Secure Sockets Layer (SSL). Summary.

10. Servlets and XML.

XML and Java. Using XML in a Servlet. Summary.

11. Servlets and LDAP.

A Brief Discussion of Directories. LDAP. JNDI. Using JNDI to Access LDAP. Accessing LDAP from a Servlet. Summary.

12. Servlets and Enterprise JavaBeans.

What Are Enterprise JavaBeans? EJB Terminology. Installing Jrun. The Enterprise JavaBean. Session Beans. Entity Beans. Deploying Your EJB to Your Application Server. Servlets as EJB Clients. Summary.

13. A Servlet Controller.

What Is a Controller? A Servlet Controller. The Service Interface. A Sample Service. Summary.


14. JSP Overview and Architecture .

What are JavaServer Pages? The Components of a JavaServer Page. Summary.

15. JSP Implicit Objects.

What are Implicit Objects? The request Object. The response Object. The pageContext Object. The session Object. The application Object. The out Object. The config Object. The page Object. The exception Object. Summary.

16. JSP Standard Actions.

What Are Standard Actions? JavaBean Standard Actions. Other Standard Actions. Summary.

17. Using JavaBeans and JSP Scopes.

The Counter JavaBean. page Scope. request Scope. session Scope. application Scope. Summary.

18. Handling JSP Errors.

JSP Translation-Time Errors. JSP Request-Time Errors. Summary.

19. Custom JSP Tag Libraries.

JSP Customs Tags. Deploying Tag Libraries. Developing Custom JSP Tags. Handlers. Summary.


20. Catalog Case Study.

Catalog Requirements. Models. Views. Controllers. Using the Online Catalog. Summary.

21. An LDAP Web Client.

Directory Requirements. Models. Views. Controllers. Using the LDAP Application. Summary.

22. A Stock Trader.

Trader Requirements. Models. Views. Controllers. Using the Trader Application. Summary.

23. Wireless Application Development Using WAP.

WAP History: Past, Present, and Future. Why WAP? WAP Architecture. Emulators, Browsers, and Developer Tools. Suggested Resources. Summary.

24. WML/WMLScript Development.

The Wireless Markup Language (WML). A WML Example. WMLScript. Wireless Application Developing Using Servlets. Summary.


Appendix A. Web Applications and Configuring the Servlet Engine.

Web Applications. Web Archive (WAR) Files. Servlet Requirements. Apache Tomcat. Summary.

Appendix B. The javax.servlet Package.

The javax.servlet Interfaces. Classes. Exceptions.

Appendix C. The javax.servlet.http Package.

Interfaces. Classes.

Appendix D. The javax.servlet.jsp Package.

Interfaces. Classes. Exceptions.

Appendix E. The javax.servlet.jsp.tagext Package.

Interfaces. Classes.

Appendix F. WML (The Wireless Markup Language).

WML Elements.

Appendix G. WMLScript.

Lang Library. Float Library. String Library. URL Library. WML Browser Library. Dialogs Library.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership