nicksieger / ruby-jersey

JSR-311/Jersey with Ruby resource classes

This URL has Read+Write access

name age message
file .gitignore Mon Sep 07 11:11:42 -0700 2009 Shuffle resource class around; use new api for ... [nicksieger]
file README.txt Sun Sep 06 22:15:40 -0700 2009 Initial commit [nicksieger]
directory app/ Tue Sep 08 23:01:42 -0700 2009 Clean up java class [nicksieger]
directory lib/ Mon Sep 07 17:59:54 -0700 2009 Get simple app working with parameter annotations [nicksieger]
file main.rb Mon Sep 07 17:59:54 -0700 2009 Get simple app working with parameter annotations [nicksieger]
README.txt
To run the Jersey example, simply run "jruby main.rb".

Steps taken to build the Ruby-Jersey example from scratch:

1. Download jersey-archive-1.0.3.zip
$ curl -O -L http://download.java.net/maven/2/com/sun/jersey/jersey-archive/1.0.3/jersey-archive-1.0.3.zip
2. Download grizzly-servlet-webserver-1.8.6.4.jar
$ curl -O -L 
http://download.java.net/maven/2/com/sun/grizzly/grizzly-servlet-webserver/1.8.6.4/grizzly-servlet-webserver-1.8.6.4.jar

3. Put all jars into a new lib/ directory
$ mkdir lib
$ mv grizzly-servlet-webserver-1.8.6.4.jar lib
$ unzip -j -d lib jersey-archive-1.0.3.zip jersey-archive-1.0.3/lib/*