
Learn to set up and manage Tomcat, install web apps, and configure encryption. Explore Tomcat's core components, Catalina, Jasper, and Coyote, and how they handle web interfaces and pages.
Install and configure Java, understand the JVM and JRE versus the JDK, and set up Tomcat using VirtualBox and Vagrant on Ubuntu, including configuring the JAVA_HOME environment variable.
Install Tomcat 8 for your application, noting active versions 7, 8, and 9. Use apt-get for setup, explore Tomcat docs and examples, and postpone the admin interface.
Understand what a servlet is and how Tomcat’s web container processes requests using request and response objects, and contrast that with gsp, which resembles html with Java.
Explain how xml config files power Java apps like Tomcat, compare xml with json and yaml, cover elements, attributes, nesting, and how duplicates become arrays to ensure valid, readable configs.
Explore Tomcat config files, including main web app config, server.xml and context.xml, learn load on startup, environment variables, and logging, with notes on gui tools and source control.
Extend the doGet method of the simple hello world servlet to return hello world in Tomcat, explain its stateless nature, deploy a war file, and access it at /hello.
Learn how Tomcat uses the Julie java util logging engine to control log visibility from off to finest, deploy apps like logit.war, and view logs in /var/log/tomcat8.
Explore how SSL/TLS encrypts browser-to-server communications with public and private keys, certificates, and a shared secret, and set up a self-signed certificate in Tomcat using keytool and keystore.
Install and configure Tomcat manager and admin user with a gui role; access manager to manage apps, start and stop deployments, deploy and undeploy, and view sessions and server diagnostics.
Deploy apps with the tomcat manager by uploading a war file and tagging it with a version using two hash signs. Explore deployments, session handling, and expiring sessions.
Apache Tomcat is a web server popular with Java programmers and system admins who need a superior web server to publish their web apps. Written in Java for the Java community, Tomcat is a free production grade web server that is open source, cross-platform (runs on Unix, Linux, Mac OSX, Windows), and very easy to install
In this course, you'll learn all the core concepts of using Tomcat such as all the tools and major components.
First, we'll show you how to set up Tomcat and use it to install web applications.
Then, we'll get into some more advanced concepts, including how web servers handle encryption and how to encrypt web traffic with Tomcat.
Also learn how to deploy a web app using Tomcat Manager, the web-based UI for managing a Tomcat instance.
By the end of this course you should have a solid understanding of using Apache Tomcat.