Java Application for Tomcat
Objective
You have a Java application that is built with Maven and the source code is managed in a GIT repository. The goal of this tutorial is to automate the build and deployment across multiple environments. This automation will include:
Cloning the Java application code from a GIT repository
Compiling and packaging the application into a WAR file
Deploying the WAR file to Tomcat servers in multiple environments
We will walk through each of the FlexDeploy features that will be created/configured to accomplish this goal and have the application deployed in a very short amount of time.
The tutorial does not cover every feature or configuration option available in FlexDeploy.
Create Java Application For Tomcat using Blueprint
The assumption is that you have FlexDeploy installed and ready for use. When logged into the FlexDeploy, you will see the Home page. Click on the + icon on the top and click “Create Project” to create a new project.
The screen displays the list of blueprints technologies supported by the FlexDeploy. Select the blueprint from the list or you can search for the blueprint in the search filter present in the top. In our case, we will select the Java Application blueprint.
General Configuration
Scroll through this guide to fill in the blueprint properties. Select the Build and Deploy options. In our case, we select Maven as Build Option and Tomcat as Deploy Option.
Project Info
Property Name | Value for this tutorial | Description |
---|---|---|
Application Name | MobileBanking | The Application Name, artifact id for maven, JDeveloper jws name. |
Description | Creating SOA project using Blueprints | Brief description of the application. |
Source Control
Click on source repository dropdown. If you have already created a connection to your source code repository, select it from the list.
Otherwise add one by clicking on “Create new Source Repository”.
Inputs Info
Field | Required | Description |
---|