Hi Oliver!

I am 100% sure that Tamaya in it's current shape is VERY easy to use.

For an easy project you simply have to add a 
META-INF/javaconfiguration.properties file and be done.
User can still 'override' (higher ordinal) this via environment and -D settings 
very easily. For all those cases you don't even need to touch any SPI at all!

For getting your configured values you simply use 
Configuration.current().get("myapp.mykey"); and be done. There is really not 
anything else needed.



LieGrue,
strub





> On Wednesday, 7 January 2015, 8:46, Oliver B. Fischer 
> <[email protected]> wrote:
> > In this point I disagree. One of the original ideas was to issue and JSR 
> for an configuration API for Java SE and Java EE.
> 
> If we can't handle the easy use cases there is no need for Tamaya as an 
> Java SE library. Because it would mean the following:
> 
> User: "I would like to configure my systems. Can I use Tamaya for 
> that?"
> We: "Yes, but only if you have a complicated system."
> User: "WTF? Why?"
> We: "Such easy things you can handle by your own."
> User: "WTF! I will tell every one not to use this heavy crap."
> EOS (End of story)
> 
> Guys, you can't tell me that Tamaya will be never the right solution for 
> a company as the one I am working for with millions of customers and 
> around 100 different services.
> 
> Oliver
> 
> Am 07.01.15 um 00:38 schrieb Anatole Tresch:
>>  Hi Oliver
>>  You dont need Tamaya fir that trivial cases. You can write that on your own 
> in 20 locs. Tamaya gives you an api and spi for access. If you have a company 
> that is always using this 2 files, you implement the spi and deploy with 
> every 
> app. But honestly even in each medium sizef cli tool complexity is higher. 
> When 
> you then think on config your 2000 apps and being able to have a common 
> config 
> system in place which is still very flexible then you need tamaya.
>> 
>>  Ok?
>> 
>>  -
>>  Anatole Tresch
>>  Glärnischweg 10
>>  8620 Wetzikon
>>  Tel +41 (43) 317 05 30
>>  -
>>  Send from Mobile
>> 
>>>  Am 07.01.2015 um 00:27 schrieb Romain Manni-Bucau 
> <[email protected]>:
>>> 
>>>  +1 should be fully hidden IMO.
>>> 
>>>  What was the original need Oliver? Seems you reversed the dependency 
> not
>>>  sure why.
>>>  Le 6 janv. 2015 23:58, "Oliver B. Fischer" 
> <[email protected]> a
>>>  écrit :
>>> 
>>>>  I think a lot of user will use ConfigurationContext to configure 
> their
>>>>  configuration system. I think it is easier to put some files into 
> the
>>>>  filesystem and to read this files then to deal with the SPI stuff.
>>>> 
>>>>  Sometimes I have the impression that many of us have a very biased 
> view on
>>>>  configuration by coming from a Java EE environment. This is ok and 
> I miss
>>>>  my GlassFish sometimes but think of dumb programmer who wants to 
> read a
>>>>  file simply from /etc/service/config.ext and override these 
> defaults with
>>>>  ~/.config.ext and so on.
>>>> 
>>>>  Oliver
>>>> 
>>>>>  Am 06.01.15 um 23:47 schrieb Reinhard Sandtner:
>>>>> 
>>>>>  my first idea was to add the method getContext() to 
> Configuration but i
>>>>>  think if someone is able to use the SPI, they can do it on 
> their own.
>>>>>  i think a 'normal‘ user should not see the 
> configurationContext at all
>>>>> 
>>>>>  lg
>>>>>  reini
>>>>> 
>>>>>  Am 06.01.2015 um 23:43 schrieb Oliver B. Fischer <
>>>>>>  [email protected]>:
>>>>>> 
>>>>>>  Guys, I missed somehow how to get a Configuration from the
>>>>>>  ConfigurationContext.
>>>>>> 
>>>>>>  BTW: I will add this method to ConfigurationContext:
>>>>>> 
>>>>>>      public static ConfigurationContext current(){
>>>>>>          return ServiceContext.getInstance().getService(
>>>>>>  ConfigurationContext.class).get();
>>>>>>      }
>>>>>> 
>>>>>>  WDYT?
>>>>>> 
>>>>>>  Oliver
>>>>>> 
>>>>>>  --
>>>>>>  N Oliver B. Fischer
>>>>>>  A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
>>>>>>  P +49 30 44793251
>>>>>>  M +49 178 7903538
>>>>>>  E [email protected]
>>>>>>  S oliver.b.fischer
>>>>>>  J [email protected]
>>>>>>  X http://xing.to/obf
> 
>>>>>> 
>>>>>> 
>>>>  --
>>>>  N Oliver B. Fischer
>>>>  A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
>>>>  P +49 30 44793251
>>>>  M +49 178 7903538
>>>>  E [email protected]
>>>>  S oliver.b.fischer
>>>>  J [email protected]
>>>>  X http://xing.to/obf
>>>> 
>>>> 
> 
> -- 
> N Oliver B. Fischer
> A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
> P +49 30 44793251
> M +49 178 7903538
> E [email protected]
> S oliver.b.fischer
> J [email protected]
> X http://xing.to/obf
>

Reply via email to