This project provides a reference implementation for modernizing Java EE-based applications, running on present-day application servers (ie WebSphere Application Server), to run on the Cloud and outside the walls of traditional datacenters. This is an iterative process, as these applications have traditionally grown to be quite large over time, allowing teams to adopt and build best practices as they progress. This repository provides the content for both the overall strategy required for these types of modernizations, as well as reference implementation code that can be used to walk through the iterative process on your own.
The end result of this modernization effort is to build applications that are more nimble, more resilient, and more secure. At the "end" of this modernization, users will generally be building microservices-based applications. These applications contain components that are much smaller in nature, much more distributed, and much more autonomous. However, the power of these smaller components is realized when they are able to evolve much more rapidly than the existing traditional enterprise applications.
Contents
The Enterprise Application Modernization strategy that this reference implementation employs is built out through phases. These phases, documented below, provide teams, with existing application ownership, the ability to learn and grow into Cloud Native principles, while at the same time not sacrificing Production efficiency or outages to the business.
This phase is the ASIS, current state of the existing applications. These are often on-premises, with very high-touch deployments, complicated by many different "owners" and layers of inefficiencies.
Initial need to migrate to current runtimes, projects, and supporting libraries on WAS 8.5.5 or WAS 9.0, as it’s an intermediate modernization step and not a complete rearchitecture. This phase focuses on modernizing application components to present-day versions, as well as development environments and delivery pipelines to modern practices.
This phase focuses on moving core pieces of compute-based business logic to cloud-based services iteratively. This reinforces proper cloud principles, while not sacrificing production workloads and efficiency.
Additional networking and security practices are usually defined during this phase, as legacy Enterprise teams are exposed to public cloud provider configurability for the first time.
Most existing database and messaging capabilities are left in-tact during this phase, while the focus is on the core compute functionality in the new cloud environment.
A potential end goal for some Enterprise clients, the lifted application and all core critical components are moved to the cloud provider. Additional components may still exist on-premise, and depending on latency requirements, either directly connected to the cloud provider or cached via secured, higher-latency direct connections to the on-premises resources.
Adoption of newer cloud-based services, such as newer databases and messaging capabilities, are often adopted during this phase as well.
Through iterative assessment, teams move to microservices on a per-business capability basis, depending on prioritized pain-points the existing lifted monolith is still presenting. This is done repeatedly until the application teams can move at the speed the business requires.
The application is a simple store front shopping application, built during the early days of the Web 2.0 movement several years ago. As such, it is in major need of upgrades from both the technology and business point of view. Users interact directly with a browser-based interface and manage their cart to submit orders. This application is built using the traditional 3-Tier Architecture model, with an HTTP server, an application server, and a supporting database.
Application architecture details are detailed at length in the Customer Order repository.
Customer Order - Main Legacy monolithic application GitHub repository
Customer Order - Main microservices based application GitHub repository
These phases are iterative in nature and require the previous Phases to be completed before moving on. In the links below, you will be able to move through the Phases of modernizing the reference application leveraging your own cloud resources.
TBD
)