Phil, Sorry you can't join.
At JavaLand twice Anatole outlined relatively well what solutions exist including Spring, DeltaSpike, etc. https://www.doag.org/formes/servlet/DocNavi?action=getFile&did=6796393&key= Spring's PropertyResolver http://docs.spring.io/spring-framework/docs/4.0.4.RELEASE/javadoc-api/org/springframework/core/env/PropertyResolver.html comes very close to the Configuration interface in Tamaya (as of 0.2-incubation release) Integer dbPort = props.getProperty("db.port", Integer.class); As Mark mentioned DeltaSpike (and with the API stripped down to only string values Tamaya may have to do something similar) does have a type safe option in a slightly different way. See http://deltaspike.apache.org/documentation/configuration.html if you directly interact with the API (you'd often do via annotations instead) this is what you need in DeltaSpike Integer dbPort = ConfigResolver .resolve("db.port") .as(Integer.class) .getValue(); Either works, the question to discuss is, what's more common and comfortable to use. CU, Werner On Wed, Jul 27, 2016 at 8:15 AM, P. Ottlinger <[email protected]> wrote: > Hi, > > Am 26.07.2016 um 21:57 schrieb Anatole Tresch: > > - sometimes tomorrow - 8-22h more or less... > > - Th evening, not before 21h > > - Fr whole day & evening > > I'm unavailable this week, sry. > > But nevertheless you can meet and discuss the current situation. > > Cheers, > Phil >
