This article details Datalex's approach to modernizing its legacy Java EJB2 airline e-commerce system using AWS Experience-Based Acceleration (EBA) and agentic AI. The strategy focuses on incremental migration, leveraging a business service proxy and the Strangler Fig pattern to decouple and replace components without disrupting critical airline operations. Key architectural patterns for gradual modernization are highlighted.
Read original on AWS Architecture BlogDatalex, a long-standing provider of airline e-commerce solutions, faced the common challenge of evolving a mission-critical, deeply integrated system built on a mature Java and EJB2 architecture. The goal was to modernize the runtime and delivery model to accelerate new feature development for 'Modern Airline Retailing' while ensuring zero disruption to existing, continuous airline operations. This scenario emphasizes the difficulty of transitioning from monolithic, tightly coupled systems to modern, agile architectures, especially when high availability and data integrity are paramount.
Datalex's "Project Phoenix" adopted an incremental approach, utilizing an AWS Experience-Based Acceleration (EBA) workshop to prove feasibility and establish repeatable migration patterns. Instead of a 'big bang' rewrite, the strategy involved a phased modernization, with new Spring Boot microservices running alongside the existing n-tier architecture. This pattern is crucial for complex, high-stakes systems where a full rewrite is too risky or expensive.
Architectural Decoupling with Strangler Fig and Proxy
A core architectural decision was the use of a business service proxy and the Strangler Fig pattern. The proxy intelligently routes incoming requests to either the legacy n-tier system or the newly deployed Spring Boot microservices based on migration status. This allows for individual services to be modernized, tested, and validated in isolation, while the legacy system continues to operate, ensuring backward compatibility and minimizing disruption during the transition.
The target architecture on AWS utilizes Amazon ECS for container orchestration. Kong API Gateway provides protocol translation (REST to SOAP) and dynamic routing. An agent orchestrator with Amazon Bedrock AgentCore manages specialized AI agents for authentication, data retrieval, and reporting. Apache Kafka forms an event-driven backbone for asynchronous communication, and a robust observability stack (CloudWatch, Grafana, X-Ray) provides real-time monitoring across all components. This layered approach demonstrates how to integrate modern cloud-native services and AI capabilities with existing proven systems.