Moving a monolithic application to a modern cloud architecture can be difficult and often results in a greenfield development effort. However, it is possible to move towards a cloud architecture using Docker Enterprise Edition with no code changes and gain portability, security and efficiency in the process.
In the first post in this series, we discussed how you don’t need to do a full re-architecture of your application to microservices when using Docker Enterprise Edition.
In the second installment of the series, I go into the details of containerization of the application. This process builds containers using the application code as-is. I’ll follow three simple rules:
- Keep the existing architecture
- Keep the save version of the OS, components and application
- Keep deployment simple, i.e. static not elastic
I’ll also demonstrate how to use multi-stage build file to compile the code and deploy it to application server container such as Tomcat. It also shows how to deploy the application and database using a Docker Compose file.
To learn more about Docker solutions for Developers:
This syndicated content is provided by Docker and was originally posted at https://blog.docker.com/2018/03/video-series-modernizing-java-apps-developers-part-2/