Home > Store > Programming > Java

larger cover

Add To My Wish List

Core Servlets and JavaServer Pages: Volume 1: Core Technologies, 2nd Edition

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

  • Description
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

MARTY HALL is president of coreservlets.com, Inc., a small company that provides training courses and consulting services related to server-side Java technology. He also teaches Java and Web programming in the Johns Hopkins University part-time graduate program in Computer Science, where he directs the Distributed Computing and Web Technology concentration areas. Marty is the author of four books from Prentice Hall and Sun Microsystems Press: the first edition of Core Servlets and JavaServer Pages, More Servlets and JavaServer Pages, and the first and second editions of Core Web Programming.

LARRY BROWN is a Senior Network Engineer and Oracle DBA for the U.S. Navy (NSWCCD), where he specializes in developing and deploying network and Web solutions in an enterprise environment. He is also a Computer Science faculty member at the Johns Hopkins University, where he teachers server-side programming, distributed Web programming, and Java user interface development for the part-time graduate program. Larry is the co-author of the second edition of Core Web Programming, also from Prentice Hall and Sun Microsystems Press.

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.

Customer Reviews

10 of 10 people found the following review helpful
3.0 out of 5 stars A good introduction to Servlets and JSP, September 12, 2005
By 
Amazon Verified Purchase(What's this?)
This review is from: Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition) (Paperback)
Others have provided excellent reviews so I will just comment on a few items:

1) The book does a good job at covering the basics of using servlets and JSP for a web application.

2) Conversely, the book is stuck in the basics and instead of discussing more interesting topics it references the unpublished Volume 2. Very annoying.

3) This is a book for beginners. If you have any web programming experience this may be too simple and with a very slow pace. Many more concepts could have been included without compromising the book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful
5.0 out of 5 stars Excellent book but where is the the second volume?, February 25, 2005
This review is from: Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition) (Paperback)
This is a great book on learning Java Servlets and JSP development. Even though I have been a Java Servlet developer for years I still refer back to this book when I forget how to accomplish certian tasks. If you are new to Java Servlets then this book will get you up to speed pretty fast. Especially with the MVC design pattern and development with sessions, cookies, etc.

My only complaint is the advanced features of Volume II still are not available. The author states he will cover JavaServer Faces and Struts in a Volume II which never seems to make it to the publisher.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 7 people found the following review helpful
4.0 out of 5 stars Great Read, April 24, 2006
Amazon Verified Purchase(What's this?)
This review is from: Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition) (Paperback)
Not a book for beginning programmers, however if you have minimal java experience and are proficient in other languages you will be able to figure it out.

This book is an excellent read but has little reference value because it has no index. It is very informative if you are looking for something that explains the in's and out's and why's of .jsp and servlets, but if you are looking for lessons and sample code, you will have better luck looking for it online. But then again if you have experience, you can figure out the code yourself -not that difficult.

P.S. There is a wealth of hints and code at java.sun.com That site coupled with this book was enough to get me on my way.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 34 customer reviews...

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.

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Index

Download the Index file related to this title.

 
Buy

Book  $64.99  $51.99

Usually ships in 24 hours.

This book includes free shipping!

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.