David, I understand your points and largely agree, under a single condition. There must be a way to provide an alternative config API in Jakarta EE. MicroProfile is adequate alternative, but the problem is that it's not in the Jakarta EE Platform and other specifications cannot depend on it.
There is high demand for a common configuration mechanism in Jakarta EE. This cannot be compared to logging, which is a nice to have feature but there's little demand for standardizing it. The missing config API in Jakarta EE is becoming a significant blocker. For example, the Jakarta NoSQL team expressed a need for a configuration mechanism. Its reference impl, JNoSQL, already depends on MicroProfile Config, but this cannot be standardized in the spec. We recently discussed the need for a common configuration for Jakarta Persistence in
this issue. I know more specifications would use the common config if it existed.
I would like that MicroProfile Config is added to Jakarta EE as is, but for that, 2 things must happen:
- MP Config must be transferred to the Jakarta EE WG, either as a single spec, or together with merging the MP and EE Working Groups
- MP Config must adopt the jakarta prefix
When we broadly discussed this, there were few objections to moving MP Config to Jakarta EE. It's a stable API, doesn't evolve very frequently, so even those who are afraid that Jakarta EE would have a slower release cadence than MicroProfile wouldn't mind.
About the jakarta prefix, I'm unsure if there is enough support for it. i think that specifically for Config it shouldn't be a problem. Different package prefixes allow supporting both APIs in existing servers if backward compatibility is needed.
I'd like to get some more real support for moving MP Config to Jakarta EE, including adoption of the jakarta prefix, before we decide to terminate the Jakarta Config spec. Otherwise I would rather support having both MP Config and Jakarta Config, even if Jakarta Config is basically just a copy of MP Config under the jakarta prefix.
It's already a shame that Jakarta EE 12 still won't have any standardized config mechanism and I hope we can all do something about it.
All the best,Ondro Mihalyi
Director, Jakarta EE expert