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

Deploy WAR files in Tomcat

From the course: Java EE: Application Servers

Start my 1-month free trial

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…

Contents