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