From the course: Java EE: Application Servers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Deploy WAR files in Tomcat
From the course: Java EE: Application Servers
Deploy WAR files in Tomcat
- [Instructor] Management at H+ Sport Beverage has request that we go forward with deploying of our application to the Apache Tomcat server. We know this will be the first in a series of deployments where we'll later add to our app, Java EE, and database calls. There are two ways you can deploy WAR files. We're going to first consider how to use Tomcat manager app. Now by default, Apache Tomcat comes pre-installed with a manager application. As you remember, the manager app dashboard console shows you all the web applications deployed and then below this, you have a section with different text fields for deploying WAR files. We'll skip this one and go on down to a second one, where it says WAR file to deploy. Now before we can deploy our WAR file, we need to make sure that our practice files, under 01_04_begin are compiled. Using a terminal window, we'll navigate to this location, and we'll run the command gradle clean build. Back in our browser, we're going to navigate to Choose…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Tomcat and TomEE differences2m 44s
-
(Locked)
Install and set up Tomcat3m 20s
-
(Locked)
Tomcat web console5m
-
(Locked)
Deploy WAR files in Tomcat2m 41s
-
(Locked)
Add database drivers in Tomcat4m 14s
-
(Locked)
Address missing JEE capabilities5m 57s
-
(Locked)
Tomcat clustering4m 22s
-
(Locked)
Pros and cons of Tomcat and TomEE2m 41s
-
-
-
-
-