dev@jersey.java.net

Re: [Jersey] REST (Jersey) + JaveEE6 (EJB) GlassFish v3 sample location

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Tue, 28 Apr 2009 12:16:08 +0200

On Tue, Apr 28, 2009 at 11:56:12AM +0200, Pavel Bucek wrote:
>
> Hi,
>
> you can find this sample at glassfish-samples.dev.java.net project..
>
> cvs -d :pserver:username_at_cvs.dev.java.net:/cvs checkout glassfish-samples
>
> rest sample is located at ./ws/javaee6/rest/message-board-war
>
> to proper function you have to set modify properties:
>
> gf location and host
> ./ws/bp-project/app-server.properties
> junit location (v4.0+ is required)
> ./ws/bp-project/test.properties
>
> then you can run "ant run" in message-board-war directory, sample will be
> build, packaged and deployed and main page of the sample will be opened in
> your browser (in most cases it would be
> http://localhost:8080/message-board-war/ )
>
> it works only with gf build 47+, and jersey 1.1.0,0-0.1 (4/27/2009)+


Just to clarify:

To get the above jersey version "installed" into glassfish,
you can just unzip glassfish subdirectory of zip [1]
into your existing glassfish instance (there should already
exist a glassfish subdirectory, so by unzipping you will only
add several jar files into $AS_HOME/glassfish/modules ).

~Jakub

[1]http://download.java.net/maven/2/com/sun/jersey/glassfish/v3/jersey-gfv3-core/1.1.0-ea-SNAPSHOT/jersey-gfv3-core-1.1.0-ea-SNAPSHOT-project.zip
>
>
> Regards,
> Pavel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>