users@jersey.java.net

Re: [Jersey] Guice 2.0 support now available

From: James Strachan <james.strachan_at_gmail.com>
Date: Tue, 14 Apr 2009 11:52:09 +0100

2009/4/10 Paul Sandoz <Paul.Sandoz_at_sun.com>:
> Hi,
>
> Guice 2.0 support is now available:
>
>  https://jersey.dev.java.net/nonav/apidocs/1.0.3-SNAPSHOT/contribs/jersey-guice/index.html
>
>  http://download.java.net/maven/2/com/sun/jersey/contribs/jersey-guice/1.0.3-SNAPSHOT/jersey-guice-1.0.3-SNAPSHOT.pom
>
> It is currently depending on Guice artifacts at the maven repo:
>
>  http://guice-maven.googlecode.com/svn/trunk
>
> But i plan to switch things over to GuiceFruit:
>
>  http://code.google.com/p/guiceyfruit/
>
> when the next release occurs. This will have the added benefit that one can
> avail of EE-supported annotations like @Resource and
> @PostConstruct/_at_PreDestroy for Guice-managed components.

2.0-beta-6 is now out for GuiceyFruit
http://code.google.com/p/guiceyfruit/wiki/Download

Its also got support for Spring @Autowired, @Qualifier annotations and
JPA @PersistenceContext too :)
http://code.google.com/p/guiceyfruit/wiki/Annotations

-- 
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/