Apache Tomcat 7
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 int...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] :
Apress
2011.
|
Edición: | 1st ed. 2011. |
Colección: | The expert's voice in Java
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628543606719 |
Tabla de Contenidos:
- 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