Scrivio Interview library
ConceptIntermediate5 min read · updated 12 November 2026

What is Eclipse MicroProfile, and which of its specifications correspond to Spring Boot features?

Eclipse MicroProfile is a set of specifications for cloud-native microservices that sits on top of the Jakarta EE Core Profile, adding configuration, health checks, telemetry, fault tolerance, typed REST clients and more. Most of them have a close Spring Boot counterpart: MicroProfile Config is like Spring's Environment and @ConfigurationProperties, Health is like Actuator health endpoints, Telemetry and Metrics are like Micrometer and OpenTelemetry support, Fault Tolerance is like Resilience4j, and Rest Client is like Spring HTTP interface clients. It is implemented by Quarkus, Open Liberty, Helidon and Payara, among others.

Why this question is asked

Many teams meet MicroProfile when they join a company that runs Quarkus or Open Liberty, or when they evaluate alternatives to Spring Boot. Knowing the mapping between the two worlds lets us move between them quickly, because the ideas are the same even when the annotations differ. Interviewers ask this to check that we understand the concepts behind the features we use, not only the Spring names. In this answer, we will recap what MicroProfile is and how it relates to Jakarta EE, then go through the main specifications with their Spring Boot counterparts and short code, and finish with the runtimes that implement it.

1A Quick Recap of MicroProfile

Jakarta EE defines standard Java APIs for enterprise applications, such as REST endpoints (Jakarta REST, also known as JAX-RS), dependency injection (CDI) and JSON binding (JSON-B). Those standards were designed before microservices, so they did not cover things such as reading configuration from environment variables, reporting health to Kubernetes, or retrying a failing remote call.

MicroProfile was started in 2016 by several vendors to fill that gap, and it is now an Eclipse Foundation project. Since MicroProfile 6, it is built on the Jakarta EE Core Profile, the smallest Jakarta EE profile, which contains CDI Lite, Jakarta REST, JSON-P, JSON-B and a few annotations. On top of that, MicroProfile adds its own specifications. So a MicroProfile service is a Jakarta EE Core Profile service plus cloud-oriented features, much as a Spring Boot service is Spring plus auto-configuration and Actuator.

2Mapping the Specifications to Spring Boot

The table below shows the main specifications and the Spring Boot feature that does the same job. The names differ, but the problems they solve are identical, which is why someone experienced in one usually becomes productive in the other within days.

MicroProfile specifications and their Spring Boot counterparts
MicroProfile specWhat it doesSpring Boot counterpart
ConfigTyped config from files, env, system propsEnvironment, @Value, @ConfigurationProperties
HealthLiveness, readiness, startup checksActuator /actuator/health and probes
TelemetryOpenTelemetry tracing and metricsMicrometer Tracing, OpenTelemetry support
Metrics (older)Application metrics endpointMicrometer with Actuator metrics
Fault ToleranceRetry, timeout, circuit breaker, bulkheadResilience4j, Spring Retry
Rest ClientTyped interface for HTTP callsHTTP interface clients, OpenFeign
OpenAPIGenerated API documentationspringdoc-openapi
JWT AuthenticationVerify bearer JWTs, map rolesSpring Security resource server
Recent MicroProfile releases favour Telemetry over the older Metrics specification; check your runtime version.

3Config and Health Side by Side

MicroProfile Config reads values from ordered sources: system properties, then environment variables, then microprofile-config.properties, with higher-priority sources winning. Spring's Environment works the same way with its property sources. Here is the same setting read both ways.

Java
// MicroProfile Config
@ApplicationScoped
public class PricingService {
@Inject
@ConfigProperty(name = "pricing.discount", defaultValue = "0.05")
double discount; // 0.05 unless PRICING_DISCOUNT is set
}
// Spring Boot
@ConfigurationProperties(prefix = "pricing")
public record PricingProperties(double discount) {} // pricing.discount or PRICING_DISCOUNT
// MicroProfile Health
@Readiness
@ApplicationScoped
public class DbCheck implements HealthCheck {
public HealthCheckResponse call() {
return HealthCheckResponse.named("db").status(pingDb()).build(); // GET /health/ready -> UP
}
}
// Spring Boot Actuator
@Component
class DbHealth implements HealthIndicator {
public Health health() { return pingDb() ? Health.up().build() : Health.down().build(); } // /actuator/health
}

Notice that both read environment variables with a relaxed name: MicroProfile maps PRICING_DISCOUNT to pricing.discount, and Spring's relaxed binding does the same. The health endpoints differ in path, /health/ready and /health/live in MicroProfile and /actuator/health/readiness and /actuator/health/liveness in Spring Boot, but both are designed to be used directly as Kubernetes probes.

4Fault Tolerance and Rest Client

MicroProfile Fault Tolerance puts resilience on a method with annotations such as @Retry, @Timeout, @CircuitBreaker, @Bulkhead and @Fallback. A circuit breaker stops calling a failing service for a while, so our threads do not pile up waiting for it. Resilience4j provides the same patterns in Spring Boot, with annotations like @CircuitBreaker and @Retry or a functional API.

MicroProfile Rest Client lets us declare an interface and have the runtime generate the HTTP client, which is exactly the idea behind Spring's HTTP interface clients (@HttpExchange or @GetExchange on an interface, backed by RestClient or WebClient).

Java
// MicroProfile Rest Client with Fault Tolerance
@RegisterRestClient(configKey = "inventory")
@Path("/items")
public interface InventoryClient {
@GET @Path("/{sku}")
@Retry(maxRetries = 2) @Timeout(500)
Item find(@PathParam("sku") String sku); // up to 3 attempts, 500 ms each
}
// Spring HTTP interface client (Resilience4j added separately)
public interface InventoryClient {
@GetExchange("/items/{sku}")
Item find(@PathVariable String sku);
}

So the main difference is where the resilience lives. MicroProfile standardises it as annotations any runtime understands, while in Spring it comes from a library we add and configure.

5Which Runtimes Implement MicroProfile

Several runtimes implement MicroProfile. Quarkus, from Red Hat, is built for fast startup and small memory, including native images with GraalVM, and it uses the SmallRye implementations of the specifications. Open Liberty, from IBM, is a modular Jakarta EE and MicroProfile server. Helidon, from Oracle, offers a MicroProfile edition. Payara is a commercially supported runtime derived from GlassFish, and WildFly also supports MicroProfile. Because they implement the same specifications, code written against the APIs moves between them with modest changes, but each runtime also adds its own extensions, which do not move.

6Follow-up questions

Is MicroProfile part of Jakarta EE?

No. Both are Eclipse Foundation projects, and MicroProfile builds on the Jakarta EE Core Profile, but MicroProfile has its own specifications and release cycle. A runtime can be certified for Jakarta EE, for MicroProfile, or for both.

Can a Spring Boot application use MicroProfile APIs?

In general it is not practical, because MicroProfile specifications are built on CDI while Spring has its own container. Spring Boot gives the same features with its own APIs, so we use those instead.

Why might a team choose a MicroProfile runtime over Spring Boot?

Common reasons are fast startup and low memory with Quarkus, especially for native images, an existing Jakarta EE codebase, a preference for vendor-neutral standards, or a support contract with a vendor such as IBM or Red Hat.

7Conclusion

In this answer, we saw that MicroProfile adds cloud-oriented specifications on top of the Jakarta EE Core Profile, and that each one has a close Spring Boot counterpart: Config and the Environment with @ConfigurationProperties, Health and Actuator health, Telemetry and Metrics and Micrometer with OpenTelemetry, Fault Tolerance and Resilience4j, Rest Client and HTTP interface clients. Quarkus, Open Liberty, Helidon and Payara implement it, so the ideas carry across runtimes even when the annotations change.

What to say in the interviewAbout 80 seconds aloud

Open with

MicroProfile is an Eclipse Foundation set of specifications for microservices. It sits on top of the Jakarta EE Core Profile, which gives CDI, Jakarta REST and JSON binding, and it adds what microservices need in the cloud.

Then, if they want more

Most of its specifications map directly to Spring Boot features. MicroProfile Config reads typed configuration from system properties, environment variables and a properties file in priority order, which is what Spring's Environment and @ConfigurationProperties do. MicroProfile Health exposes liveness and readiness checks for Kubernetes, like Actuator's health endpoint and probe groups.

Telemetry, which builds on OpenTelemetry, and the older Metrics specification correspond to Micrometer and Spring Boot's tracing and metrics support. Fault Tolerance gives @Retry, @Timeout, @CircuitBreaker and @Bulkhead annotations, which is what Resilience4j provides in Spring. Rest Client lets us declare an interface and get a generated HTTP client, the same idea as Spring's HTTP interface clients with @GetExchange.

There are also OpenAPI and JWT authentication specifications, matching springdoc and the Spring Security resource server. It is implemented by Quarkus, Open Liberty, Helidon, Payara and WildFly. The concepts carry over completely, so moving between the two is mostly learning new annotation names.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Jakarta EE specifications
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "What is Eclipse MicroProfile, and which of its specifications correspond to Spring Boot...": https://scrivio-interview-library.netlify.app/java/jakarta-ee-platform/7e84d75f26/