Warning: file_put_contents(/srv/users/serverpilot/apps/bitupdateus/public/wp-content/plugins/bulk-post-0.4-1/cache/sessions//LawFRLZrC1zdqxwhDq5M1AHipfgwWMEd2fDiooZa): failed to open stream: No space left on device in /srv/users/serverpilot/apps/bitupdateus/public/wp-content/plugins/stupidpie-1.8.3-1/vendor/illuminate/filesystem/Filesystem.php on line 122
  Java: MicroProfile 1.2 has four new APIs on board | Bit Updates
Home » bitcoin updates » Java: MicroProfile 1.2 has four new APIs on board

Java: MicroProfile 1.2 has four new APIs on board

Wednesday, October 4th, 2017 | bitcoin updates

             The Health Check and Fault Tolerance APIs are designed to improve system stability. The Metrics API can monitor system parameters, and JWT Propagation organizes the handling of JSON Web Tokens.


        The open source project Eclipse MicroProfile, an open forum for collaboration on enterprise Java microservices, has announced the release of MicroProfile 1.2 as part of JavaOne. In addition to the APIs CDI 1.1, JAX-RS 2.0, JAX-P 1.0 and Config API 1.0, already known from Release 1.1, the new version comes with four new APIs.

          The makers have added four new APIs in Release 1.2.
          (Picture: Eclipse Micro profile Blog
    Availability and stabilityThe underlying infrastructure can use HealthCheck API 1.0 to test the availability and status of services and applications. In accordance with the results, it can decide whether the service should be running properly, restarted, or any other action to maintain system stability. For this purpose, the service must only implement an appropriate interface. An additional annotation @health automatically provides a REST API for the health check.
The new Fault Tolerance API 1.0 also aims to improve system stability. It can be used to create classic resilience patterns such as bulkhead, circuit breaker, fallback, retry policy or timeout, both on the basis of annotations as well as programmed out, thus increasing the availability of the services.
System Parameters and JSON Web TokenIf the two previously mentioned APIs aim to provide a simple "yes" or "no" to the question of whether the requested service still runs as planned, the Metrics API 1.0 goes a step further , They enable software agents at runtime to monitor essential system parameters. From this, they can derive forecasts for the future behavior of services and react accordingly. For example, you can react to increased utilization or a prolonged extension of the response times with the start of new service instances.
JWT Propagation 1.0 finally specifies the structure and use of MicroProfile-JWT (JSON Web Token) as well as their mapping to Java EE and non-Java EE containers. The API therefore offers the possibility to authorize and authenticate within Microservices. When called with a corresponding authorization header including a token, Microsoft's API access to various standard claims (according to the JSON Web token specification, RFC-7519), such as the token validity (exp), the token- Exhibitors (iss) or the token-authoritative (subject) possible. Within a JAX-RS container, there are also numerous possibilities to access annotations based on the entire instance of the JSON Web Token or individual claims. Automatic mapping to the Java EE SecurityContext makes it possible to use known Java EE constructs such as RolesAllowed or isUserInRole in conjunction with the JWT.
MicroProfile: Background and outlook


        Java 2017
More information about MicroProfile as well as Java 9, Java EE 8 and current developments in the Java environment can be found in the iX Developer Special Edition on the topic, which is available in the heise shop, among other things.

The goal of the MicroProfile.io initiative is to close the gap between the Enterprise Java standard Java EE and the numerous proprietary Java microservices framework approaches. To this end, a number of Java application server manufacturers, including Tomitribe, IBM, Red Hat and Payara, have joined forces within the Eclipse MicroProfile project, where they jointly define an API stack for Java Microservices that is meaningful from their point of view.
The other roadmap for the versions 1.3 and 2.0 of the Eclipse MicroProfile project has already been established. If the team maintains the current release cycles, new versions may appear in the three-month cycle. Anyone who wants to try out the new features can, among other things, take advantage of IBM's Open Source OpenLeft implementation (openliberty.io).


          The preview shows the plans for MicroProfile 1.3 and 2.0.
          (Picture: Eclipse Micro profile Blog
    Further details on MicroProfile 1.2 and the plans for the future can be found in the MicroProfile blog at Eclipse.
 (Lars Röwekamp) /




The charging problem with

             Charging stations for e-cars are still sown in German cities. Shutterstock For

Doom VFR: High System Req

                         (Image: Bethesda)                                            The PC version of Doom VFR

Art installation in Berli

13 meters long, the three buses will protrude Friday night into the sky

Violent brute force attac

                         (Picture: pixabay)                                            Security researchers have registered 14 million