Tomcat: The Definitive Guide: The Definitive Guide

Tomcat: The Definitive Guide: The Definitive Guide

Tomcat: The Definitive Guide: The Definitive Guide

Tomcat: The Definitive Guide: The Definitive Guide

eBook

$20.99  $27.99 Save 25% Current price is $20.99, Original price is $27.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Jakarta Tomcat is not only the most commonly used open source servlet engine today, it's become the de facto standard by which other servlet engines are measured. Powerful and flexible, it can be used as a stand-alone web server or in conjunction with another server, like Apache or IIS, to run servlets or JSPs. But mastery of Tomcat is not easy: because it's as complex as it is complete. Tomcat: The Definitive Guide answers vexing questions that users, administrators, and developers alike have been asking. This concise guide provides much needed information to help harness Tomcat's power and wealth of features.Tomcat: The Definitive Guide offers something for everyone who uses Tomcat. System and network administrators will find detailed instructions on installation, configuration, and maintenance. For users, it supplies insightful information on how to deploy Tomcat. And seasoned enterprise Java developers will have a complete reference to setting up, running, and using this powerful softwareThe book begins with an introduction to the Tomcat server and includes an overview of the three types of server configurations: stand-alone, in-process, and out-of-process. The authors show how directories are laid out, cover the initial setup, and describe how to set the environment variables and modify the configuration files, concluding with common errors, problems, and solutions. In subsequent chapters, they cover:

  • The server.xml configuration file
  • Java Security manager
  • Authentication schemes and Tomcat users
  • The Secure Socket Layer (SSL)
  • Tomcat JDBC Realms
  • Installing servlets and Java Server Pages
  • Integrating Tomcat with Apache
  • Advanced Tomcat configuration
and much more.Tomcat: The Definitive Guide covers all major platforms, including Windows, Solaris, Linux, and Mac OS X, contains details on Tomcat configuration files, and has a quick-start guide to get developers up and running with Java servlets and JavaServer Pages. If you've struggled with this powerful yet demanding technology in the past, this book will provide the answers you need.

Product Details

ISBN-13: 9780596552053
Publisher: O'Reilly Media, Incorporated
Publication date: 06/13/2003
Sold by: Barnes & Noble
Format: eBook
Pages: 320
File size: 3 MB

About the Author

Jason Brittain is a Senior Principal Software Engineer for Orbital Sciences Corporation, working at NASA's Ames Research Center on the Kepler Space Telescope mission (http://kepler.nasa.gov).

Jason is a co-author of Tomcat: The Definitive Guide, now in its second edition, and has written some web articles for O'Reilly's OnJava.com web site.

Before joining the team on the Kepler mission, Jason was a Senior Software Engineer at Symantec Corporation working on the Brightmail AntiSpam appliance product line's control center web application.

Jason's specialties include Java software development, Tomcat web application development and deployment, scalability and fault tolerance, and Apache Ant build systems, and Linux system administration. He has contributed to many Apache Jakarta projects, and has been an active open source software developer for several years.

Ian Darwin has worked in the computer industry for three decades: with Unix since 1980, Java since 1995, and OpenBSD since 1998. He wrote the freeware file(1) command used on Linux and BSD and is the author of "Checking C Programs" with "Lint and Java Cookbook" (both O'Reilly), as well as over 70 articles, in addition to university and commercial course material on C and Unix. Besides programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies.

Table of Contents

Preface; What's This Book About?; Why an Entire Book on Tomcat?; Who This Book Is For; Conventions Used in This Book; Using Code Examples; We'd Like to Hear from You; Safari® Books Online; Acknowledgments; Chapter 1: Getting Started with Tomcat; 1.1 Installing Tomcat; 1.2 Starting, Stopping, and Restarting Tomcat; 1.3 Automatic Startup; 1.4 Testing Your Tomcat Installation; 1.5 Where Did Tomcat Come From?; Chapter 2: Configuring Tomcat; 2.1 A Word About Using the Apache Web Server; 2.2 Relocating the Web Applications Directory; 2.3 Changing the Port Number from 8080; 2.4 Java VM Configuration; 2.5 Changing the JSP Compiler; 2.6 Managing Realms, Roles, and Users; 2.7 Controlling Sessions; 2.8 Accessing JNDI and JDBC Resources; 2.9 Servlet Auto-Reloading; 2.10 Customized User Directories; 2.11 Tomcat Example Applications; 2.12 Common Gateway Interface (CGI); 2.13 The Tomcat Admin Webapp; Chapter 3: Deploying Servlet and JSP Web Applications in Tomcat; 3.1 ; 3.2 Layout of a Web Application; 3.3 Deploying an Unpacked Webapp Directory; 3.4 Deploying a WAR File; 3.5 Hot Deployment; 3.6 Working with WAR Files; 3.7 The Manager Webapp; 3.8 Automation with Apache Ant; 3.9 Symbolic Links; Chapter 4: Tomcat Performance Tuning; 4.1 Measuring Web Server Performance; 4.2 External Tuning; 4.3 Internal Tuning; 4.4 Capacity Planning; 4.5 Additional Resources; Chapter 5: Integration with the Apache Web Server; 5.1 The Pros and Cons of Integration; 5.2 Installing Apache httpd; 5.3 Apache Integration with Tomcat; 5.4 Tomcat Serving HTTP over the APR Connector; Chapter 6: Tomcat Security; 6.1 Securing the System; 6.2 Multiple Server Security Models; 6.3 Using the SecurityManager; 6.4 Granting File Permissions; 6.5 Setting Up a Tomcat chroot Jail; 6.6 Filtering Bad User Input; 6.7 Securing Tomcat with SSL; Chapter 7: Configuration; 7.1 server.xml; 7.2 web.xml; 7.3 tomcat-users.xml; 7.4 catalina.policy; 7.5 catalina.properties; 7.6 context.xml; Chapter 8: Debugging and Troubleshooting; 8.1 Reading Logfiles; 8.2 Hunting for Errors; 8.3 URLs and the HTTP Conversation; 8.4 Debugging with RequestDumperValve; 8.5 When Tomcat Won't Shut Down; Chapter 9: Building Tomcat from Source; 9.1 Installing Apache Ant; 9.2 Obtaining the Source; 9.3 Downloading Support Libraries; 9.4 Building Tomcat; Chapter 10: Tomcat Clustering; 10.1 Clustering Terms; 10.2 The Communication Sequence of an HTTP Request; 10.3 Distributed Java Servlet Containers; 10.4 Tomcat 6 Clustering Implementation; 10.5 JDBC Request Distribution and Failover; 10.6 Additional Resources; Chapter 11: Final Words; 11.1 Supplemental Resources; 11.2 Community; Installing Java; Choosing a Java JDK; Working Around Older GCJ and Kaffe JVMs; Sun Microsystems Java SE JDK; IBM J9 JDK; BEA JRockit JDK; Apple Java SE JDK; Excelsior JET; Apache Harmony JDK; jbchroot.c; BadInputValve.java; BadInputFilter.java; RPM Package Files; Colophon;
From the B&N Reads Blog

Customer Reviews