mvreg / javaee-demo

Demo migrating a JavaEE application to Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java EE application migration

This example demonstrates the path to modernizing a Java EE application to a containerized infrastructure. We'll migrate the Java EE 7 Hands-on Lab to Docker. Furthermore, we'll update the presentation layer written in Java Server Faces to a React application.

Dockerizing the Movieplex7 applicaiton

The repository contains an application for browsing movies along with other related functions. Because we want to update the interface, we'll update the movie entity with extra attributes to make the presentation layer more descriptive. A Docker file builds the application and deploys it in Tomcat EE.

Updating the presentation layer

The Movieplex7 application includes a REST interface which simplifies updating the presentation layer. We'll use the React javascript framework to build a client that lists the movies and provides more detail about a movie. The client is also compiled and deployed in Docker.

Running the demo

To run the demo:

docker-compose up

To run the demo in Play-with-Docker:

git clone https://github.com/dockersamples/javaee-demo.git

cd javaee-demo

./add_pwd_host.sh

docker-compose up

About

Demo migrating a JavaEE application to Docker


Languages

Language:Java 65.4%Language:HTML 27.1%Language:CSS 4.3%Language:JavaScript 3.0%Language:Shell 0.2%