A Technical Deep Dive on Liberty

Maybe you've heard of Open Liberty and WebSphere Liberty, the lightweight, cloud-optimized Java runtime for cloud-native applications and more. Maybe you've tried it but only kicked the tires a bit. Whether you're a Liberty novice or have experiences with Liberty, there will be something in this session for you. This lab will take you through Liberty concepts hands-on, and explain how to get the best out of Liberty for development, build and deployment for the cloud. Join us to have some fun!

 

Background

Liberty is a cloud-optimized Java runtime that is fast to start up with a low memory footprint and a development mode, known as dev mode, for quick iteration. With Liberty, adopting the latest open cloud-native Java APIs, like MicroProfile and Jakarta EE, is as simple as adding features to your server configuration. The Liberty zero migration architecture lets you focus on what’s important and not the APIs changing under you.

This lab is an end-to-end tutorial on cloud-native Java application and deployment using Liberty and open cloud-native Java APIs. You will learn how to build a RESTful microservice on Liberty with Jakarta EE and MicroProfile, documenting your REST API, persisting data to a database, securing your applications using JSON Web Tokens (JWT), testing your applications and more. You will use Maven throughout this exercise to build the microservice and to interact with the running Liberty instance. Lastly, you’ll build a container image for the microservice and deploy it to Kubernetes using the Open Liberty Operator.

 

Lab Instruction

Access the lab by clicking the following link.  To prevent improper use, you will be asked to login either using one of the supported Single Signon Providers or by creating a new account with IBM Developer Skills Network. Then, you will be provided with a cloud-hosted environment with a cloud-based IDE and terminal that you can use to complete the lab.

 


Alternative

Run the lab locally