From the Back Cover
The Apache Tomcat server and related technologies give Java™ developers a rich set of tools to quickly build more sophisticated Web applications. Tomcat version 5 supports the latest JSP™ and Servlet specifications, JSP 2.0, and Servlets 2.4. This completely updated volume offers you a thorough education in Tomcat 5 as well as 4.1.
You will learn to solve the problems that arise with installation and configuration, security, system testing, and more. This edition also introduces you to Tomcat clustering for planning and deploying installations in mission-critical production environments, and explores the new support for Tomcat in popular IDEs such as IntelliJ IDEA, Eclipse, NetBeans™/Sun Java Studio, and JBuilder.
You’ll discover how to manage class loaders and Connectors, understand how to use IIS as a Web server front-end for Tomcat, examine JDBC-related issues in Tomcat, and be ready to put this technology to work.
What you will learn from this book
- Techniques and troubleshooting tips for installing JVM™ and Tomcat on Windows® and UNIX®/Linux® systems
- Detailed Tomcat configuration, such as Access log administration, Single Sign-on across Web applications, request filtering, the Persistent Session Manager, and JavaMail™ session setup
- How to resolve JDBC connectivity issues, including connection pooling, JNDI emulation, configuring a data source, and alternative JDBC™ configurations
- How to use Web servers like Apache and IIS with Tomcat to serve static content
- A wide range of security issues, from securing Tomcat installations to configuring security policies for Web applications that run on them
- How to configure Tomcat for virtual hosting environments
- Procedures for load-testing Web applications deployed in Tomcat using the open source JMeter framework
- How to set up Tomcat clustering to provide scalability and high availability to Web applications
- How to embed Tomcat within custom applications
Who is this book for?
This book is for J2EE™ system administrators and Java developers with responsibilities for Tomcat configuration, performance tuning, system security, or deployment architecture.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
About the Author
has over nine years of experience as a software developer, architect, and team lead, and is currently working on Web Services, J2EE, and middleware technologies. He has worked and consulted at a number of Silicon Valley companies (including Hewlett-Packard, Sun, and currently Sony) and startups. He actively writes about technology and has co-authored half a dozen books on topics such as Apache/open-source software, XML, and Web services. He is also a committer for UDDI4J, an opensource Java API for UDDI. His other areas of experience and interest include compilers, middleware, clustering, GNU/Linux, RFID systems, and mobile computing.
Sing Li, bitten by the microcomputer bug since 1978, has grown up with the Microprocessor Age. His first personal computer was a $99 do-it-yourself Netronics COSMIC ELF computer with 256 bytes of memory, mail-ordered from the back pages of Popular Electronics magazine. Currently, Sing is a consultant, system designer, open-source software contributor, and freelance writer specializing in Java technology, as well as embedded and distributed systems architecture. He writes for several popular technical journals and e-zines, and is the creator of the “Internet Global Phone,” one of the very first Internet telephones available. He has authored and co-authored a number of books across diverse technical topics, including Tomcat, JSP, Servlets, XML, Jini, and JXTA.
Ben Galbraith was introduced to Java in 1999, and has since become something of a Java enthusiast. He has written dozens of Java/J2EE applications for numerous clients, and has built his share of Web sites. He actively tinkers on several open-source projects and participates in the Java Community Process. He has also co-authored a gaggle of books on various Java/XML-related topics, including the one you’re holding now. He is president of the Utah Java User’s Group (www.ujug.org) and Director of Software Development for Amirsys (www.amirsys.com).
Jon Eaves is the Chief Technology Officer of ThoughtWorks Australia and has more than 15 years of software development experience in a wide variety of application domains and languages. He can be reached at firstname.lastname@example.org.
Amit Bakore is a Sun-certified Web component developer and Java programmer. He works at Veritas Software R&D center, Pune (India). Earlier, he was a part of the Server Technologies group at Oracle, Bangalore (India), as a Senior Member Technical Staff. He has been working primarily on Java, J2EE, XML, and Linux. His areas of interest include open-source technologies and satellite-launching vehicles. He can be reached at email@example.com. Amit dedicates this work to his parents, Dr. Ramkrishna and Sau. Vaijayanti.
Chanoch Wiggers is a senior developer with Kiwi DMD, U.K., programming with J2EE and VB. He previously worked as a technical architect with Wrox Press, editing, architecting, and contributing to Java books.