Writing microservices within Jakarta EE is technically possible, but you miss a few goodies for the distributed environment you are running in.
MicroProfile wants to optimize your enterprise Java application by creating Java standards that link to some well-known cloud-native standards like etcd for configuration, OpenTracing and Jaeger for distributed tracing, and Prometheus for metrics.