Over the next weeks I’ll give several talks how to get started with cloud-native applications implemented in Java. The talk is based on cloud-native-starter, which is an end-to-end application that demonstrates how to build microservices with Java and MicroProfile and how to deploy and run them on Kubernetes and Istio.
The deck summarizes the example application. You can get the PDF from our repo.
I have also recorded some demos (without tone):
- Demo 1 (slide 20): Resiliency
- Demo 2 (slide 22): Traffic management
- Demo 3 (slide 24): Authorization
- Demo 4 (slide 33): Logging
In the talk my colleague Harald Uebele and I’ll address how Kubernetes, Istio, Java EE and MicroProfile can be used together.
We suggest to use the Kubernetes and Istio platforms as much as possible to leverage standard orchestration platforms and service meshes and to use the same functionality for polyglot microservices.
Language specific frameworks like MicroProfile should especially be used for application specific logic which platforms can not handle, for example fine grained authorizations or application specific metrics.
If you want to learn more about cloud-native applications, get the code of the example application and follow the instructions to set up a local Minikube environment and to deploy the microservices. If you have already a Kubernetes cluster, the setup should not take longer than half an hour.
You can also run this application on the IBM Cloud Kubernetes Service which is a managed service that comes with an Istio plugin. IBM provides an IBM Cloud Lite account which is free, no credit card is required and there is no time restriction. In order to use the Kubernetes service, contact Harald and myself to get a promo code. Then follow these instructions to deploy the services to the IBM Cloud.