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

Buy Used
Used - Good See details
$3.47 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Have one to sell? Sell yours here
Java Servlet Programming
 
 
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 (Author)
4.0 out of 5 stars  See all reviews (156 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $36.19  
Paperback, December 15, 1998 --  
There is a newer edition of this item:
Java Servlet Programming (Java Series) Java Servlet Programming (Java Series) 4.0 out of 5 stars (156)
$36.19
In Stock.

Book Description

156592391X 978-1565923911 December 15, 1998 1st

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.



Editorial Reviews

Amazon.com Review

This book is a superb introduction to Java servlets and their various communications mechanisms. It includes deep and comprehensive coverage of the Java Servlet API, and also of HTTP, non-HTTP socket communications, Remote Method Invocation (RMI), and more. Throughout, the authors present excellent illustrative code and go to much effort to explain why things work the way they do.

The authors (to their credit) do not assume that Java programmers will be familiar with transport protocols or what really goes on when a Web server operates. They begin by showing how to use servlets to generate static pages, then show how to get servlets to generate customized documents in response to requests from the client side. That alone will satisfy many readers' problems. However, the authors go on to tell how to track sessions with servlets, how to carry out secure transactions, how to get servlet threads to communicate with each other, and more. If it can be done with Java servlets, it's discussed in this book. Java Servlet Programming also includes a reference to the Java Servlet API, version 2. --David Wall

About the Author

Jason Hunter is Senior Technologist with CollabNet, a company that provides tools and services for open source style collaboration. In addition to authoring Java Servlet Programming, he is publisher of Servlets.com, creator of the com.oreilly.servlet library, a contributor to the Apache Jakarta project that creates Tomcat (starting on the project when it was still Sun internal), a member of the expert groups responsible for Servlet/JSP and JAXP API development, and he holds a seat on the JCP Executive Committee overseeing the Java platform, as a representative of the Apache Software Foundation. He also writes columns for JavaWorld, and speaks at many programming and open source conferences. Most recently he co-created the open source JDOM library to enable optimized Java and XML integration, and he leads the expert group responsible for JDOM development. Jason graduated summa cum laude from Willamette University (Salem, Oregon) in 1995 with a degree in computer science. He began programming in Java in the summer of 1995 and has been involved with servlets and related server-side technologies since December 1996. If by some miracle you don't find him at work, he's probably out hiking in the mountains.


Product Details

  • Paperback: 510 pages
  • Publisher: O'Reilly Media; 1st edition (December 15, 1998)
  • Language: English
  • ISBN-10: 156592391X
  • ISBN-13: 978-1565923911
  • Product Dimensions: 9.1 x 6.9 x 1.1 inches
  • Shipping Weight: 1.8 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (156 customer reviews)
  • Amazon Best Sellers Rank: #2,521,738 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

156 Reviews
5 star:
 (87)
4 star:
 (33)
3 star:
 (8)
2 star:
 (9)
1 star:
 (19)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (156 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

75 of 78 people found the following review helpful:
5.0 out of 5 stars Servlets for the experienced Java Programmer, January 14, 2000
This review is from: Java Servlet Programming (Paperback)
This book provides excellent and clear explanations of servlet programming but it is definitely not for the novice. Experience in programming with Java is essential to get the full benefit however experienced CGI programmers who are converting to Java/Servlets should also find it essential reading.

However (potiential) readers should be aware that published in October 1998 it is now slightly dated if you are using latest Servlet API, however nevertheless, still is the best Servlet book I have been able to find.

It's intial explanation of the Server side of the equation was worth the cost alone by helping me to understand exactly how the servlets interact with the server, and hence how to maximise the performance of servlets which have to interact with various databases. (Also has a good section on JDBC - Java DataBase Connectivity - which most servlet writers will need).

I would still recommend this book to the motivated novice but only after reading some other introduction to java, such as the 'Java Tutorial' (in book or on Sun's website).

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 16 people found the following review helpful:
5.0 out of 5 stars Definitive Servlet Tutorial, July 4, 2002
By 
We have a half dozen books on servlets lying around the office, and I've also read the online tutorial from Sun. Nothing compares in breadth, depth, or clarity to Hunter and Crawford's "Java Servlet Programming".

Luckily, the second edition does not tinker with the tried and true formula of the first: brief overview, hello world servlet, a thorough overview of the HTTP protocol itself and the architecture of servlets, a discussion of thread and resource issues, and a standalone chapter on session management. Despite the 700+ pages of this book (are authors paid by the pound these days?), this core introduction remains only 200 pages and change. Each topic is presented with definitions and clear, yet realistic code examples. The authors not only provide advice on how to use servlets effectively, but also provide numerous suggestions on how to avoid common pitfalls and misconceptions.

The remaining 500 pages cover topics such as security, internationalization, database connectivity and communicating with applets. Although these are not really servlet-specific issues, they are almost always present in some combination on web sites, and the authors indicate the peculiar way in which the standard Java approaches to these problems interact with the servlet architecture. Each is presented in its own clear chapter with several examples. The beauty of these chapters is that like good code, they're modular and can be read in any order.

In what I think is a sensible organization, Java Server Pages (JSPs) and "application frameworks" are left for last. Both are well defined and illustrated. There's also 50 pages of reference, but frankly, I prefer the javadoc.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 16 people found the following review helpful:
5.0 out of 5 stars The 2d Edition Answers All the Questions..., April 25, 2001
that have been plaguing the online servlet interest group for months. In addition to covering all the topics of the first session, Jason (Will Crawford did not contribute to this edition) brings the content nearly up-to-date with all the dizzying array of developments in the servlet API, Tomcat , and the Web Applications Framework that have taken place since publication of the first edition (October 1998).

In particular, he illuminates the dark recesses of XML deployment descriptors, Tomcat 3.2, J2EE, the Tea and WebMacro frameworks WAP, XMLC and the changes from JSDK 1.0 to 2.2. Every topic is accompanied by working code snippets and often the code builds on itself so the would-be servlet programmer can participate in the development of complex applications from simple beginnings. I say "nearly up-to-date" because Tomcat 4.0 beta, incorporating JSDK 2.3 has been released, but to Jason's credit, he devotes an entire chapter on 2.3! This is about as current as hardcopy gets these days!

My copy of the first edition is falling apart from constant use as a reference and already my copy of the 2d Edition is showing signs of wear. I could not recommend this book highly enough. If more people bought and read it, my email from the servlet interest group would no doubt decrease by an order of magnitiude!

April 25, 2001

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse and search another edition of this book.
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(188)
(56)

Your tags: Add your first tag
 

Customer Discussions

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

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


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject