Why an Entire Book on Tomcat?
Can't you just download and run Tomcat from the Apache Software Foundation's web site? Well, of course you can, and you'll need to, but there is a lot more to Tomcat than just getting it running. You'll get more out of Tomcat if you understand how and why it was written. So in Chapter 1, we explain that. You will then be better able to make informed decisions on choices you might need to make when installing Tomcat, so we spend the rest of the chapter on the installation and startup procedures.
In Chapter 2, we show you all about configuring Tomcat. We
talk about when you should use Tomcat as a standalone web server and servlet container and
when it's best to use Tomcat with the Apache httpd web server. Then, we
show you how to configure realms, roles, users, servlet sessions, and JNDI resources,
including JDBC DataSources. Next, we show how to turn on
and off the auto-reloading of servlets, how to relocate the webapps
directory, and how to map user home directories for access through Tomcat. Then, we go over
how to enable and disable the example web applications and how to enable common gateway
interface scripting in Tomcat. And finally, we close out the chapter by introducing you to
the Tomcat administration web application, which allows you to configure Tomcat through your
web browser.
With Tomcat installed and configured just the way you like it, you're ready to learn more about servlet and JSP web applications and how to deploy them into your Tomcat. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access