Professional Apache Tomcat
Tomcat is an open source web server that processes JavaServer Pages and Java Servlets. It can run as a stand-alone server or be integrated with Apache. Like Apache, the core Tomcat program is relatively simple, but there are many enhancements that can be added to make it much more complex.
What does this book cover?
You will learn how to integrate Tomcat with the Apache HTTP server (and the situations when you should and you shouldn't), how to set up database connectivity through JDBC, and how to ensure your web applications are secure.
This book will provide you, the server administrator, with the necessary knowledge to install and configure Tomcat, as well as many of the most popular enhancements to the Tomcat package. It will help you plan the installation and possible growth options of your site.
Here are just a few of the things you'll find covered in this book:
- Tomcat 3.x, Tomcat 4.0.x, and Tomcat 4.1.x
- The Tomcat architecture
- Tomcat installation and configuration
- Apache and Tomcat integration using the AJP and WARP connectors
- Tomcat security with SSL, realms, and the Java Security Manager
- Shared Tomcat hosting, server load testing, and load balancing
- Managing and administering web applications
- JDBC with Tomcat
- Ant and Log4j
It will also cover some of the tools that can be integrated with Tomcat, such as Ant (for automatically building web applications) and Log4J (for advanced logging).
Who is this book for?
This book is for professionals working with Java web applications. It assumes a certain knowledge of the JSP and Servlet technologies, but only from an administrator's point of view. Knowledge of databases, XML, HTML, networking, and general administrative techniques is also assumed.
Chapter 2: JSP and Servlets.
Chapter 3: Tomcat Installation.
Chapter 4: Tomcat Installation Directory and Architecture.
Chapter 5: Basic Tomcat Configuration.
Chapter 6: Web Application Administration.
Chapter 7: Manager Configuration.
Chapter 8: Advanced Tomcat Features.
Chapter 9: Class Loaders.
Chapter 10: HTTP Connectors.
Chapter 11: Web Server Connectors.
Chapter 12: The WARP Connector.
Chapter 13: The AJP Connector.
Chapter 14: Tomcat and IIS.
Chapter 15: JDBC Connectivity.
Chapter 16: Tomcat Security.
Chapter 17: Additional Uses for Ant.
Chapter 18: Log4J.
Chapter 19: Shared Tomcat Hosting.
Chapter 20 Server Load Testing.
Appendix A: Axis.
Appendix B: Apache SSL Setup.
Before graduating from High School, Ben Galbraith was hired by a major Silicon Valley computer manufacturer to develop Windows-based Client-server applications with international deployments and hundreds of users. In 1995, Mr. Galbraith began developing for the web and fell in love with Unix, vi, and Perl. After building countless web applications with Perl, Ben discovered server-side Java in 1999 and his relationship with Perl has sin ce become somewhat estranged. Mr. Galbraith is presently a consultant in Provo, Utah. He regularly lectures, evangelizes, and gives classes on Java technology. Ben has no college degree but if he had the time he would study both ancient and modern history.
Vivek Chopra has eight years of experience in software design and development, the last two years of which have been in web services and various XML technologies. He is the co-author of Professional ebXML Foundations and Professional XML Web Services (both from Wrox Press). He is also a committer for UDDI4J, an open source Java API for UDDI. His other areas of experience and interest include compilers, middleware, clustering, GNU/Linux, and mobile computing. He is currently consulting in the domain area of web services. Vivek holds a Bachelor's degree in Electronics and a Master's in Computer Science, both from Pune University, India.
Debashish Bhattacharjee is a principal consultant with the Management Consulting Services unit of PriceWaterhouseCoopers. He has 10 years of experience implementing projects for Fortune 500 clients in the United States and Canada. His areas of expertise are systems integration and project management. He has served as chief architect and led technical teams tasked with the implementation of e-commerce applications, portal implementations, web infrastructure, ERP, and client-server applications. In his role as consultant, Debashish is often responsible for advising clients on best practices and the adoption of technology. He is the published author of several industry articles.
Sandip Bhattacharjee is an open source enthusiast and an active participant in various Open Source communities in India, especially his local LUG -Indian Linux Users Group, Delhi(ILUGD). He has been programming right from his school days in 1991, and some minor distractions like an engineering degree in Textile technology and an MBA in marketing notwithstanding, has remained true to the field. He has been professionally involved in open source based technologies for the past three years. He is currently a freelance programmer and consults businesses on ways to use the open source revolution to their advantage.
Chad Fowler is CTO of GE Appliances' Bangalore, India. For the past four years, he has been an active advocate of open source Java technologies in the enterprise, revolving around the Enhydra suite of software. Driven into software development by a less-than-healthy addiction to the video game "Doom", he dropped his professional music career and never looked back. His current interests focus on the Ruby programming language, learning the Hindi (spoken/written--not programming) language, and Agile Software Development methodologies.
|Deployment descriptors and code||131.26 KB||Click to Download|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
|8||186||Missing object method
The code just above the title "Configuring Mail Sessions" has a missing method and won't work:
The QName class in JAX-RPC 0.9 and eariler has moved from: