Jersey - Grizzly 2.x integration

Since today, Jersey users can benefit from Grizzly 2.x integration. "jersey-grizzly2" module has been finalized and provides same functionality as "jersey-grizzly" and new test framework module was added - "jersey-test-framework-grizzly2", which also became default test container for nearly all our test and samples.

How to start with Jersey and Grizzly 2.x?

If you want to be able to run your application from command line by executing mvn compile exec:java, see Main.java from Helloworld sample.

If you want to use test framework integration, change your dependency to (or you might want just to add and keep older ones):

<dependency>
    <groupId>com.sun.jersey.jersey-test-framework</groupId>
    <artifactId>jersey-test-framework-grizzly2</artifactId>
    <version>1.6-SNAPSHOT</version> <!-- or 1.6-ea06 and newer, when available -->
    <scope>test</scope>
</dependency>



Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Pavel Bucek

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today