Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2017 JCP EC: Configuration JSR

758 views

Published on

Presentation given to the JCP Executive Committee at the August 2017 meeting on the new Configuration JSR submission.

Published in: Technology
  • Be the first to comment

2017 JCP EC: Configuration JSR

  1. 1. . #ConfigJSR Eclipse Foundation Configuration API JSR Eclipse MicroProfile Community Presented by David Blevins, Tomitribe
  2. 2. . #ConfigJSR Eclipse Foundation • Feed applica+ons with java.u+l.Property data (Configura+on) • Mix of Internal and External proper+es (ConfigSources) • Dependency Injec+on or Lookup (@ConfigProperty & Config) • Run+me-change of configura+on • Conversion to any Java data type (Converter) Focus Areas
  3. 3. . #ConfigJSR Eclipse Foundation Simple Example - Referencing Properties
  4. 4. . #ConfigJSR Eclipse Foundation Simple Example - Programmatic Lookup
  5. 5. . #ConfigJSR Eclipse Foundation Simple Example - Supplying Properties
  6. 6. . #ConfigJSR Eclipse Foundation • META-INF/microprofile-config.proper+es (priority 100) • System Proper+es (priority 400) • Environment variables (priority 300) • custom proper+es files (user-chosen priority) Built-In ConfigSources
  7. 7. . #ConfigJSR Eclipse Foundation • Proper+es files in the applica+on • Java System proper+es • Java environment variables • YAML, XML or similar files coerced to proper+es format • Database or NoSQL storage • REST calls to external systems • Kubernetes environment variables • Docker proper+es • Containerized environments that support environment variables Third-Party ConfigSources
  8. 8. . #ConfigJSR Eclipse Foundation • DeltaSpike Config (hp://deltaspike.apache.org/documenta+on/ configura+on.html) • Extracted parts of DeltaSpike Config (hps://github.com/struberg/ javaConfig/) • Apache Tamaya (hp://tamaya.incubator.apache.org/) • Tomitribe Sabot (hps://tomitribe.io/p/sabot) • Apache Geronimo Config (hps://svn.apache.org/repos/asf/ geronimo/components/config/trunk) • WebSphere Liberty 2017 Betas (hps://developer.ibm.com/wasdev/) Influence and History
  9. 9. . #ConfigJSR Eclipse Foundation

×