What’s New in Eclipse MicroProfile 6.0?

Photo of Luqman Saeed by Luqman Saeed

The Eclipse MicroProfile project is a Jakarta EE based project that augments the platform with cloud-native APIs for developing applications for the cloud. MicroProfile has had five previous version releases, with the latest being 6.0. Versions prior to 6.0 were built on the Jakarta Contexts and Dependency Injection, Jakarta RESTful Web Services and Jakarta JSON APIs. 

However, MicroProfile 6.0 now builds on the Core Profile of Jakarta EE 10. Jakarta EE Core Profile contains a small set of the full platform APIs targeted at microservices runtimes and ahead-of-time compilations. This change also means MicroProfile switches to the use of the jakarta namespace introduced in Jakarta EE 9.

This is a breaking change that  you should be aware of. According to the project, “if you are still dependent on Jakarta EE 9.1, please consider using the 5.0 release of MicroProfile. If you are still dependent on Jakarta EE 8, please consider using the 4.1 release of MicroProfile. If you are still dependent on Java EE 8, please consider using the 3.3 release of MicroProfile. If you are still dependent on Java EE 7, please consider using the 1.4 release of MicroProfile.”

Notable changes in this release include the aforementioned switch to dependency on the Jakarta EE Core profile, breaking changes in MicroProfile Metrics and MicroProfile Telemetry  replacing MicroProfile OpenTracing. To use MicroProfile 6.0, you can add the following Maven coordinates to your project to pull in the full distribution. 

<dependency>
   <groupId>org.eclipse.microprofile</groupId>
   <artifactId>microprofile</artifactId>
   <version>6.0</version>
   <type>pom</type>
   <scope>provided</scope>
</dependency>

We will be covering taking a deeper look at the various changes in subsequent blog posts. In the meantime, if you are new to Eclipse MicroProfile, take a look at the MicroProfile dedicated section of our guides for detailed guides on the various APIs that make up the project. 

We also havethis e-Book available, 'Explaining Microservices: No Nonsense Guide for Decision Makers':Explaining Microservices Template-3

 

Comments