Hi Jeremy,
we've used the combination of jersey + jetty for a jmx webservice we
have in our Jetty Hightide distribution. You can have a look at the
sources and how we use jersey to offer a RESTful API to access all
server information offered by JMX here:
http://git.codehaus.org/gitweb.cgi?p=jetty-project.git;a=tree;f=jetty-jmx-ws;hb=HEAD
Cheers,
Thomas
On 11/8/11 10:38 PM, Jeremy Johnson wrote:
Hello list,
I'm looking for guidance on the best approach for implementing a
RESTful webservice with Jetty. I should start by saying that I'm a
veteran .NET developer, but Jetty and server-side Java development are
completely new to me. I've selected Jetty to provide a web API for a
new server project as I needed an efficient embedded webserver with
excellent support for the emerging Websocket standard.
In addition to Websocket support, the web API exposed by my server
needs to be RESTful. In looking around, I can find a few older
examples of REST frameworks such as Jersey or RESTlet with Jetty, but
these are few and in general there seems to be little discussion of
RESTful web services with Jetty. I've been leaning towards Jersey,
but the relative lack of examples makes me wonder if I should be
considering something else.
Any insights would be most welcome. (I also wouldn't turn down any
example code, as I'm still seeing some errors with the samples I've
found using older versions of Jersey and Jetty).
Thanks!
Jeremy
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users
--
thomas becker
[email protected]
http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users