Java framework builds microservices as Docker containers

The java-micro platform lets developers build and configure environment, command-line, and external services


Implementing microservices in Java has become a top priority at Oracle, which is rebooting Java Enterprise Edition for microservices and cloud deployments. Meanwhile, another microservices effort for Java has emerged separate from Oracle.

Attributed to Sixt, a rental car service operating worldwide, the lightweight java-micro framework enables developers to easily set up microservices in Java. Developers can build services as a Docker container or fat jar package, and they can configure environment, command-line, and external services.

The framework features a pluggable service registry for registering and discovering service instances, while event-handling is done via the kafka distributed streaming platform. Guice dependency injection is featured for implementing and testing services, and the framework provides an interface for calling endpoints on other services and handling errors from them. Java-micro also features standardized Json logging and metrics reporting, client-side load-balancing, an interface for a service to support health checks, and built-in database migrations.

To continue reading this article register now

Get the best of CIO ... delivered. Sign up for our FREE email newsletters!