{8.0.0-new, 8.1.2-deprecated} Microservice Overview

The Microservice API consists of a base class for defining executable microservices.

Features include:

The Microservice API consists of the following packages and classes:

By itself the Microservice API doesn't provided much functionality, but it does provide the basis for the {@doc juneau-microservice-jetty Jetty Microservice} described later.

The most-basic creation of a microservice from an entry-point method is shown below:

public class App { public static void main(String[] args) { Microservice .create() // Create builder. .args(args) // Pass in args. .build() // Create microservice. .start() // Start microservice. ; } }