Hi, To pick up the discussion where it was left off last time and propose a plan ...
I'm proposing to add two optional modules in the Tomcat repository (in /modules/ next to jdbc-pool) as they look to me a decent way to use some microprofile specs (notably health and metrics, both of which are popular for cloud) in regular Tomcat. These would be: - "owb": With a only pom and config to build the shaded OpenWebBeans JAR. Also until/if the integration code updates are picked up by OWB and included in a release, it will temporarily host said code. If the shaded JAR is placed in Tomcat's lib folder and the listener is added, this will CDI enable webapps. - "cxf": With a pom to build a shaded JAR including JAX-RS and json support. This includes one utility noop bean class to register a json provider. The shaded JAR can be used in webapps to add JAX-RS support. A lot of work would be needed to integrate CXF at the container level for Tomcat [at the moment it's only a Servlet]. In turn, microprofile impl JARs from the ASF can be placed in the JAX-RS enabled webapps, and then test beans start to work. A new documentation page to describe CDI/JAX-RS use (with microprofile mentioned since that's the use case) would be added. As these two modules will be pom based, I don't think formal releases will be needed beyond being included in the Tomcat source releases. Any complaints ? Rémy Note: I tried to look at Weld, the ref CDI implementation, to give additional choices, but for Tomcat the integration is a bit rough and needs more work than OWB.