Core Servlets and JavaServer Pages: Volume I: Core Technologies / Edition 2

Core Servlets and JavaServer Pages: Volume I: Core Technologies / Edition 2

by Marty Hall, Larry Brown
     
 

View All Available Formats & Editions

ISBN-10: 0130092290

ISBN-13: 9780130092298

Pub. Date: 08/30/2003

Publisher: Prentice Hall

The J2EE(TM) Platform has become the technology of choice for developing professional e-commerce applications, interactive Web sites, and Web-enabled applications and services. Servlet and JSP(TM) technology is the foundation of this platform: it provides the link between Web clients and server-side applications. In this 2nd edition of the worldwide bestseller,

Overview

The J2EE(TM) Platform has become the technology of choice for developing professional e-commerce applications, interactive Web sites, and Web-enabled applications and services. Servlet and JSP(TM) technology is the foundation of this platform: it provides the link between Web clients and server-side applications. In this 2nd edition of the worldwide bestseller, the authors show you how to apply the latest servlet and JSP capabilities. Unlike other books that treat servlet or JSP technology in isolation, Core Servlets and JavaServer Pages provides a unified treatment, showing you when servlet technology is best, when the JSP approach is preferred, and when (and how) servlets and JSP should work together.

Part I provides exhaustive coverage of the servlet 2.4 specification. It starts with server configuration, basic syntax, the servlet life cycle, and use of form data. It moves on to applying HTTP 1.1, cookies, and session tracking. Advanced topics include compressing Web content, incrementally updating results, dynamically generating images, and creating shopping carts.

Part II gives an in-depth guide to JSP 2.0. It covers both the "classic" JSP scripting elements and the new JSP 2.0 expression language. It shows how to control the content type, designate error pages, include files, and integrate JavaBeans components. Advanced topics include sharing beans, generating Excel spreadsheets, and dealing with concurrency.

Part III covers two key supporting technologies: HTML forms and database access with JDBC(TM). It explains every standard HTML input element and shows how to use appropriate JDBC drivers, perform database queries, process results, and perform updates. Advanced topics include parameterized queries, stored procedures, and transaction control.

Design strategies include ways to integrate servlet and JSP technology, best practices for invoking Java code from JSP pages, plans for dealing with missing and malformed data, and application of the MVC architecture.

Handy guides walk you through use of three popular servlet and JSP engines (Apache Tomcat, Macromedia JRun, and Caucho Resin) and some of the most widely used database systems (MySQL, Oracle9i, Microsoft Access).

Volume 2 of this book covers advanced topics: filters, custom tag libraries, database connection pooling, Web application security, the JSP Standard Tag Library (JSTL), Apache Struts, JavaServer Faces (JSF), JAXB, and more.

  • The same clear step-by-step explanations that made the first edition so popular
  • Completely updated for the latest standards: servlets 2.4 and JSP 2.0
  • Hundreds of completely portable, fully documented,industrial-strength examples

Detailed treatment of Apache Tomcat, Macromedia JRun, and Caucho Resin Online access to all source code, available free for unrestricted use at the author's www.coreservlets.com web site.

Product Details

ISBN-13:
9780130092298
Publisher:
Prentice Hall
Publication date:
08/30/2003
Series:
Sun Core Series
Edition description:
REV
Pages:
691
Product dimensions:
7.00(w) x 9.10(h) x 1.40(d)

Table of Contents

I. Servlet Technology

1. An Overview of Servlet and JSP Technology.

2. Server Setup and Configuration.

3. Servlet Basics.

4. Handling the Client Request: Form Data.

5. Handling the Client Request: HTTP Request Headers.

6. Generating the Server Response: HTTP Status Codes.

7. Generating the Server Response: HTTP Response Headers.

8. Handling Cookies.

9. Session Tracking.

II. JSP Technology.

10. Overview of JSP Technology.

11. Invoking Java Technology Code with JSP Scripting Elements.

12. Controlling the Structure of Generated Servlets: The JSP Page Directive.

13. Including Files and Applets in JSP Pages.

14. Using JavaBeans Components in JSP Documents.

15. Integrating Servlets and JSP: the Model View Controller (MVC) Architecture.

16. Simplifying Access to Java Code: The JSP 2.0 Expression Language.

III. Supporting Technology.

17. Accessing Databases with JDBC.

18. Configuring Microsoft Access, MySql, and Oracle9i.

19. Creating and Processing HTML Forms.

Appendix. Server Organization and Structure.

Index.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >