You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Norman Maurer <no...@apache.org> on 2009/09/08 07:38:05 UTC

Fwd: FYI: JSR-330 support now in Guice SVN

FYI... Maybe interesting for our futher steps ;)

Bye,
Norman


---------- Forwarded message ----------
From: jesse@swank.ca <li...@gmail.com>
Date: 2009/9/8
Subject: FYI: JSR-330 support now in Guice SVN
To: google-guice <go...@googlegroups.com>



I've implemented support for JSR-330 to Guice. This JSR standardizes
annotations like @Inject and the Provider interfaces for Java
platforms. It doesn't yet specify how applications are configured, so
it has no analog to Guice's modules.

This new feature may cause pain for IDE users. Since there's now two
@Inject annotations, IntelliJ etc. will prompt you when it needs an
import. Either one will work, but the new dialogs will be quite
annoying! Even worse, the two @Named annotations aren't (yet)
equivalent. So if you apply the wrong annotation, you'll get a
configuration error. I'm thinking about ways to address this.

This work is ongoing. I recommend continuing to use the old
com.google.inject annotations until the dust settles.
 http://code.google.com/p/google-guice/wiki/JSR330

Thanks,
Jesse
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "google-guice" group.
To post to this group, send email to google-guice@googlegroups.com
To unsubscribe from this group, send email to
google-guice+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

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


Re: FYI: JSR-330 support now in Guice SVN

Posted by Norman Maurer <no...@apache.org>.
Yeah I know guicyfruit ;)

Bye,
Norman


2009/9/8 Stefano Bagnara <ap...@bago.org>:
> There's also GuiceyFruit:
> http://code.google.com/p/guiceyfruit/
>
> BTW, how many hours are in a James Strachan day? *envy*
>
> Stefano
>
> 2009/9/8 Norman Maurer <no...@apache.org>:
>> FYI... Maybe interesting for our futher steps ;)
>>
>> Bye,
>> Norman
>>
>>
>> ---------- Forwarded message ----------
>> From: jesse@swank.ca <li...@gmail.com>
>> Date: 2009/9/8
>> Subject: FYI: JSR-330 support now in Guice SVN
>> To: google-guice <go...@googlegroups.com>
>>
>>
>>
>> I've implemented support for JSR-330 to Guice. This JSR standardizes
>> annotations like @Inject and the Provider interfaces for Java
>> platforms. It doesn't yet specify how applications are configured, so
>> it has no analog to Guice's modules.
>>
>> This new feature may cause pain for IDE users. Since there's now two
>> @Inject annotations, IntelliJ etc. will prompt you when it needs an
>> import. Either one will work, but the new dialogs will be quite
>> annoying! Even worse, the two @Named annotations aren't (yet)
>> equivalent. So if you apply the wrong annotation, you'll get a
>> configuration error. I'm thinking about ways to address this.
>>
>> This work is ongoing. I recommend continuing to use the old
>> com.google.inject annotations until the dust settles.
>>  http://code.google.com/p/google-guice/wiki/JSR330
>>
>> Thanks,
>> Jesse
>> --~--~---------~--~----~------------~-------~--~----~
>> You received this message because you are subscribed to the Google
>> Groups "google-guice" group.
>> To post to this group, send email to google-guice@googlegroups.com
>> To unsubscribe from this group, send email to
>> google-guice+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/google-guice?hl=en
>> -~----------~----~----~----~------~----~------~--~---
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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


Re: FYI: JSR-330 support now in Guice SVN

Posted by Stefano Bagnara <ap...@bago.org>.
There's also GuiceyFruit:
http://code.google.com/p/guiceyfruit/

BTW, how many hours are in a James Strachan day? *envy*

Stefano

2009/9/8 Norman Maurer <no...@apache.org>:
> FYI... Maybe interesting for our futher steps ;)
>
> Bye,
> Norman
>
>
> ---------- Forwarded message ----------
> From: jesse@swank.ca <li...@gmail.com>
> Date: 2009/9/8
> Subject: FYI: JSR-330 support now in Guice SVN
> To: google-guice <go...@googlegroups.com>
>
>
>
> I've implemented support for JSR-330 to Guice. This JSR standardizes
> annotations like @Inject and the Provider interfaces for Java
> platforms. It doesn't yet specify how applications are configured, so
> it has no analog to Guice's modules.
>
> This new feature may cause pain for IDE users. Since there's now two
> @Inject annotations, IntelliJ etc. will prompt you when it needs an
> import. Either one will work, but the new dialogs will be quite
> annoying! Even worse, the two @Named annotations aren't (yet)
> equivalent. So if you apply the wrong annotation, you'll get a
> configuration error. I'm thinking about ways to address this.
>
> This work is ongoing. I recommend continuing to use the old
> com.google.inject annotations until the dust settles.
>  http://code.google.com/p/google-guice/wiki/JSR330
>
> Thanks,
> Jesse
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "google-guice" group.
> To post to this group, send email to google-guice@googlegroups.com
> To unsubscribe from this group, send email to
> google-guice+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/google-guice?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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