|Eclipse MicroProfile Improves OpenTracing API|
|Written by Kay Ewbank|
|Tuesday, 26 February 2019|
The Eclipse Foundation has released an updated version of MicroProfile. Release 2.2 of the project has updated its Fault Tolerance, Open Tracing, and REST APIs. The aim of MicroProfile is to make use of and improve Enterprise Java technologies such as Java EE for use with distributed microservices.
The developers of MicroProfile say it is a community dedicated to optimizing enterprise Java for microservice based architectures. The goal is to define a microservices application platform that is portable across multiple runtimes. Subsidiary goals are to provide an interoperable microservices architecture that can be used for communication among polyglot runtimes (not just Java); and to provide an environment where innovative ideas in the area of microservices and Enterprise Java can be incubated.
Once an idea has been iterated on and approved by the larger community, the MicroProfile community will then submit it to the JCP for consideration in a future JSR. Current participants in the project include IBM, Red Hat, Tomitribe, Payara, the London Java Community (LJC) and SouJava.
This latest release of MicroProfile offers better support for the OpenTracing API, which is used to create log statements showing how microservices interact. The improvements add tighter integration to the REST Client, and enhancements to its TCK (Technology Compatibility Kit) among other improvements.
The new release also improves interoperability with other frameworks such as OpenAPI and RESTClient, which are used together to help build and consume RESTful services. The frameworks mean developers can make use of Java’s static typing system so that if mistakes are made when putting together JSON elements, the mistakes become visible at compile time rather than surfacing as runtime errors.
The updated version of the OpenAPI also has an enhanced TCK, along with the addition of the JAX-RS 2.1 PATCH method, and introduces default implementations for builder methods.
The RESTClient now generates headers en masse including propagation of headers from inbound JAX-RS requests. It also has new connectTimeout and readTimeout methods on RestClientBuilder.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Tuesday, 26 February 2019 )|