Welcome Microprofile and Open Liberty
Start course
Difficulty
Beginner
Duration
1h 18m
Students
85
Description

In this course, we will learn the concepts of microservice and spring framework with a focus on Cloud.

Learning Objectives

  • Learn about Cloud

Intended Audience

  • Beginner Java developers
  • Java developers interested in learning how to Build and Deploy RESTful Web Services
  • Java Developers who want to develop web applications using the Spring framework
  • Java Developers who want to develop web applications with microservices
  • Java Developers who wish to develop Spring Boot Microservices with Spring Cloud

Prerequisites

  • Basic Java knowledge
Transcript

Welcome MicroProfile and Open Liberty. Hello, dear friends. In this lesson, we will talk about the MicroProfile Community and the Open Liberty runtime environment. MicroProfile is an open-source community specification for enterprise Java microservices. The MicroProfile project was launched in June 2016 as a collaborative effort between Java application server vendors and the enterprise Java community to enable fast innovation. It is a community-driven specification designed to provide a baseline platform definition that optimizes the enterprise Java for microservices architecture and delivers application portability across multiple MicroProfile runtimes. You can see micro profile standard components through the schema. Let me explain them briefly. Open tracing: it allows you to get more targeted tracing results and more easily correlate tracing requests with the application URL. Open API: it defines a standard interface for documenting and exposing restful APIs.

Rest client: it provides a type safe approach to invoke restful services over http. Config: it provides an easy to use and flexible system for application configuration. Fault tolerance: it provides developers with several strategies, such as retry and fall back for dealing with failure. Metrics: it defines custom application metrics and exposes platform metrics on a standard endpoint using standard formats. JWT authentication: it allows you to add token-based authentication mechanisms to authenticate, authorize, and verify users with your services. Health: it exposes the availability of a MicroProfile runtime to the underlying platform. CDI, JSON-P, JAX-RS, JSON-B, and annotations point the technologies having the same name under the Jakarta platform. MicroProfile also has some standalone specifications that are not in the standard package. You can see them in this picture.

Open Liberty is a Java runtime environment, it is supported by IBM. It's the runtime that most closely implements newly announced features of MicroProfile properties. Besides, it is a lightweight open framework for building fast and efficient Cloud-native Java microservices. It allows developers to launch into dev mode and get coding, so no more manual compiling, packaging, and deploying is needed; it handles that job for you. You can get automated testing, debugger support, and a fast turnaround time in any editor. It lets you containerize your applications easily and deploy them to any Kubernetes Cloud. Moreover, you can find fertile library support for tracing your microservices. We've already made some projects using Open Liberty, I want to use it in some of our examples because it is the most active and probably the best runtime that implements MicroProfile libraries.

 

About the Author
Students
1922
Courses
64
Learning Paths
4

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.