Tomcat: The Definitive Guide: The Definitive Guide [NOOK Book]

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 ...

See more details below
Tomcat: The Definitive Guide: The Definitive Guide

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

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 software

The 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.

Offering something for everyone who uses Tomcat, this book covers all major platforms, including Windows, Solaris, Linux, and Mac OS X; contains details on Tomcat configuration files; and even has a quick-start guide to get developers up and running with Java servlets and JavaServer Pages.

Read More Show Less

Product Details

  • ISBN-13: 9780596552053
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 6/13/2003
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 320
  • File size: 4 MB

Meet 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.

Read More Show Less

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;

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.

Read More Show Less

Customer Reviews

Average Rating 3.5
( 2 )
Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted August 26, 2003

    A Definite Definitive Guide!

    I'm a bias reviewer, loving almost any title by O'Reilly, especially in the Java series. And <i>Tomcat:TDG</i> in the first three days of reading it has paid for itself 200 times over, saving us thousands of dollars over proprietary, dedicated hardware for load balancing and session replication. The detailed chapters on these subjects and much more are valuable resources for server admins in charge of J2EE applications or Tomcat enhanced websites. Not a bad title for the advancing J2EE developer too with coverage on writing secure applications and webapp filters. Kudos to Brittain and Darwin (and O'Reilly too) for tearing down the curtains that obsfucated the inner workings of Tomcat. Truly a fantastic title to add to your library.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 14, 2011

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)