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:14 +0100

These two files show how to do that:

https://webdav-addressbook.dev.java.net/source/browse/webdav-addressbook/tag
s/webdav-addressbook-1.2/src/main/java/net/java/dev/webdav/addressbook/Main.
java?rev=34&view=markup -- Java SE 6 standalone application bootstrapper

https://webdav-addressbook.dev.java.net/source/browse/webdav-addressbook/tag
s/webdav-addressbook-1.2/src/main/java/net/java/dev/webdav/addressbook/Addre
ssBookApplication.java?rev=34&view=markup -- Sample implementation of
Application

Regards
Markus


> -----Original Message-----
> From: Leonardo [mailto:sombriks_at_gmail.com]
> Sent: Donnerstag, 13. Januar 2011 13:07
> To: users_at_jersey.java.net
> Subject: [Jersey] Re: asm.jar not needed for custom application?
>
> 2011/1/13 Paul Sandoz <Paul.Sandoz_at_oracle.com>:
> >(...)
> >>
> >> 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.
> >
>
> I have a small curiosity: is there any example with code using this
> approach?