Cargando…

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Vukotic, Aleksa
Otros Autores: Goodwill, James
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Berkeley, CA] : Apress, ©2011.
Colección:Expert's voice in Java.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Note continued: Adding Servlets
  • Deploying WAR Archive
  • Other Methods of Deployment
  • Configuring Hosts and Contexts
  • Configuring Hosts
  • Configuring Web Application Contexts
  • 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
  • ch. 3 Servlets, JSPs and ServletContext
  • Servlets
  • The Lifecycle of a Servlet
  • ServletRequest and ServletResponse
  • The GenericServlet and HttpServlet Classes
  • Configuring a Servlet in a Servlet Container
  • Servlet API 3.0
  • Java Server Pages
  • Lifecycle of Java Server Pages
  • The Components of a Java Server Pages
  • JSP Directives
  • JSP Scripting
  • Relationship Between Servlets and ServletContext
  • Summary
  • ch. 4 Using Tomcat's Manager Web Application
  • What Is the Manager Web Application?
  • Gaining Access to the Manager Web Application.
  • Note continued: Accessing the Manager Web Application Using Web Interface
  • Listing Deployed Web Applications
  • Checking Server Status
  • Deploying a New Web Application
  • Reloading 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
  • ch. 5 HTTP Sessions
  • The Servlet Implementation of HTTP sessions
  • Shopping Basket Session Example
  • Invalidating a Session
  • Session Management in Tomcat
  • StandardManager
  • PersistentManager
  • Summary
  • ch. 6 Configuring Security Realms
  • Security Realms
  • MemoryRealm
  • Protecting a Resource with a MemoryRealm
  • Protection Against Brute Force Attacks
  • UserDatabaseRealm
  • JDBC Realms
  • Creating the Users Database
  • Configuring Tomcat to Use a JDBCRealm
  • Configuring FORM-Based Authentication with JDBCRealm
  • DataSourceRealm.
  • Note continued: The Benefits of Using a JDBCRealm
  • JNDIRealm
  • Accessing an Authenticated User
  • Summary
  • ch. 7 Securing Tomcat with SSL
  • Introduction to SSL
  • What SSL Does
  • How SSL works
  • Configuring Tomcat with SSL
  • Creating Keystore with SSL Certificate
  • Configuring Tomcat's SSL Connector
  • Configuring Secure Resources in the Web Application
  • Installing a Certificate from the Certificate Authority
  • Secure Session Tracking with Tomcat
  • Summary
  • ch. 8 Valves and Servlet Filters
  • Introduction to Valves and Filters
  • What Is a Tomcat Valve?
  • What Is a Servlet Filter?
  • Tomcat Valves vs. Servlet Filters
  • Configuring Tomcat Valves
  • Implementing a Custom Valve
  • The Access Log Valve
  • The Remote Address Valve
  • Crawler Session Manager Valve
  • Dead Thread Detection Valve
  • Configuring Servlet Filters
  • Implementing a Servlet Filter
  • Request Dumper Filter
  • Expires Filter
  • Cross-Site Request Forgery Prevention Filter.
  • Note continued: Summary
  • ch. 9 Embedding Tomcat
  • Requirements for Embedding Tomcat
  • Embedded Tomcat Java Components
  • Implementing a Sample Application with Embedded Tomcat
  • Testing Servlets with Embedded Tomcat
  • Summary
  • ch. 10 Integrating Apache Web Server
  • What Is the Apache Web Server?
  • Integrating Tomcat and Apache Web Server
  • Using mod_proxy
  • Using mod_jk
  • Which Approach to Use
  • Load Balancing
  • Summary
  • ch. 11 Integrating Spring MVC Framework
  • Introducing Spring MVC
  • Spring Framework Overview
  • MVC Pattern
  • Front Controller Pattern
  • Spring MVC Web Applications
  • Configuring DispatcherServlet
  • Adding Views
  • Implementing Controllers
  • Wiring Spring Application Context
  • Summary
  • ch. 12 Logging in Tomcat
  • Using Tomcat's JULI Logging Library
  • Introduction to Java Logging and JULI libraries
  • Configuring Internal Tomcat Logging with JULI
  • Configuring Web Application Logging with JULI.
  • Note continued: Using Log4j Library for Web Application Logging
  • PatternLayout
  • Using Log4j for Tomcat Internal Logging
  • Using Log4j for Web Application Logging
  • Web Application Logging Using Slf4j Library
  • Using Slf4j
  • Summary
  • ch. 13 Configuring JNDI in Tomcat
  • Introduction to JNDI
  • JNDI API Overview
  • Tomcat JNDI Configuration
  • Configuring the Database Connection
  • Introducing JDBC
  • Configuring Data Source as a JNDI Resource
  • Configuring Mail Session
  • Introducing JavaMail
  • Configuring Mail Session as a JNDI Resource
  • Summary
  • Appendix A Server.xml File
  • Containers
  • The Server Container
  • The Service Container
  • The Engine Container
  • The Host Container
  • The Context Container
  • Connectors
  • The HTTP Connector
  • The AJP Connector
  • Summary
  • Appendix B The Web.xml File
  • The Basic web.xml Configuration
  • Adding a Servlet Definition
  • Adding a Servlet Mapping
  • Configuring a Servlet Using Annotations.
  • Note continued: Adding a Servlet Filter
  • Configuring Filter Mapping
  • Configuring Servlet Filter Using Annotations
  • Configuring ServletContext Parameters
  • Configuring the Session
  • Adding a Welcome File List
  • Configuring Error Handlers
  • Configuring Mime Types
  • Configuring Web Application Security
  • Adding a Security Constraint
  • Adding a Login Config
  • Summary.