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
Product 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.
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.