73

Java microservices profile gets fault-tolerance capabilities | JavaWorld

 6 years ago
source link: https://www.javaworld.com/article/3230138/java-language/java-microservices-profile-gets-fault-tolerance-capabilities.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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.

MicroProfile 1.2 also features:

  • Common annotations.
  • Metrics.
  • Health checking.

Where to download MicroProfile 1.2

The source code for MicroProfile 1.2 is available for downloads at an Eclipse webpage.

Paul Krill is an editor at large at InfoWorld, whose coverage focuses on application development.

Copyright © 2017 IDG Communications, Inc.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK