Taking Java EE to the Clouds CON3419
This session is a fast-paced tour of the many options available for running Java EE applications in the cloud. It covers bare metal IaaS options such as AWS; PaaS options that provide native support for Java EE, such as Oracle Java Cloud Service/BlueMix; and everything in between. It also discusses how to deploy Dockerized Java EE applications to options such as Jelastic as well as running Java EE applications by using fat-jar solutions such as WildFly Swarm on bare JVM-based platforms such as Heroku. The presentation includes plenty of code examples and demos along the way.
Track: Java, Cloud, and Server-Side Development Experience Level: Introductory
Speakers:
- Rodrigo Bortoloto, CapTech
- Ryan Cuprak, Dassault Systemes
- Reza Rahman, CapTech
Links:
The goal of the demos is to deploy the Cargo Tracker application using different packaging styles targeting multiple Cloud Providers at different service levels.
The application used is a fork of the Cargo Tracker JEE Application available in this git repository
The deployment artifacts were manually built by following one or more of the steps below:
Options for obtaining the war file used across the examples:
- Check out the code and run:
mvn clean package
- OR, use the war file available here
Creating the docker image used across the examples:
- Check out the code and run:
mvn clean package
- Build the docker image:
cd src/docker
./build.sh
- Run the docker image:
./run.sh
Alternatively, just pull the docker image directly from Docker Hub:
docker pull rstrazza/cargotracker-payara-server
Java on Azure provides support to Java applications at two levels:
- PaaS:
- Web Apps support Tomcat and Jetty
- IaaS:
- Build everything. Similar approach demonstrated in the AWS EC2 Instances example
- Preconfigure Virtual Machines with Oracle WebLogic Server and IBM WebSphere Application
Given the similarity with other platforms and lack of Java EE support, evaluate Azure at a later time.
Azure Container Service would be an option for deploying Java EE applications packaged in a Docker container.
Reference
Cargo Tracker