X

Pavel Bucek's Weblog

  • March 16, 2011

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>



Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.