On Dec 31, 2008, at 4:45 PM, Arul Dhesiaseelan wrote:
> beanor wrote:
>> I want to download the tow jar to go on my unit test ,But I can not
>> find it ,
>> The jar is following this:
>>
>> gf-embedded-api-1.0-alpha-4.jar
>> web-all-10.0-build-20080430.jar
>>
>> (http://www.adam-bien.com/roller/abien/entry/embedding_glassfish_v3_in_unit
>> )
>>
>> But I can not get a link about it, Anyone can give me a link?
>>
> You could use GlassFish v3 Embedded prelude by adding the following
> maven dependency:
>
> <dependency>
> <groupId>org.glassfish.embedded</groupId>
> <artifactId>glassfish-embedded-all</artifactId>
> <version>3.0-Prelude-Embedded-m2</version>
> </dependency>
>
See also the samples that use an earlier version of embedded GF:
http://download.java.net/maven/2/com/sun/jersey/samples/helloworld-webapp/1.0.1/helloworld-webapp-1.0.1-project.zip
Note that these use an earlier version of embedded GF because of Maven
issues with the latest GF which have yet to be resolved.
Paul.