Ask questions and see you at October, 5th, 8.PM. CET: https://vimeo.com/event/154379
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.
Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
Hi,
I was listening to your (very interesting) podcast episode with Emily Jiang, where you also talked about configuration in the jakarta EE / MicroProfile environment.
You mentioned one may need to get a list of all possible configuration keys and values but they are disseminated along the code.
I made a library, which targets old java EE 6, that partially addresses this problem.
It forces/lets you list all your configuration in an enum and then it generates an injector and a custom annotation. With this approach, you can only inject properties that are listed in the enum, and since it supports validation, you can be sure the properties are valid.
The library itself is barebone and not very flexible, but it works in production and it has saved me some headache.
It should be easy to provide configuration source that reads values from microprofile config or similar.
You can find it here https://github.com/civitz/viper