The aim of this post is to show you how, using CDI, you can inject Java properties entries (those in *.properties files) directly into your Java class. This is somewhat similar to the Spring’s @Value annotation I needed in my plain Java EE project.
The whole code can be found on GitHub so feel free to clone it, use it or make any changes you like.