Wednesday, April 9, 2014

RESTX - lightweight Java REST framework

RESTX is based on a “no reflection” architecture, instead it uses annotation processing and compile-time source generation. Thanks to this approach we eliminate complex call stacks and the many Proxy / Reflection calls, which makes it very lightweight in terms of runtime overhead compared to programming directly against the servlet API. There’s also (almost) no classpath scanning (which leads to a faster startup time).

Another reason for choosing annotation processing over reflection is that even with some “magic” you can always view the generated source, you can clearly see in your IDE the caller of your API methods.

Read more here

Leave a Reply

All Tech News IN © 2011 & Main Blogger .