Skip to content

rstrazza/taking-javaee-to-the-clouds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaOne 2017

Session

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:

Links:

Java EE Application

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:

The war file

Options for obtaining the war file used across the examples:

  1. Check out the code and run:
mvn clean package
  1. OR, use the war file available here

The Dockerfile file

Creating the docker image used across the examples:

  1. Check out the code and run:
mvn clean package
  1. Build the docker image:
cd src/docker
./build.sh
  1. Run the docker image:
./run.sh

Alternatively, just pull the docker image directly from Docker Hub:

docker pull rstrazza/cargotracker-payara-server

Cloud Providers

Amazon Web Services

Jelastic

Microsoft Azure

Java on Azure provides support to Java applications at two levels:

  • PaaS:
  • 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

Google Cloud Platform

Oracle Cloud

References

Cargo Tracker

Releases

No releases published

Packages

No packages published