Java EE point-of-sale platforms rebuilt as microservices on AWS
Point-of-sale platforms ran on premises as Java EE monoliths, single large applications. Bluemesh's lead architect led their modernization to Spring Boot microservices on Amazon ECS, with traffic and monitoring designed with the services.
At a glance
- Service
- App Modernization, Cloud Infrastructure
- Cloud
- AWS
- When
- Between 2016 and 2022
- Who
- Bluemesh's lead architect, in an earlier role. Client not named.
The story
The situation
Point-of-sale platforms ran on premises as Java EE monoliths on IBM infrastructure. A point-of-sale system cannot stop: when it is down, the business cannot sell.
What was decided, and why
- Monoliths split into services. Refactored into Spring Boot microservices, so each part can change and scale on its own.
- Containers on AWS. Images in Amazon ECR, running on Amazon ECS.
- One entry point for traffic. Amazon API Gateway and load balancing in front of the services.
- Monitoring built in. Amazon CloudWatch and Grafana.
Who did what
Bluemesh's lead architect led the modernization end to end.
How the parts fit
The parts used in this project, in the order a request moves through them.
- Stores and terminalsevery sale
- Amazon API Gatewayone entry point
- Load balancingspreads traffic
- Spring Boot serviceson Amazon ECS
- Amazon ECRcontainer images
- CloudWatch and Grafanamonitoring
Technology used in this project
- Java EE to Spring Boot
- Microservices
- Amazon ECS
- Amazon ECR
- Amazon API Gateway
- Load balancing
- Amazon CloudWatch
- Grafana
How Bluemesh builds it today
A reference architecture for a new project, based on current Azure and AWS guidance. It describes what Bluemesh would build now, not what was built in the project above.
Landing zone
- AWS Control Tower and AWS Organizations, service control policies and IAM Identity Center.
Compute and traffic
- Amazon ECS on AWS Fargate across three Availability Zones, an Application Load Balancer with AWS WAF, and Amazon API Gateway.
Data and events
- Amazon Aurora PostgreSQL or Amazon RDS with Multi-AZ, and an Aurora global database or cross-region backups when the recovery target requires it.
- Amazon EventBridge, SQS and SNS, with the outbox pattern, so no sale is lost between services.
Delivery
- Terraform or AWS CDK, GitHub Actions or AWS CodePipeline with OIDC, and blue-green deployments.
Observability
- OpenTelemetry through the AWS Distro for OpenTelemetry into CloudWatch Application Signals and X-Ray, with Amazon Managed Grafana.
Security and recovery
- Secrets Manager, KMS and least-privilege IAM.
- Validated point-to-point encryption (P2PE) terminals and processor tokenization keep most services out of PCI DSS scope.
- Disaster recovery chosen by the downtime and data loss the business accepts: backup and restore, pilot light, warm standby, or multi-site active-active. Reviewed against the AWS Well-Architected Framework.
Questions
How does Bluemesh modernize a point-of-sale system without stopping sales?
One capability at a time behind a gateway, with old and new running side by side, and traffic switched only when the new service is proven.
ECS or EKS for Spring Boot microservices?
ECS on Fargate is simpler to run for most teams. EKS fits when you need Kubernetes tooling or run on more than one cloud.
Which AWS disaster recovery strategy should we use?
The one that matches the downtime and data loss you can accept. Backup and restore costs the least and recovers the slowest; multi-site active-active recovers the fastest and costs the most.
Facing the same problem?
Send a few lines about your system. You get a reply with the first questions to answer and a way to start small.
Talk to BluemeshUpdated:
More work
- AI agents for Jira, Confluence and GitHub, inside Microsoft Teams through MCP
- Chat with your business data, without letting AI write SQL
- A document assistant designed so each person sees only what they are allowed to read
- A production generative AI platform with six model providers and more than 40% fewer prompt tokens
- From ASP.NET Web Forms to .NET microservices on Azure, with no big-bang rewrite
- Enterprise architecture aimed at sales: a new biotechnology product line in the public supply chain
- SAP Business One integrations that keep each system independent
- Moving a large group of servers to the cloud, riskiest dependencies first
- An AI assistant that puts the caller's history on the representative's screen