Time for action – creating a standalone application
We are going to package our project and then close Eclipse. We will manually configure the configuration files of Apache Tomcat to create a user who has access to the Manager App and increase the default size of the deployable applications. We will initiate Apache Tomcat and, through a web browser, start the Manager App. Within the Manager App, we will select the project we packaged earlier and deploy it so that we can execute our app in a standalone way. The steps to do this are as follows:
- We will create a package for the distribution of our application. We will head to the Project Explorer panel, select the node named prd5Ch14, right-click on it, and go to Export | WAR File. We will be presented with a window on which we will configure the following:
- For Web project, we will select our project (prd5Ch14).
- For Destination, we will select a path, for example,
/home/user/prd5Ch14.war
. - Regarding Target runtime, we will check the option...