A simple example with two applications:
- The Quarkus one has a database connection with Panache and PostgreSQL.
- The Spring MVC has the UI and consumes the Quarkus API.
- Java 11
The following files and additions make the framework work. If using this project as a reference for your own existing project, replicate the changes below to your project.
.platform/routes.yaml
: Platform.sh allows you to define the routes..platform/services.yaml
: Platform.sh allows you to completely define and configure the topology and services you want to use on your project..applications.yaml
: You control your application and the way it will be built and deployed on Platform.sh via a single configuration file.
- Should I use microservices?
- Sam Newman
- Microservices and the New Holy Grail of Scalability
- Microservices in the Cloud, Part One
- Microservices in the Cloud, Part Two
- Apache Kafka: Streamline Communication Across Your Microservices
- Why our team cancelled our move to microservices
- Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith 1st Edition