Twitter

miercuri, 13 ianuarie 2016

Rapid testing MVC 1.0 (Ozark RI)

1. Use glassfish/ozark Docker image
The Docker image containing GlassFish and Ozark tests is available here. The necessary instructions are available here. The Docker image contains the tests from here.

2. Download NetBeans 8.1 from here
In order to have GlassFish 4.1.1 out of the box, you need to download Java EE bundle. After you install NetBeans bundle you can start developing Ozark applications. Do not forget to add the following two dependencies in your Maven projects:

<dependency>
 <groupId>org.glassfish.ozark</groupId>
 <artifactId>ozark</artifactId>
 <version>1.0.0-m02</version>
 <scope>compile</scope>          
</dependency>
<dependency>
 <groupId>javax.mvc</groupId>
 <artifactId>javax.mvc-api</artifactId>
 <version>1.0-edr2</version>
 <type>jar</type>
</dependency>

You can also run the tests available here.

3. If you have older version of NetBeans then you need to download GlassFish 4.1.1.
The GlassFish 4.1.1 is available for download here. Nevertheless, keep in mind that in older NetBeans (previous to 8.1) there is a bug. Practically, NetBeans doesn't recognize the GlassFish 4.1.1 installation folder.

Not fan of Docker, NetBeans and GlassFish 4.1.1 ? Then there is no rapid way for the moment!

Niciun comentariu:

Trimiteți un comentariu