Java Servlet Programming

  • Authors:
  • Jason Hunter;William Crawford

  • Affiliations:
  • -;-

  • Venue:
  • Java Servlet Programming
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

From the Publisher:A few years ago, the hype surrounding applets put Java on the map as aprogramming language for the Web. Today, Java servlets stand poised totake Java to the next level as a Web development language. The mainreason is that servlets offer a fast, powerful, portable replacementfor CGI scripts.The Java Servlet API, introduced as the first standard extension toJava, provides a generic mechanism to extendthe functionality of any kind of server. Servlets are most commonlyused, however, to extend Web servers, performing tasks traditionallyhandled by CGI programs. Web servers that can support servletsinclude: 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'sprocess space and they persist between invocations. This givesservlets tremendous performance benefits over CGI programs. Yetbecause they're written in Java, servlets are far less likely to crasha Web server than a C-based NSAPI or ISAPI extension. Servlets havefull access to the various Java APIs and to third-party componentclasses, making them ideal for use in communicating with applets,databases, and RMI servers. Plus, servlets are portable betweenoperating systems and between servers -- with servlets you can "writeonce, serve everywhere."Java Servlet Programming covers everything you need to know towrite effective servlets and includes numerous examples that you canuse as the basis for your own servlets. The book explains the servletlife cycle, showing how you can use servlets to maintain stateinformation effortlessly. It also describes how to serve dynamic Webcontent, including both HTML pages and multimedia data. Finally, itexplores more advanced topics like integrated session tracking,efficient database connectivity using JDBC, applet-servletcommunication, inter-servlet communication, and internationalization.