Search code examples
javaweb-servicesrestjerseyrestlet

Easiest frameworks to implement Java REST web services


What are the best frameworks for implementing both client and server REST frameworks in Java? I've been struggling a little to find an easy to use solution.

Update: Both Jersey and Restlet seem like good options. We'll probably use Restlet but we'll experiment with both.


Solution

  • Restlet sounds like it should provide what you're looking for:

    • Support for client and server (in a relatively symmetric api)
    • Smart url binding
    • mime type understanding (given accepted mime types, it will ask your resources for their representation in that type)
    • Supports JAX-RS annotations (just like Jersey)