utterlyidle is a free and open-source REST library in Java that was based on the good bits in JSR-311
Detailed instructions on how to install and use the utterlyidle utility on your Mac are available HERE.
utterlyidle is a cross-platform utility capable of running on any operating system that comes with Java support (e.g. Mac OS X, Windows, Linux).
Here are some key features of "utterlyidle":
· Configuration in code (no xml)
· No static state (i.e. easily testable unlike Play)
· Very fast startup times (around 1ms)
· Request and Response can be 'new'd up, 'toString'd and parsed
· Uniform client / server API (like Restlet)
· Composition preferred over class inheritance (unlike Restlet)
Multiple web containers support:
· Servlets (Tomcat, Jetty tested)
· Jetty in embedded mode
· SimpleWeb
· Embedded HttpServer from Java 6
· In-Memory
Very flexible / extensible:
· You can new up the Application and reach in and replace any dependency for a test
Resources can consume and return Requests and Responses or any Java classes:
· Renderers can be registered for any response object
Resources can be defined with Annotations, DSL, static files or role your own convention:
· By using the DSL you can even bind a HTTP method directly to a 3rd party Java class
Requirements:
· Java
What's New in This Release: [ read full changelog ]
· Added support for selecting multiple values