Documentation: Coding

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.

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...

Creating a hypermedia-driven RESTful web service on Open Liberty

Learn how to use Hypermedia as the Engine of Application State (HATEOAS) to drive your RESTful web service on Open Liberty.

Using @CircuitBreaker for fault tolerance on Open Liberty – a MicroProfile interactive guide

Try it out live in the browser (no installation required)! How to build fault tolerant microservices with MicroProfile CircuitBreaker.

Card example

Deploy Java OpenAPI microservices in containers using Liberty, Kubernetes, and IBM Cloud

Learn how to deploy Java Open API microservices on WebSphere Liberty in Docker containers running on various flavors of Kubernetes.

How to create a RESTful web service with Open Liberty

Create a RESTful web service that runs on Liberty. WebSphere Liberty is built on the Open Liberty project, which provides full Java EE and MicroProfile...

Generate a web application using Maven

A short video on how to generate a web application using Maven which Maven will build, then test and run on WebSphere Liberty.

Building and running Liberty apps with Maven in Eclipse

Maven builds and runs Java applications, pulling in dependencies the application needs to run (including, for Liberty applications, Liberty itself and any features required). Patrick...

Collect metrics from Liberty apps and display in Grafana

A simple sample of how to add custom metrics to your Liberty applications using the Dropwizard metrics Java API and JMX MBeans, collect them using...

Asynchronous I/O: What is it and why?

Asynchronous I/O was added in Servlet 3.1 and, in my opinion, is extremely useful. All applications should make use of it.

Writing tests for Liberty apps

How to write tests for Liberty apps, both secured and unsecured, and running them using Maven.

Developer tools

Looking for information about developer tools to use with WebSphere Liberty? Start here...