Apache Tomcat 7 [electronic resource] /
Vukotic, Aleksa.author.
Goodwill, James.author.
Apache Tomcat is the most popular open-source de-facto Java Web application server, standard for today's Web developers using JSP/Servlets. Apache Tomcat 7 covers details on installation and administration of Apache Tomcat 7. It explains key parts of the Tomcat architecture, and provides an introduction to Java Servlet and JSP APIs in the context of the Apache Tomcat server. In addition to basic concepts and administration tasks, Apache Tomcat 7 covers some of the most frequently used advanced features of Tomcat, including security, Apache web server integration, load balancing, and embedding Tomcat server in Java applications. Finally, through a practical primer, it shows how to integrate and use some of the most popular Java technologies with Apache Tomcat. In summary, Apache Tomcat 7 offers both novice and intermediate Apache Tomcat users a practical and comprehensive guide to this powerful software.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Preface; CHAPTER 1 Introduction to Apache Tomcat 7; The Apache Tomcat Server; The Tomcat Manager Web Application; Specialized Realm Implementations; Tomcat Valves; Further Information; The Architecture of Tomcat; The Server; The Service; The Connector; The Engine; The Host; The Context; Installing and Configuring Tomcat; Requirements for Installing and Configuring Tomcat; Installing Tomcat Using Windows Service Installer; Manually Installing on Windows
Installing to LinuxTesting Your Tomcat Installation; Summary; CHAPTER 2 Deploying Web Applications to Tomcat; The Tomcat Directory Structure; Executing Tomcat scripts; Passing Runtime Options to Catalina Script; Tomcat Configuration Files; Java Web Applications; The Directory Structure; The Deployment Descriptor; Manually Deploying Web Applications to Tomcat; Creating the Web Application Directory Structure; Adding Static Content; Adding JSPs; Adding Servlets; Deploying WAR Archive; Other Methods of Deployment; Configuring Hosts and Contexts; Configuring Hosts
Configuring Web Application ContextsDeploying to Root Context; Context.xml Configuration File; Deploying a Web Application from Eclipse IDE; Updating Eclipse for Java Web Development; Creating a Dynamic Web Project; Adding Tomcat Runtime Environment; Deploying a Java Web Project to Tomcat from Eclipse; Summary; CHAPTER 3 Servlets, JSPs and ServletContext; Servlets; The Lifecycle of a Servlet; init; service; destroy; ServletRequest and ServletResponse; ServletRequest and HttpServletRequest; ServletResponse and HttpServletResponse; The GenericServlet and HttpServlet Classes
Configuring a Servlet in a Servlet ContainerAnnotation Configuration Support; Web Fragments; Asynchronous Servlet Support; Java Server Pages; Lifecycle of Java Server Pages; The Components of a Java Server Pages; JSP Directives; JSP Scripting; Implicit Objects; Standard Actions; Relationship Between Servlets and ServletContext; Summary; CHAPTER 4 Using Tomcat's Manager Web Application; What Is the Manager Web Application?; Gaining Access to the Manager Web Application; Accessing the Manager Web Application Using Web Interface; Listing Deployed Web Applications; Checking Server Status
Deploying a New Web ApplicationReloading an Existing Web Application; Sessions; Stop; Start; Undeploy; Using a Text-Based Interface to Access Manager Web Application; Installing Ant; Configuring Tomcat's Ant Tasks; Running Ant Scripts; Summary; CHAPTER 5 Persistent Sessions; HTTP Sessions; The Servlet Implementation of HTTP sessions; Shopping Basket Session Example; Invalidating a Session; Session Management in Tomcat; StandardManager; Using the Default StandardManager; Configuring StandardManager; Disabling Session Persistence on Server Shutdown; PersistentManager
Configuring PersistentManager
Includes index.
Includes index.
Apache Tomcat is the most popular open-source de-facto Java Web application server, standard for today's Web developers using JSP/Servlets. Apache Tomcat 7 covers details on installation and administration of Apache Tomcat 7. It explains key parts of the Tomcat architecture, and provides an introduction to Java Servlet and JSP APIs in the context of the Apache Tomcat server. In addition to basic concepts and administration tasks, Apache Tomcat 7 covers some of the most frequently used advanced features of Tomcat, including security, Apache web server integration, load balancing, and embedding Tomcat server in Java applications. Finally, through a practical primer, it shows how to integrate and use some of the most popular Java technologies with Apache Tomcat. In summary, Apache Tomcat 7 offers both novice and intermediate Apache Tomcat users a practical and comprehensive guide to this powerful software.
Open source software.
Computer programming.
Software engineering.
Open Source.
Software Engineering/Programming and Operating Systems.