The example is available at http://mediacast.sun.com/share/japod/JsonFromJaxb.zip
I have bundled all necessary jar files, so everything you need to
run the example
is to unzip the archive, cd to JsonFromJaxb and run
% ant dist
It will produce dist/JsonFromJaxb.war, which you can
deploy to your favorite Java web container.
My favorite container is GlassFish, so I would continue
with
% $AS_HOME/bin/asadmin deploy dist/JsonFromJaxb.war
The flights resource should be then...