I think that's a generic solution. Is there any faster, shorter, easier way to inject values in .properties files into POJOs? I need some convention over configuration like @Inject(from="application.properites", key="some.key") private String someKey; without any helper, producer ... classes. Then I need to change the .properties file for different environment. So maybe @Profile("local") @Inject(from="application.properties", key="some.key") will get the value from application-local.properties. Finally, this looks like Spring :-)