The Developer's Guide to the Java™ Web Server™ - Dan Woods, Larne Pekowsky, Tom Snee

The Developer's Guide to the Java™ Web Server™

Building Effective and Scalable Server-Side Applications
Media-Kombination
608 Seiten
1999
Addison Wesley
978-0-201-37949-5 (ISBN)
56,85 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
The Java web server is a server written purely in Java and incorporates Servlet technology. It is able to handle two web sites residing on one server. This text provides a guide to developing server side applications.
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

Dan Woods is Chief Technology Officer at TheStreet.com, a leading on-line financial publication. Larne Pekowsky is the former vice president of engineering and chief software architect at CapitalThinking, where he led development with open source technologies. He is the coauthor of The Developer's Guide to the Java™ Web Server™ (Addison-Wesley, 1999) and the author of JavaServer Pages, Second Edition (Addison-Wesley, 2004) and is currently pursuing a degree in physics at Stony Brook University. Tom Snee is a Senior Consultant at Random Walk Computing, Inc., a leading consulting and development organization delivering custom Java solutions to global financial service enterprises.

(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

Erscheint lt. Verlag 23.7.1999
Verlagsort Boston
Sprache englisch
Maße 185 x 235 mm
Gewicht 1037 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-201-37949-X / 020137949X
ISBN-13 978-0-201-37949-5 / 9780201379495
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich