Chapter 3. Application Migration
You can migrate your applications created for an older release of JBoss EAP XP to JBoss EAP XP 5.0.
3.1. MicroProfile application migration Copy linkLink copied to clipboard!
MicroProfile 6.1 aligns with the Jakarta EE 10 Core Profile and introduces MicroProfile Telemetry, replacing MicroProfile OpenTracing.
MicroProfile 6.1 includes updates to all the major MicroProfile specifications.
The following specifications might include API incompatible changes for MicroProfile 6.1:
- MicroProfile Config
- MicroProfile Fault Tolerance
- MicroProfile Health
- MicroProfile OpenAPI
You must update your applications that use these specifications to the latest Jakarta EE 10 specifications.
You can update your applications to MicroProfile 6.1 by choosing one of the following methods:
-
Adding the MicroProfile 6.1 dependency to your project’s
pom.xmlfile. -
Using the JBoss EAP XP BOMs to import supported artifacts to the JBoss EAP XP dependency management of your project’s
pom.xmlfile.
3.2. Migrate from MicroProfile OpenTracing to OpenTelemetry Tracing Copy linkLink copied to clipboard!
MicroProfile OpenTracing is not supported in JBoss EAP XP 5.0 and is replaced by OpenTelemetry tracing.
To replace MicroProfile OpenTracing with OpenTelemetry Tracing, follow these steps:
-
Replace the dependency
org.eclipse.microprofile.opentracing:microprofile-opentracing-apiwithio.opentelemetry:opentelemetry-apiandio.opentelemetry:opentelemetry-context. -
Replace the usage of the
org.eclipse.microprofile.opentracingJava package with theio.opentelemetryJava package. Such replacement might involve additional changes to classes and methods.
3.3. Migrate from MicroProfile Metrics to Micrometer Copy linkLink copied to clipboard!
MicroProfile Metrics is not supported in JBoss EAP XP 5.0 and is replaced by Micrometer.
To replace MicroProfile Metrics with Micrometer, follow these steps:
-
Replace the dependency
org.eclipse.microprofile.metrics:microprofile-metrics-apiwithio.micrometer:micrometer-core. -
Replace the usage of the
org.eclipse.microprofile.metricJava package with theio.micrometerJava package. Such replacement might involve additional changes to classes and methods.