users@jersey.java.net

Re: using jersey with glassfish and eclipse

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Tue, 30 Oct 2007 08:35:07 +0100

Hi Sudhakar,

There is a simple hello world webapp bundled along with Jersey.
In [examples/HelloWorldWebApp] subdirectory you can try:
% ant
% $AS_HOME/bin/asadmin start-domain
% $AS_HOME/bin/asadmin deploy dist/SimpleServlet.war

Then look at [build.xml] file for:

 - taskdef name="rbpt"
 - target name="-pre-compile"

which include the important part of "configuration".

The above mentioned was also described in
an old version of [docs/getting-started.html] document,
but I do not know where it ended up.
Might be Paul could know?

~Jakub



On Mon, Oct 29, 2007 at 05:21:36PM -0500, sudhakar wrote:
> Can someone give me pointers on using Jersey with Glassfish and Eclipse.
> It doesn't necessarily have to be Eclipse.
>
> But since I'm not using Netbeans and all the documentation I can find
> about Jersey is using Netbeans, I can't seem to figure how to get
> everything configured without the magic of Netbeans.
>
> A simple HelloWorld REST web-service would be helpful. What needs to go
> in the web.xml etc.
>
> Thanks
>
> -sud
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>