Going Multi-Cloud with MicroProfile & Jakarta EE: From Empty Class to Microservices in Clouds
Open cloud-native Java is here to stay and so is MicroProfile & Jakarta EE. They are becoming popular options for people who want light-weight APIs for building and deploying cloud-native Java applications. This workshop will take you through the journey of creating a microservice using MicroProfile & Jakarta EE APIs from scratch, combining it with other microservices, and containerising them. Then we will move onto how these APIs work in a Kubernetes environment, what to consider, before deploying them to clouds and demonstrating how these APIs can be used to create services that are always available and optimised in a cloud-native way.
Why this workshop?
This workshop will take you through the journey of creating a microservice using MicroProfile & Jakarta EE APIs from scratch, combining it with other microservices, and containerising them. Then we will move onto how these APIs work in a Kubernetes environment, what to consider, before deploying them to clouds and demonstrating how these APIs can be used to create services that are always available and optimised in a cloud-native way.
Who is it for?
This workshop is for Java developers that want to start building, deploying, and managing microservices on the cloud. We will be using a fully open source stack so users can try out any layers of the stack with their current stack. We have different instructions for different cloud providers so attendees can pick the cloud provider they prefer. Once this workshop has been completed the attendees will have a good knowledge of MicroProfile, Jakarta EE, Open Liberty and how to deploy these services to a cloud in a cloud native way.
What will you learn?
The plan for this workshop is for the attendee to create system and inventory microservices using guides on the learning environment Skills Network Labs (SNL). This will include the following specs from Jakarta EE and MicroProfile: JAX-RS, JSON-B, REST-CLIENT, CDI and Config. Once we have our two microservices built we can move onto the next section of the workshop that is focused on building and deployment of these applications in a containerized environment. Firstly, we will deploy these microservices to Kubernetes and showcase how to vertically scale them, then we will look at adding in configuration using MP Config and Kubernetes secrets. Finally, add in health checks with MP Health and demonstrate how they work by taking microservices offline. The final section will be local (with 1 SNL option). This will give the audience the choice of what cloud they would like to use which we have guides that cover the main providers. The SNL option here would be to use our OL Operators guide with OpenShift on the SNL environment to give users a chance to continue if they don’t want to sign up to a cloud provider.
Who is the trainer?
Jamie Coleman is a software developer and Advocate for Open Liberty, MicroProfile and Jakarta EE based at IBM’s R&D Laboratory in Hursley, UK. He is a subject matter expert in containerised solutions and takes a keen interest in emerging technologies with experience in Maven, git, Jenkins and microservice architecture. He fell in love with Java at University and has gone on to talk at many conferences about using Java with microservices. He has worked on a wide variety of projects such as modernizing CICS mainframe testing infrastructure, creating and automating the creation of Docker images for IBM’s products, contributing to a DevOps pipeline offering and creating web applications for events at the Lab. His recent passion is around raising awareness about energy consumption of technology and discovering ways to help reduce technologies carbon footprint.
The workshop will be run on our Skills Network learning environment hosted in the cloud that provides all the pre-reqs so all attendees need is an up to date browser and an account which can be created in a few seconds on the day. If for whatever reason attendees do not want to sign up to our learning environment then we also have these modules available offline.
Developer Advocate @ IBM