Breadcrumb

MicroProfile 1.2 also adds interoperability with JSON web tokens for more consistent security.

Paul Krill Oct 09th 2017

The Eclipse Foundation’s MicroProfile project to add microservices to enterprise Java has released MicroProfile 1.2, which adds capabilities for fault tolerance and security.

New features in MicroProfile 1.2

A fault-tolerance API in MicroProfile 1.2 provides a way for applications to deal with the unavailability of a microservice, said IBM Distinguished Engineer Ian Robinson, who has worked on MicroProfile. When old-style monolithic applications fail, they bring down the entire application. But applications composed of microservices continue to operate if a specific microservcie fails, leading to “more interesting failure scenarios,” he said. To deal with service failures, applications need a way of handling the unavailability of a service, such as to resort to a fallback service if a primary service is unavailable. Such fallbacks are what MicroProfile 1.2 allows.

MicroProfile 1.2 also adds Interoperability with JSON web tokens. With JWT, you can provider a security token in a standard format, so it propagates from one microservice to another.

An externalized configuration capability in MicroProfile 1.2 provides a standard way to import an application configuration from outside a Docker container.