Lots of information.
Matthew Wise - Matthew Wise
Tomcat - Java Servlet container courses
|atomjeeadm||Apache Tomcat and Java EE Administration||21 hours||Teaches attendees the fundamentals of administering Apache Tomcat and other Java EE environments. The course is a mixture of lectures and hands-on exercises. Delegates learn by doing, with immediate opportunities to apply the material they learn to real-world problems. Introduction to the Java Platform The JVM, JRE, and JDK Java SE versus EE Apache Tomcat as a lightweight servlet/JSP container, and how this differs from full-blown Java EE application servers such as WebLogic, WebSphere, JBoss, and GlassFish Architecture of Applications installed to Tomcat Understanding classes versus JARs Servlets JSPs JavaBeans JNDI and datasources Resources that your applications may call on other servers (web services, EJBs, etc.) Installing Tomcat Installing the Java Runtime Environment (JRE) Tweaking the JRE for performance Performing the actual Tomcat installation Examining the Tomcat installation directories bin conf lib logs temp webapps work Configuring Tomcat server.xml (detailed walkthrough) web.xml context.xml Deploying Java EE Applications Packaging JARs for deployment to Tomcat Packaging WARs for deployment to Tomcat Application server-neutral configuration versus application server-specific configuration Overview of EARs and other archive types not supported by Tomcat, but supported by other Java EE application servers Versioning Java EE applications Managing the deployment of updated applications Tomcat Valves AccessLog and FastCommonAccessLog RequestFilterValve SingleSignOnValve (by request) RequestDumperValve (by request) Memory management and JMX monitoring Understanding Java garbage collection Using JAVA_OPTS, JMX and JConsole to monitor and tune Tomcat memory usage Sizing Tomcat's JVM memory heap Using JMX and JConsole to configure Tomcat via Tomcat's MBeans Updating Tomcat's configuration via JMX "on the fly" without restarting Tomcat Load testing with JMeter Using VisualVM (new monitoring tool built into JDK 6) and PSI Probe Controlling JMX MBeans via Ant Logging and Troubleshooting JULI logging log4j logging Understanding exceptions and thread dumps Troubleshooting errors that occur in Tomcat Troubleshooting errors generated by your deployed applications Troubleshooting strategies applicable to application servers other than tomcat Connecting databases with Tomcat applications Classic JDBC approach Better approach: JNDI resources Setting up and monitoring database connection pools Security File system security Java security manager Realms, authentication, and authorization SSL Java VM and Tomcat Performance tuning strategies Additional JVM tuning tips Enabling parallel garbage collection Building native connectors Disabling/removing unneeded applications Tuning incoming connections and database connection pools Turning off Jasper development mode Precompiling JSPs Preloading servlets Application-specific tuning suggestions Tuning levers available in other application servers The World Beyond Tomcat: Understanding Java EE Applications Explanation of the Java EE APIs not supported by Tomcat: EJB, JMS, and many others 3rd party application frameworks overview (what they are and what administrators should know): Spring, Struts 1/Struts 2, JSF (including a discussion of ICEfaces, RichFaces, etc.) Data tier frameworks and what administrators should know (Hibernate, JPA, etc.) Features offered by WebLogic, WebSphere, and JBoss that are not found in Tomcat Tomcat Other Features Memory leak prevention and detection Servlet 3.0, JSP 2.2, and EL 2.2 support (and the practical implications of this for Tomcat admins) Cross-site request forgery prevention (and how to configure) How Tomcat 7's new session management features prevent session fixation attacks Alias support (which allow static content to be stored outside the WAR file) Running Tomcat behind Apache httpd or IIS [this section would be taught using your web server and connector module of choice] Why run Tomcat behind Apache httpd or IIS? Installing mod_jk (Apache or Tomcat) or mod_proxy_ajp and mod_proxy_balancer (Apache 2.2 or later only) Proxying traffic to Tomcat via AJP Monitoring the status of your web server's connection to Tomcat Load balancing Tomcat via mod_jk or mod_proxy_balancer Tomcat Clustering Configuring mod_jk (in Apache or IIS) or mod_proxy_balancer (Apache 2.2 or later only) as a load balancer Hardware load balancing as an alternative to software load balancing Sticky sessions Configuring a shared session back-end FileStore/JDBCStore (older approach, generally not recommended) Using the <Cluster> tag Configuring the application to be distributable Setting up and testing failover|
|apachetomcat||Apache Tomcat Administration||21 hours||An overview and explanation of how Tomcat relates to Java EE (J2EE) and compares to other application servers The Installation and setting up Tomcat on both Windows and UNIX-type environments Deploy, support, and troubleshoot applications on Tomcat Navigate Tomcat's directory structure Tomcat's architecture and configuration files: server.xml, context.xml, .properties, etc. Web application structure and configuration: web.xml Secure Tomcat and applications running on it and Setting up Tomcat for SSL Tune Tomcat's performance Exploration of different load-balancing and high-availability strategies with Tomcat Tomcat Overview Quick overview of Apache Apache Software Foundation Jakarta Project Tomcat Licensing J2EE Technologies Java Web Development Servlet/JSP Containers Java Web Applications An Overview of Servlets The Advantages of Servlets & The Lifecycle JavaServer Pages JSP, JavaBeans and JSP Tag Libraries MVC frameworks Installing Tomcat Downloading and Installing Apache Tomcat Download and install a JVM, Download Tomcat, Download and install Ant Windows installer Java memory management and tweaking the JVM for performance Tomcat Directories Tomcat Installation Directories, Tomcat Directory Structure, The bin Directory, Common and shared Directories The conf Directory, logs Directory. server directory, work Directory, temp Directory, webapps Directory Stucture of the Web Application Directory Structure Deploying HTML and JSP Pages and Web Context JSP Page and the Generated Code Deploying a Web App ConfiguringTomcat Configuration of Tomcat and looking at the Techniques Tomcat's Component Architecture The <Server> Element, <Service> Element, <Connector> Element, <Engine> Element, <Host> Element, <Context> Element, <Realm> Element, <Valve> Element, <Listener> Element, <Loader> Element, <Manager> Element Server.xml File Modifying server.xml Web Applications Web Application Administration & Deploying Directory Structure of a Web App web.xml configuration file Deployment Descriptors The <web-app></web-app> Element Mapping a Servlet to a URL The <resource-ref></resource-ref> Element The <env-entry></env-entry> Element The <ejb-ref></ejb-ref> Element A Sample web.xml file Deploying a Web Application Tomcat's default conf/web.xml file Tuning default JSP and Static-content servlets Tomcat Manager Deploying and Managing Web Application using the Tomcat Manager Starting the Tomcat Manager and looking at Tomcat Manager Looking at the Manager Section Applications, Deploy, Server Information Creating a WAR File Lab 4: Deploying a WAR File Java Management Extensions (JMX) on Tomcat Tomcat integration with Ant Advanced Features Using Some of the Advanced Features of Tomcat Valves, Access Log Valve, Single Sign-on Valve Remote Address Filter and Remote Host Filter Request Dumper Valve Configuring the JNDI Resources JNDI: Java Naming and Directory Interface and Defining a JNDI Resource The <environment></environment>Element and The <resource></resource>Element Configuring a JavaMail Session Global Resources JDBC Connectivity Configuring Tomcat to Connect to a Database Overview of JDBC JDBC Drivers Connecting to a Database and Connection Pools Download and Install MySQL Configure MySQL for Tomcat Create a Database in MySQL Download and Deploy a JDBC Driver Defining a DataSource in Tomcat and Defining a Data Source Manually Modifying the Deployment Descriptor Detecting and closing leaked database connections Tomcat Security Looking at Security on Tomcat and the configuration Security Considerations File System Security and Filesystem Recommendations Java Security Manager Granting Permissions to Java Apps and looking at Java Permissions Creating and Adding Your Own Policies Enabling the Java Security Manager Security Manager Tips and Security Realms Looking at the different Types of Realms and Configuring a Realm Users and Roles (authentication and authorization) Creating a Data Source Realm The protection of passwords FORM-based authentication Configuring Tomcat for SSL Requiring SSL in applications Connecting Connect Tomcat to Apache Looking at Connectors HTTP Connectors Advantages of Using a Web Server Connector Protocols Configure an AJP Connector Download mod_jk Create the mod_jk.conf file Start Tomcat Create a Worker Configure httpd.conf Test the Setup Load balancing applications across multiple Tomcat instances Issues with load balancing Server affinity via sticky sessions Shared session storage Replicated sessions via Tomcat clustering Shared Hosting Tomcat Virtual Hosting Configure Tomcat to enable virtual hosting as a stand-alone server Configure Tomcat to enable virtual hosting using jk2 or webapp. Configure Tomcat as Stand-alone Configure Tomcat with AJP Separate JVM for Each Host Load Testing JMeter Application Load Testing with JMeter Install and run JMeter Creating a Test Plan Configure the Thread Group and adding a task Configure the HTTP Request Add a Report Listener Run the Test Plan Viewing the Results|
|apachetomcatw||Working with Apache Tomcat||21 hours||Audience: Developers Format: Hands-on exercises for about 70 % of time Duration: This course can be delivered as either a 2 day (14 hours) or 3 day (21hours) event. Introduction to JEE 7 standard Overview Versions differences Application Servers types and profile compliance Web Tech Introduction What is the WWW HTML basics ( Form, HREF, ...) TCP basics and the HTTP protocol ( GET, POST, ...) WebApp Standard ( 3.0/3.1 ) Older versions comparison Layout, Deployment Descriptor XML Deployment Descriptor Java Servlets ; The Life cycle HttpServletRequest , HttpServletResponse Configuring a Servlet in a Servlet Container Understanding the Contexts/Scopes Session Context / HttpSession Application Context / ServletContext Request Context / HttpServletRequest Java Server Pages (JSPs ) Overview JSP Directives, JSP Scripting, Configuring JSP groups in XML JSP written in XML format and advantages Filters and Listeners Thread safety tips for webapps Multipart Asynch Way What is a WebSocket Overview of Apache Tomcat 7/8 The Apache Tomcat Servlet ContaineServer Overview packages / versions / standard versions / ... The Tomcat Manager Web Application Specialized Realm Implementations Tomcat Valves Tomcat Architecture Server Service Connector Engine Host Context Connector Engine Host Context Installing and Configuring Tomcat Requirements for Installing and Configuring Tomcat Installing Tomcat Using Windows Service Installer Manually Installing on Windows Installing to Linux Configuring and Deploying Web Applications to Tomcat The Tomcat Directory Structure Tomcat bin scripts Passing Runtime Options to Catalina Script Tomcat Configuration Files Java Web Applications Manually Deploying Web Applications to Tomcat Deploying WAR Archive Other Methods of Deployment Configuring Hosts and Contexts Configuring Hosts Configuring Web Application Contexts Working with Eclipse IDE NetBeans way How to Debug remote Tomcat Instance Tomcat Web Application Manager 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 Application Reloading an Existing Web Application Sessions Stop, Start, Undeploy Tomcat CLI Web Application Manager Introduction to Ant, Installing Ant Configuring Tomcat’s Ant Tasks Running Ant Scripts Tomcat Embedded Requirements Implementing a Sample Application with Embedded Tomcat Testing Servlets with Embedded Tomcat JNDI with Tomcat Introduction to JNDI JNDI API Overview Tomcat JNDI Configuration Introducing JDBC Configuring the Database Connection Configuring Data Source as a JNDI Resource Configuring Mail Session Introducing JavaMail Configuring Mail Session as a JNDI Resource Set Up a server for serving Tomcat webapps Introduction and alternatives and motivations Using Apache HTTP or IIS in front AJP, ModProxy, Jconnector, ... Example on how to set up multiple Tomcat Instances, with different configurations (Java version, Memory, ...) on same host. Architecture Best Practices MVC Model 2 with standard components Examples of architectures Overview Spring MVC way Pure JEE way MVC on client side with angular Packaging War archives Using Ant Using Maven Tomcat Performance Tuning Introduction The Java garbage collector Load-Testing Tools Jmeter External and Internal tuning tips Sizing JVM Heap Using JAVA_OPTS ... Exercises|