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


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
Java Servlet Programming (Java Series)
 
 
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 (Java Series) [Paperback]

Jason Hunter (Author), William Crawford (Author)
4.0 out of 5 stars  See all reviews (156 customer reviews)

List Price: $49.99
Price: $36.19 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.80 (28%)
  Special Offers Available
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 5 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $36.19  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

0596000405 978-0596000400 April 10, 2001 Second Edition

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Java Servlet Programming (Java Series) + Java Servlet & JSP Cookbook + JavaServer Pages, 3rd Edition
Price For All Three: $94.71

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Java Servlet & JSP Cookbook $30.06

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • JavaServer Pages, 3rd Edition $28.46

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Amazon.com Review

Aimed at Web developers with some previous Java experience, Java Servlet Programming, Second Edition, offers a solid introduction to the world of Java development with Servlets and related technologies. Thoroughly revised and newly updated with over a half-dozen new chapters, 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 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 (like 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 (JSP) 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

Topics covered:

  • Overview and history of Java Servlets
  • Fundamentals of HTTP
  • Web applications (including deployment and configuration using XML files)
  • The Servlet lifecycle (initializing, processing requests, cleanup, and caching)
  • Multimedia content (images and compressed content)
  • WAP and WML for wireless content
  • Servlet session tracking techniques (hidden form fields, cookies, and URL rewriting)
  • Security issues with Servlets (including certificates and SSL)
  • Tutorial for JDBC and Java database programming
  • Using applets and Servlets together
  • Servlet collaboration
  • Quick introduction to Java 2 Enterprise Edition (J2EE)
  • Internationalization issues
  • Survey of third-party Servlet application frameworks and tools: Tea, WebMacro, the Element Contruction Set (ECS), XMLC, and JavaServer Pages (JSP)
  • Miscellaneous tips for Servlets (including sending e-mail and using regular expressions)
  • Description of the new Servlet 2.3 API spec
  • Servlet API quick reference

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.

William Crawford has been developing web-based enterprise applications since 1995, including one of the first web-based electronic medical record systems (at Children's Hospital in Boston) and some of the first enterprise-level uses of Java. He has consulted for a variety of institutional clients, including Boston Children's Hospital, Harvard Medical Center, numerous startups and several Fortune 500 companies. Prior to an acquisition he was CTO of Invantage, Incorporated in Cambridge, MA. He received a degree in history and economics from Yale University. He is the co-author of Java Servlet Programming, 2nd Edition, Java Enterprise in a Nutshell, 2nd Edition, and two forthcoming O'Reilly titles. Will is currently Principal Software Architect at Perceptive Informatics, Inc.Massachusetts, provider of software and services to the pharmaceutical industry. He can be reached at http://www.williamcrawford.info


Product Details

  • Paperback: 780 pages
  • Publisher: O'Reilly Media; Second Edition edition (April 10, 2001)
  • Language: English
  • ISBN-10: 0596000405
  • ISBN-13: 978-0596000400
  • Product Dimensions: 9.2 x 7 x 1.4 inches
  • Shipping Weight: 2.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (156 customer reviews)
  • Amazon Best Sellers Rank: #139,858 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 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 
This review is from: Java Servlet Programming (Java Series) (Paperback)
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
This review is from: Java Servlet Programming (Java Series) (Paperback)
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 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?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)

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