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
Servlets are important in that they tie Java to the Web, allowing programmers to write Java programs that create dynamic Web content. This book 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. 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 including JavaServer Pages (JSP), Tea, XMLC, and the Element Construction Set.
See all Product description