users@jersey.java.net

Re: [Jersey] Added new jersey sample spring-annotations

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Mon, 01 Sep 2008 13:03:24 +0200

On Mon, 2008-09-01 at 11:22 +0200, Paul Sandoz wrote:
> I have included the newly created wadl and spring samples in the build.
Great, thanx!

>
> Martin, would it be possible to add unit tests, where it makes sense,
> that show good usage of the client API and also test to make sure the
> sample is working correctly?
Regarding the wadl sample this might be hard. For the spring sample this
should be no big deal. Though, starting from today I'm back on work and
so this might take some time.

Cheers,
Martin

>
> Thanks,
> Paul.
>
> Martin Grotzke wrote:
> > Hi,
> >
> > I just added a sample that shows how to use jersey and spring using
> > annotations provided/supported by spring >= 2.5 [1].
> >
> > One resource class [2] in this sample app also shows how users of spring
> > < 2.5 can use annotation based autowiring (via the @Autowire annotation
> > provided by jersey-spring).
> >
> > Cheers,
> > Martin
> >
> >
> > [1] https://jersey.dev.java.net/source/browse/jersey/trunk/jersey/samples/spring-annotations
> > [2] https://jersey.dev.java.net/source/browse/jersey/trunk/jersey/samples/spring-annotations/src/main/java/com/sun/jersey/samples/springannotations/resources/JerseyAutowiredResource.java?rev=1383&view=markup
> >
> >