Java Servlet Programming
By Jason Hunter
With William Crawford
First Edition
November 1998
Pages: 526
ISBN 10: 1-56592-391-X |
ISBN 13: 9781565923911




(Average of 6 Customer Reviews)
This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.
The latest edition is also available on Safari Books Online.
Book description
Java servlets offer a fast, powerful, portable replacement for CGI scripts. Java Servlet Programming covers everything you need to know to write effective servlets. Topics include: serving dynamic Web content, maintaining state information, session tracking, database connectivity using JDBC, and applet-servlet communication.
Full Description
A few years ago, the hype surrounding applets put Java on the map as a programming language for the Web. Today, Java servlets stand poised to take Java to the next level as a Web development language. The main reason is that servlets offer a fast, powerful, portable replacement for CGI scripts.
The Java Servlet API, introduced as the first standard extension to Java, provides a generic mechanism to extend the functionality of any kind of server. Servlets are most commonly used, however, to extend Web servers, performing tasks traditionally handled by CGI programs. Web servers that can support servlets include: Apache, Netscape's FastTrack and Enterprise Servers, Microsoft's IIS, O'Reilly's WebSite, and JavaSoft's Java Web Server.
The beauty of servlets is that they execute within the Web server's process space and they persist between invocations. This gives servlets tremendous performance benefits over CGI programs. Yet because they're written in Java, servlets are far less likely to crash a Web server than a C-based NSAPI or ISAPI extension. Servlets have full access to the various Java APIs and to third-party component classes, making them ideal for use in communicating with applets, databases, and RMI servers. Plus, servlets are portable between operating systems and between servers -- with servlets you can "write once, serve everywhere."
Java Servlet Programming covers everything you need to know to write effective servlets and includes numerous examples that you can use as the basis for your own servlets. The book explains the servlet life cycle, showing how you can use servlets to maintain state information effortlessly. It also describes how to serve dynamic Web content, including both HTML pages and multimedia data. Finally, it explores more advanced topics like integrated session tracking, efficient database connectivity using JDBC, applet-servlet communication, inter-servlet communication, and internationalization.
Browse within this book
Cover
| Table of Contents
| Colophon
Featured customer reviews

Java Servlet Programming Review,
December 29 2000
Submitted by Tom Lee
[
Respond |
View]
A great book. It covers almost every aspects you need to know.
Tom Lee
Java Servlet Programming Review,
December 29 2000
Submitted by Fadl Musa
[
Respond |
View]
Jason Hunter has set a standard that is very difficult to match by other servlet programmers. He is so knowledgeable that whenever you read any other servlet programming book, you find most of them copying his work in an intellegent manner without referring to it. As a consultant, I've recommended this book to hundred of active programmers.
Jason... this is great work. I hope you would think about embarking on a similar book on JSPs.
fadl musa
consultant
Titan Technology solutions
Java Servlet Programming Review,
December 04 2000
Submitted by Prasanta Bhattacharya
[
Respond |
View]
Simply The Best!
If you go thru' the book and visit the web site for updates a few times, you will realize the effort the authors have put into it.
I would recommend this book to any java server side technologist.
A small suggestion : comparison with CGI programmes with Servlets at many places may have been avoided.
Thanks.
Read all reviews
Java Servlet Programming Review,
November 13 2000
Submitted by tony gair
[
Respond |
View]
The book contains clear how to do stuff examples. These examples are very useful if you want to do applet servlet communication and can be tried without to much effort.
If you do this sort of stuff or more importantly want to do this sort of stuff then BUY IT. My copy however is suffering a lot of wear and tear, either due to usage or poor quality paper (don't know which). The bad thing I can possibly say about it......
Java Servlet Programming Review,
October 19 2000
Submitted by Balaji
[
Respond |
View]
This book is really cool. Anyone who is just preparing for a career in Servlets should go thru' this book.
Keep it up...
Java Servlet Programming Review,
October 17 2000
Submitted by Ranjit Singh Sandhu
[
Respond |
View]
I have liked this book and seriously, enjoy it! The presentation was very good. i appreciate the effort taken by the authors for writing such a good book.
I would like to add that more codes and examples should have been given.
A very good effort indeed!
Most programmers in India (here in New Delhi) follow this book.. and so i had got one....
Java Servlet Programming Review,
April 11 2000
Submitted by Kevin M Lanaghan
[
Respond |
View]
5 out of the 6 programmers in out group went out and bought this book.
Java Servlet Programming Review,
January 26 2000
Submitted by Charles Fulnecky
[
Respond |
View]
Extremely useful if your if your using Servlets with Oracle Application Server and Oracle8i.
Oracle documentation is pretty slim when it comes to using transactions with JDBC. The Hunter/Crawford book saved me days of trial and error. Chapter 9 by itself was worth its weight in gold ;}(whats gold going for now?)
Java Servlet Programming Review,
January 06 2000
Submitted by Zafar Gondal
[
Respond |
View]
Simply a wonderful book.The most appreciative part is the one regarding the applet-servlet communication.The author needs to be congrajulated on the conciseness and precisness of the exmaples.
Java Servlet Programming Review,
December 27 1999
Submitted by Steve
[
Respond |
View]
This book makes first time programming of servlets very easy. Well worth the low cost of the book.
Java Servlet Programming Review,
November 07 1999
Submitted by Norman Basham
[
Respond |
View]
GREAT BOOK!!! Thank you Jason and William. If you make at more than 25 cents an hour, this book will pay for itself.
Java Servlet Programming Review,
November 04 1999
Submitted by Timmy
[
Respond |
View]
This book is quite kool! Very useful for developing intranet-applications!
Java Servlet Programming Review,
October 25 1999
Submitted by Naresh Kumar
[
Respond |
View]
Hi, I found this book very useful and informative. The book has given some critical and useful aspects of servlets,communication between applets and servlets and also plenty of examples so that one can grasp them easily.
Java Servlet Programming Review,
September 26 1999
Submitted by suneel
[
Respond |
View]
I fell that this book will really helpful to all java servlet programmers
Java Servlet Programming Review,
September 17 1999
Submitted by Pascal Blatter
[
Respond |
View]
Great Book !!
A easy way to unserstand the world of servlets even for a german-speaking programmer. Congratulation. :-)
Java Servlet Programming Review,
September 16 1999
Submitted by Sandeep Wadhwa
[
Respond |
View]
Worth evry penny. Its the best book on Servlets. There is no other book on servlets as good as this one at the time of writing this. The authors have done a good job.
Java Servlet Programming Review,
September 13 1999
Submitted by Y. I. Patel
[
Respond |
View]
Great Book.But more justice could have been done
to the section on JSPs.I will be eagerly awaiting the authors book on JSPs if he decides to write one.Nice book on the whole.Haven't come across
any other on bookshelves which covers servlets
in such a easy manner.My recommedation is go for it with your eyes closed.
Java Servlet Programming Review,
August 06 1999
Submitted by OP Verma
[
Respond |
View]
A Very Good Book. Concise but very clear way of presentation. Makes you forget about CGIs and do all coding using Servlets.
Java Servlet Programming Review,
June 22 1999
Submitted by M Conneen
[
Respond |
View]
Good book.
Good code examples.
Had the opportunity to meet Jason at JavaOne, and I can see his writing style parallels his personality. I have read the book as parts (that is reference) and am once again going back for a cover to cover review.
Would have liked a little more in-depth coverage of threads and some behind the scenes web interactions, but he has provided reference to where more detail can be found.
Not sure if I will go for the impending JSP book, how about a Servlet/XML book by Jason ?
Java Servlet Programming Review,
May 13 1999
Submitted by liuxuejun
[
Respond |
View]
It's very great
Java Servlet Programming Review,
April 08 1999
Submitted by shobha siddalingaiah
[
Respond |
View]
Great book.Still to study.Really good examples
Java Servlet Programming Review,
February 21 1999
Submitted by Yvan Frey, Los Angeles
[
Respond |
View]
Great book. Covered everything I wanted to use servlets for and more. Great examples.
Java Servlet Programming Review,
February 16 1999
Submitted by Vimal K. Kansal, San Jose, California
[
Respond |
View]
This is by far the best book that I have come across. Highly recommended.
Java Servlet Programming Review,
February 07 1999
Submitted by D. Hecksel, Dallas Texas
[
Respond |
View]
Having read both the Moss book and the Hunter/Crawford book, the Hunter/Crawford book takes Servlet programming to the next level.
I especially found the hints/tips on what works well with the Java Servlet API, and what doesn't very useful. The Servlet environment, Session Tracking, and Interservlet communication chapters have material you won't find elsewhere, and you'll keep going back to them for reference.
If you are thinking about writing Servlets for a living, I'd recommend both books (Moss and Hunter/Crawford). If you can only get one, this is the one to get first.
Java Servlet Programming Review,
November 15 1998
Submitted by Jason Png
[
Respond |
View]
This book is definitely worth the buy. If you are confused at which how servlets technology ties up with JDBC, applets or http etc, this book will clarify it all.
One thing to note is that this is an entire book on this subject. At first I thought it would be better if I just try to understand how do servlets programming myself, but I was wrong. This book will save you a tremendous amount of time esp if you are tight and schedule like to to cover everything as fast as possible.
With that, you will then be able to get on with your java projects fast. Remember there isn't much books that devote servlets as their entire subject:))
Thanks O'Reilly for publishing a fine book once again!
Jason C.C.Png
Senior Programmer Analyst