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 08:38:35 +0200

On Mon, 2008-09-01 at 08:29 +0600, Imran M Yousuf wrote:
> On Sun, Aug 31, 2008 at 9:20 PM, Martin Grotzke
> <martin.grotzke_at_freiheit.com> 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).
>
> That was pretty quick :).
> I trying work on a sample with XML configuration and integrating
> Spring Security. Currently reading up on Spring Security, hopefully
> will be able to add a sample sometime soon.
Great! Perhaps you might consider creating two separate samples, one for
just showing spring-xml-config and one that shows how to use
spring-security with jersey.

If your main focus is on spring-security I might also do the part with
spring-xml.

What do you think?

>
> Will have a look at your sample as well.
>
> BTW, how does developers submit their work? is it by patch?
Yes, sending a patch to this list is one option, another is that you
create an issue and attach the patch to this issue, and a third one is
to complete the Sun's Contributor Agreement (SCA) to get developer/write
access.

You may also have a look at the page "How to Contribute?" [1].

Cheers,
Martin


[1] https://jersey.dev.java.net/contribute/

>
> Best regards,
>
> Imran
>
> >
> > 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
> >
> >
> >
>
>

-- 
Martin Grotzke
http://www.javakaffee.de/blog/