IBM and Red Hat — the next chapter of open innovation. Learn more ›
Get the code
by Animesh Singh, Anthony Amanse | Updated September 3, 2018 - Published June 11, 2018
No application is an island. Today, developers are adopting integrated microservices and cloud-native microservices architectures. But with current application architectures, microservices need to co-exist in polyglot environments. In this code pattern, you learn how to deploy a Java microservices application that runs alongside other polyglot microservices, using service discovery, registration, and routing.
In a polyglot world, microservices need to be deployed together and can’t simply rely on language native frameworks for service discovery, routing, and other tasks. This pattern shows you how to deploy a Java-based microservices application called “GameOn!” within a polyglot ecosystem.
The application is a throwback text-based adventure game built to help you explore microservice architectures and related concepts. The app runs on a Kubernetes cluster and has two types of microservices: core and platform. The core microservices are written in Java and use polyglot services for support. With this kind of pattern, microservices either use sidecars as processes inside the same microservice container or use separate container sidecars to leverage platform services for service discovery, registration, and routing. All of the microservices run in Docker containers managed by a Kubernetes cluster.
Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README.md file.
July 25, 2019
September 5, 2019
September 12, 2019
Back to top