Skip to main content

Jakarta Config 1.0 (under development)

Jakarta Config defines a core framework for the Jakarta EE platform allowing applications and other Jakarta EE components to read configuration data from different environment-aware sources in a portable way.

Jakarta Config is planning to release the first MVP (Minimum Viable Product) version. The main goal is to demonstrate progress and collect feedback from the community.

MVP Scope

  1. Configuration is provided by configuration objects only
@Configuration
interface MyConfig {
	Integer getConfigProperty1();
	String getConfigProperty2();
	MyConfigObject getMyConfigObject();
}
  1. Programmatic API is used to load a configuration object. It’s the core functionality. There are no dependencies to other components.
MyConfig myConfig = ConfigLoader.load(...);
  1. Configuration objects also can be injected if Jakarta Inject or Jakarta CDI is used. It’s optional. This functionality is defined in another artifact having dependency to the corresponding injection API.
@Inject
@ConfigObject
MyConfig myConfig;

Samples don’t represent the real APIs to create and provided only for idea demonstration.

Additional Information

How to communicate with the team

Back to the top