Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.
/ javaee-demo Public archive

Demo migrating a JavaEE application to Docker

Notifications You must be signed in to change notification settings

dockersamples/javaee-demo

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published