The developer's guide to the Java Web Server : building effective and scalable server-side applications

Bibliographic Information

The developer's guide to the Java Web Server : building effective and scalable server-side applications

Dan Woods, Larne Pekowsky, Tom Snee

Addison-Wesley, c1999

  • : CD-ROM

Available at  / 7 libraries

Search this Book/Journal

Note

Foreword by Connie Weiss

System requirements for accompanying computer disc: Windows NT Server 4.0, SPARC/x86 Solaris 2.5.1, or Linux kernel 2.0 (or higher) and libc 5 or glibc (or higher)

Includes bibliographical references (p. 553-554) and index

Description and Table of Contents

Description

The Java(TM) Web Server(TM) has emerged as a powerful tool for creating dynamic, interactive Web applications. Web sites using cutting-edge servlet technology with the Java Web Server have better performance, security, scalability, and cross-platform flexibility than those using CGI and other server-side technologies. The Developer's Guide to the Java Web Server provides a comprehensive description of the Java Web Server and specific techniques for putting this technology to work. The book describes the underlying servlet technology, reviews Java Web Server features, explores design options, and demonstrates the development process. Drawing on their unparalleled real-world experience creating one of the largest web sites using the Java Web Server, the authors present many proven design and coding techniques. In addition, a plethora of working examples form the framework for an application that features registration, communication with existing Web Services, error reporting, and templating.In this book, you will find detailed information on topics such as: *The Servlet API(TM) *Java Web Server features *Creating, configuring, and managing servlets *Templating and session tracking *Writing thread-safe code *Optimizing code for the Java(TM) virtual machine and Java Class Libraries *Communicating with external applications with sockets, CORBA, RMI, e-mail, and JDBC(TM) *Java Web Server application design *Debugging, stress testing, and performance tuning *Customizing security *Building services The accompanying CD-ROM includes the sample applications and code examples from the book. With its focus on practical techniques for solving real-world challenges, this book gives you the knowledge and skills to apply the Java Web Server to your own server-side Web applications. 020137949XB04062001

Table of Contents

(All chapters conclude with "Conclusion".) Foreword. Preface. Acknowledgments. I. OVERVIEW. 1. The Big Picture. Introduction to the Java Web Server. Application Development and the JWS. The JWSs Powerful Features. First-Hand Experience with JWS. Web Development Techniques. Perl Code Executed via CGI. FAST CGI. NSAPI. Netscape WAI. ISAPI. Active Server Pages. The Java Web Server. Overview of the Java Web Server. Configuration and Administration. Loading and Invoking Servlets. Monitoring. Security. Templates. Java Server Pages. Session Tracking. Java Server Infrastructure. Overview of the Servlet API. What Are Servlets. Servlets for the HTTP Protocol. 2. Introduction to the Sample Applications. Project Plan Archive. Overview. Object Model. Simple Gaming Engine. II. A GUIDE TO ADMINISTRATION AND FEATURES. 3. Administrators Guide to the Java Web Server. The Java Web Server Directory Structure. Installing the Java Web Server. Running the Administration Tool. Servlets. Creating Servlets. Compiling Servlets. Invoking and Loading Servlets. Loading Servlets in Advance. Where Should Servlets Live. 4. Configuring and Managing the Java Web Server. Administration Basics. Service Interface. Setup. Network. Site. Session Tracking. Service Tuning. File Aliases. Servlet Aliases. Virtual Hosts. MIME Types. Log Files. Monitor. Log Output. Log Statistics. Resource Usage. Security. Users. Groups. Access Control Lists. Resources. Servlets. 5. HTML Templates. How JWS Templates Use Normal HTML Files. Definitions Files. Inheritance. Template Filters. 6. Java Server Pages. Structure of Java Server Pages. Coding for Java Server Pages. Declaring Variables in JSP. Using if then and Looping Statements in JSP. Expressions in Java Server Pages. Printing HTML from Java Statements. Other Coding Topics. Running JSP and Catching Compile and Execution Errors. 7. Session Tracking. Client-Side State. URL Encoding. Form Variables. Cookies. Server-Side State. Sessions and Session Trackings API Description. API Description. Using Session Objects with a Sequence of Servlets. Using Session Tracking without Cookies. Using Session Tracking with JSP. Using Session Listener. 8. Internationalization and Localization. Internationalization API Overview. Sample Programs. Example 1: Resource Bundle Stored in a Class File. Example 2: Resource Bundle in a Property File. Example 3: Localizing Dates. Example 4: Compound Messages. Example 5: Multilocale Servlets. III. CODING TECHNIQUES. 9. Servlets and the Servlet API. A Closer Look at Servlet Classes. javax.servlet Interfaces and Classes. javax.servlet.http Interfaces and Classes. Servlet Life Cycle. Class Loading. Construction. init() Method. service() Method. Methods for Handling Specific HTTP Requests. destroy() Method. Garbage Collection and finalize() Method. Simple Servlet. HttpServletRequest. Cookies. HttpUtils. HttpServletResponse. ServletConfig and ServletContext. Servlet Coding Techniques. Performance and the Servlet Classes. Threads and Serv

by "Nielsen BookData"

Details

Page Top