Documentation: Coding

Building a web application with Maven

Learn how to build and test a simple web application using Maven and Open Liberty.

Building fault-tolerant microservices with the @Fallback annotation

Learn how to add fallback behavior to microservice dependencies to manage the impact of failures.

Enabling distributed tracing in microservices

Explore how to enable and customize tracing of JAX-RS and non-JAX-RS methods by using MicroProfile OpenTracing on Open Liberty.

Develop and deploy your Liberty application with Docker

Learn how to containerize a microservice with Docker for iterative development

Configuring microservices

Learn how to use MicroProfile Config to externalize configuration data for an application.

Secure microservices with JSON Web Tokens (JWT)

Learn how to control user and role access to microservices with MicroProfile JWT

Adding health reports to microservices

Explore how to report and check the health of a microservice with MicroProfile Health on Open Liberty.

Consume an API served from another domain

Learn how to enable Cross-Origin Resource Sharing (CORS) in Open Liberty without writing Java code.

Separating configuration from code in microservices (interactive guide)

Learn how to perform static configuration injection using MicroProfile Config on Open Liberty. No installation necessary - complete the steps in your browser.

Providing metrics from a microservice

Explore how to provide system and application metrics from a microservice with MicroProfile Metrics on Open Liberty.

Consuming a RESTful web service with AngularJS

Explore how to access a simple RESTful web service and consume its resources with AngularJS in Open Liberty.

Documenting your RESTful APIs with OpenAPI

Explore how to document and filter RESTful APIs from code or static files by using MicroProfile OpenAPI on Open Liberty.

Building a web application with Gradle and Open Liberty

Learn how to build and test a simple web application using Gradle and Open Liberty.

Injecting dependencies into microservices

Learn how to use Contexts and Dependency Injection (CDI) to manage and inject dependencies into microservices on Open Liberty.

Limiting the number of concurrent requests to microservices – an interactive guide

Try it out live in the browser (no installation required!). How to use MicroProfile Bulkhead policy to limit requests and prevent faults from cascading to...