james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: Container/DI
Date Mon, 10 Aug 2009 16:54:25 GMT
Thx for remember me about properties files and guice, I just committed
a change to hupa todo exactly this.

Bye,
Norman

2009/8/10 Bob Lee <crazyboblee@gmail.com>:
> On Mon, Aug 10, 2009 at 9:24 AM, Norman Maurer <norman@apache.org> wrote:
>
>> > the most direct replacement for avalon service provision and lifecycle
>> > management. i would much prefer to use JSR250 as opposed to either
>> > spring or guice specific annotations as replacements for these parts
>> > of the wiring.
>>
>> > i've played around with various options and found that annotations are
>> Sounds ok and supported by guice (with guicefruit addon) :
>> http://code.google.com/p/guiceyfruit/wiki/Annotations
>>
>
> You could also use the Guice annotations for now and easily replace them
> with JSR-330 annotations later.
>
>
>> IMHO administrators should not need to hassle with assembly.xml files.
>> The administrator should only need to use the "configuration" file and
>> nothing else..
>
>
> Exactly. Guice makes it trivial to bind values from properties files, for
> example.
>
> Bob
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message