Friday Dec 21, 2007

Jersey using Grizzly 1.7

One might be laboring under the misconception that Grizzly should be hibernating at this time, but no, Grizzly 1.7 is wide awake. Just updated Jersey to use 1.7, and the 0.5 release will use this version.

Next up... try to figure out how to connect Grizzly to Jersey for 100 (Continue) and Comet support. I believe it should be possible, although the mechanism to do this in Java using anonymous inner classes might not be pretty, much better in Scala :-)

I also wonder if it may be possible to utilize Grizzly's UDP support (how about someone getting reliable Multicast integrated into Grizzly?) to get Jersey working over UDP i know that is not HTTP on the wire but it could be interesting to experiment with granular publish/subscribe like what the Microsoft's RESTful robotics framework does.

Wednesday Dec 05, 2007

A Grizzly Jersey

No not some blog to get the hackles raised on the anti-fur league...

With much help from the very responsive JFA we have upgraded the Grizzly support in Jersey to the latest jars, and we will be moving to version 1.7 as soon as it is released. As part of this upgrade unit tests have been added to ensure quality support.

Now it is really easy to create a Grizzly Jersey Adapter, deploy root resources to it, create a SelectorThread and then start the endpoint:

SelectorThread s = GrizzlyServerFactory.
    create("http://locahost:9090");

That is it!

About

sandoz

Search

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