Home - geronimo-iia/restexpress GitHub Wiki
RESTExpress is a very efficient, small "micro-framework" to library to create very performant, scalable RESTful services in Java. Written using the fabulous Netty framework from Trustin Lee, RESTExpress uses non-blocking I/O to service requests while leveraging Executors to service back-end (possibly blocking) operations.
An extremely Lightweight, Fast, REST Engine and API for Java.
Supports JSON and XML serialization automagically as well as ISO 8601 date formats.
A thin wrapper on Netty IO HTTP handling, RestExpress lets you create performant, stand-alone REST web services rapidly.
RestExpress supports the best practices proposed in the Best Practice document.
Born to be simple, only three things are required to wire up a service:
- The main class which utilizes the RestExpress DSL to create a server instance.
- A RouteDeclaration extender (much like routes.rb in a Rails app), which uses a DSL for the declaration of supported URLs and HTTP methods of the service(s) in its defineRoutes() method. RouteDeclaration support Jax-Rs annotation !
- Service implementation(s), which is/are a simple POJO--no interface or super class implementation.
RestExpress is based on those framework:
- Netty
- Guava
- Jackson Json and Xml
- Joda
- SLF4j
- Mvel
- Jaxrs-api
And, with optional Plugins:
- Xstream
- Gson
See also few presentation:
Read more about the RestExpress:
- Request/Response Life-Cycle
- Thread Pool and I/O Flow
- Frequently-Asked Questions
- View RestExpress benchmark results.
For a more interactive Q&A please see the Google code forum for RestExpress.
<iframe id="forum_embed" src="javascript:void(0)" scrolling="no" frameborder="0" width="900" height="700"> </iframe> <script type="text/javascript"> document.getElementById('forum_embed').src = 'https://groups.google.com/forum/embed/?place=forum/restexpress' + '&showsearch=true&showpopout=true&showtabs=false' + '&parenturl=' + encodeURIComponent(window.location.href); </script>This project is a fork of https://github.com/RestExpress/RestExpress. Actually it's just for my personnal testing.