Java Servlet Programming (Java Series) and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
Trade in Yours
For a 0.25 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Java Servlet Programming (Java Series) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java Servlet Programming [Paperback]

Jason Hunter , William Crawford
4.7 out of 5 stars  See all reviews (14 customer reviews)
Price: 38.50 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Tuesday, 22 April? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition 17.87  
Paperback 38.50  
Trade In this Item for up to 0.25
Trade in Java Servlet Programming for an gift card of up to 0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

13 April 2001 0596000405 978-0596000400 2

Servlets are an exciting and important technology that ties Java to the Web, allowing programmers to write Java programs that create dynamic web content.

Java Servlet Programming covers everything Java developers need to know to write effective servlets. It explains the servlet lifecycle, showing how to use servlets to maintain state information effortlessly. It also describes how to serve dynamic web content, including both HTML pages and multimedia data, and explores more advanced topics like integrated session tracking, efficient database connectivity using JDBC, applet-servlet communicaton, interservlet communication, and internationalization. Readers can use the book's numerous real-world examples as the basis for their own servlets.

The second edition has been completely updated to cover the new features of Version 2.2 of the Java Servlet API. It introduces chapters on servlet security and advanced communication, and also introduces several popular tools for easier integration of servlet technology with dynamic web pages. These tools include JavaServer Pages (JSP), Tea, XMLC, and the Element Construction Set.

In addition to complete coverage of 2.2 specification, Java Servlet programming, 2nd Edition, also contains coverage of the new 2.3 final draft specification.

Frequently Bought Together

Java Servlet Programming + JavaServer Pages + Java Servlet & JSP Cookbook
Price For All Three: 98.14

Buy the selected items together

Product details

  • Paperback: 782 pages
  • Publisher: O'Reilly Media; 2 edition (13 April 2001)
  • Language: English
  • ISBN-10: 0596000405
  • ISBN-13: 978-0596000400
  • Product Dimensions: 23.5 x 17.7 x 3.5 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Bestsellers Rank: 459,026 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Amazon Review

Aimed at Web developers with some previous Java experience, Java Servlet Programming, 2nd Edition, offers a solid introduction to the world of Java development with servlets and related technologies. Newly updated with over a half-dozen new chapters and thoroughly revised, this title brings an already useful text up to speed with some leading-edge material. It excels particularly in explaining how to program dynamic Web content using Java servlets, with a fine introduction to all the APIs, programming techniques and tips you will need to be successful with this standard.

Besides being a useful guide to APIs, the book looks at a variety of techniques for saving session state, as well as showing how servlets can work together to power Web sites. You will learn performance tips and ways to get servlets to work together (such as forwarding and redirection), plus the basics of database programming with JDBC to build content with "live" data. A later chapter examines what's next for servlets with the emerging Servlet 2.3 API standard. Importantly, the authors go over deploying and configuring Web applications by editing XML files, a must-have for successfully running servlets in real applications.

Since the first edition of this title, the choices for Java Web developers have grown much richer. Many of the new chapters in this edition look at options beyond servlets. Short sections on application frameworks such as Tea, WebMacro, the Element Construction Set (ECS), XMLC and JavaServer Pages (JSPs) let you explore what's out there for Java developers today with a survey of some current tools that can speed up creating new Web applications.

The text closes with reference sections on servlet APIs (and other material) that will be useful for any working developer. Although servlets are not the only game in town, they are still important tools for successful Web development. This updated edition shows you just how to do it with plenty of basic and advanced tips for taking full advantage of this powerful Java standard. --Richard Dragan

From the Publisher

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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.7 out of 5 stars
4.7 out of 5 stars
Most Helpful Customer Reviews
3 of 3 people found the following review helpful
5.0 out of 5 stars I like this book 21 May 2002
Format:Paperback|Verified Purchase
This book is excellent. I actually own both editions 1st (1998) and 2nd the 1st edition should really be left alone as it is now quite dated but the 2nd edition is perhaps one of the best books I have read on servlets. It has clear explanations and the author obviously knows the subject extremely well. There are a few typos but programmers will spot these and the eratta is pretty good on the oreilly site any way.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars taught me everything i wanted to know, 19 April 2000
By vailsy
Format:Paperback|Verified Purchase
for a beginner(i.e me), this book isn't at all intimidating. It's a good introduction to servlets and it has enough substance to last way beyond that stage. Quick response from the author on a query too. Very, very good.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Excelent- Can't Say Enough 14 Sep 1999
By A Customer
There are a lot of reasons to love this book. (1) It is really well organized. As the authors say, read the 1st 5 chapters, then just read whatever chapters you need. (2) It stands alone- it doesn't get bogged down in details, but if you know this book you will know servlets. (3) Excellent tutorials and sample code- the examples are very helpful. I learned more from the RMI code snippets than from other sources dedicated to RMI! (4) Very well written.
I would write more if I had time, but to sum it up- buy this book!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Great book 10 Mar 2003
A really useful practical introduction to writing Servlets including excellent sections on security and authentication, receiving and serving files over HTTP, and JDBC. It’s a little out of date now, but if you are looking to build a website with Java technologies, or if you want to learn a good alternative to the MS proprietary stuff, this is a really good place to start.
Comment | 
Was this review helpful to you?
3 of 4 people found the following review helpful
This book provides a very solid introduction to using servlets, (and to a lesser extent JSP), and if you know some basic Java already you will be up and writing code quickly. I think, however, it's may be worth holding on for a new edition as many of the examples are based on an older version of the Servlet API (2.0) and some of the techniques no longer work. The chapter on Interservlet Communication is particularly useless if you're using the new API as many of the methods used were seen as potential security loopholes and have now been deprecated.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Lots of examples. But outdated.. 6 May 2008
If I were to review this book on Chapters 1-9, 12,13 alone I would have given this book a rating of 5 stars.
Unfortuantely the book is rather dated (10 years old in May 2008), makes use of variable name "enum" a lot, which won't compile on more recent versions.
Chapters 1-20 take up 590 pages. Pages 591-720 are taken up by Appendices/Index. Appendices A-C are to some extent a waste of space. Servlet/HTTP Servlet API reference make up Appendices A/B. I prefer to use up to date Javadoc. Appendix C Diagrams C1/C2/C3 are useful. The rest is bloat.
Chapters 14-18 describe different "view" technologies that are with the exception of JSP obsolete, surpassed by newer technologies.
Chapter 17 on XMLC was a waste of time, you don't even get XMLC command to translate HTML pages to Java classes when you download their stuff!
Tea and ECS were interesting & I liked them. But some of Tea examples don't work. Commenting out "%>" causes problems on same line. Needs to be on next line..
Webmacro examples needed bringing up to date to work with lastest release. Now surpassed with Velocity/FreeMarker.
Chapter 18 on JSP forgets to package classes. Tomcat doesn't like unpackaged classes.. Also author forgets to use includes directive in source download/book.
Also casually mentions using init parameters. Be sure to use context-param. not servlet init-param! A comment in toolview.jsp code to the effect that "application.getInitParameter uses context-param NOT init-param" or a copy of web.xml in source download for chapter 19, would not have gone amiss here!
Also there was an example using Struts tags in Ch18, which I couldn't for life of me get to work & emailed author with no response on this issue..
Read more ›
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Magnificent, a triumph for the authors! 4 May 1999
By A Customer
I've purchased a lot of books on various aspects of computing but have never before felt compelled to write a review of one; this is a truly fantastic book which should be read by anyone who wants to write a technical book that won't bore the audience to tears. The authors present the information you need in a clear and enjoyable fashion with useful, practical examples. I won't go into the contents of the book.
I look forward to future titles from Messrs. Hunter and Crawford and will buy their next book without hesitation on the strength of this one.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category