Modernizing Java Apps for IT Pros [Videos]
See what role Docker containers can play in modernizing your Java apps and their infrastructure, particularly in preparation for cloud deployments.
Join the DZone community and get the full member experience.Join For Free
Today, we start releasing a new video series in Docker’s Modernize Traditional Apps (MTA) program. These are the first 4 of a 5 part video series in Docker’s Modernize Traditional Apps (MTA) program, aimed at Java IT Pros. The video series shows you how to move a Java EE app on JBoss Wildfly to a Docker container and deploy it to a scalable, highly-available environment in the cloud – without any changes to the app.
Part 1 introduces the series, explaining what is meant by “traditional” apps and the problems they present. Traditional apps are built to run on a server, rather than on a modern application platform. They have common traits, like being complex to manage and difficult to deploy. A portfolio of traditional applications tends to under-utilize its infrastructure and over-utilize the humans who manage it. Docker Enterprise Edition (EE) fixes that, giving you a consistent way to package, release and manage all your apps without having to re-write them.
Part 2 shows how easy it is to move traditional apps to Docker. I start with a Java EE application running on Wildfly and package the entire monolithic application as a Docker image. Then, I run the application in a container on my MacBook Pro. I do that without changing the app and without needing to access the original source code.
Part 4 shows how to share the application images through a registry, in this case Docker Hub. A registry allows you to share the image publicly. In addition to sharing images, Docker Hub and Docker Trusted Registry support automating the build process. I’ll connect the GitHub repository with the application source code to the repository and configure it build a new image every time code is pushed. Updated images of the application will always be available for deployment.
In the upcoming Part 5, I’ll deploy the application as a cluster in the cloud using Docker EE. Migrating traditional apps to Docker EE gives you increased efficiency, portability and security.
For more information about modernizing traditional applications, check out these links:
Published at DZone with permission of Sophia Parafina, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.