users@jersey.java.net

[Jersey] Re: asm.jar not needed for custom application?

From: Markus Karg <markus.karg_at_gmx.net>
Date: Thu, 13 Jan 2011 17:48:45 +0100

Great, thanks! One more file to remove from my EAR. ;-)

> -----Original Message-----
> From: Paul Sandoz [mailto:Paul.Sandoz_at_oracle.com]
> Sent: Donnerstag, 13. Januar 2011 12:14
> Cc: users_at_jersey.java.net
> Subject: [Jersey] Re: asm.jar not needed for custom application?
>
> On Jan 13, 2011, at 11:59 AM, Markus Karg wrote:
> > Hello Jersey Community,
> >
> > I need to use Jersey in a non-Java EE project so I have to add JARs
> > to my classpath manually.
> >
> > On the web site
> http://jersey.java.net/nonav/documentation/latest/chapter_deps.html#cor
> e_server
> > it is told that asm.jar is only needed when using
> > ClasspathResourceConfig.
>
> More specifically anything that extends from
> com.sun.jersey.api.core.ScanningResourceConfig.
>
>
> >
> > So is it correct that I can omit asm.jar in case I am not using asm
> > on my own, and I am providing my own implementation of
> > javax.ws.rs.core.Application?
> >
>
> Yes.
>
> Paul.