jREST
jREST ofers a type-safe mapping of HTTP-parameters to Java-parameters. HTTP methods are mapped to Java methods.
SeeAlso: Ontoware
Project Page | JavaDocs
Features
- Type-safety in web-applications
- Web-enable your POJOS in three steps
- 1. call your web-methods get(..), put(...), post(...) and delete(..)
- 2. annotate your classes to tell jREST how your variable is called on the web, e.g. get(@RestParameter("age") int customerAge )
- 3. register an instance of your POJO in the RestServer (e.g. restserver.register("customer", new POJO() );
- when a user calls http://server:port/custimer?age=13 the jREST-framework will call POJO.get( 13 ).
- error handling is performed in jREST: if a param doesn't match it's type, an error will be thrown
- Full control over the response body
Download
jREST download area
jREST builds on:
License
jREST is released under the GNU
Lesser General Public License, Version 2.1, Feb. 1999. We reserve
the right to release jREST in parallel under different licenses.
Acknowledgements
Further Information
A paper that (at least partially) describes jREST is availbale here: http://www.xam.de/2005/12_voelkel_semweb4j_DERISem05.pdf
