Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Ultra-lightweight Java web services with Gretty

 

Gretty is one of a new school of ultra-lightweight frameworks made for building web services. Built on top of the blazingly fast Java NIO APIs, Gretty leverages Groovy as a domain-specific language for web endpoints and Grape’s Maven-style dependency management. In this article, get started with using Gretty to build and deploy Java web service applications.

You’ll see first hand that Gretty is as light as light can be. There is no embedded ORM-framework and no robust view framework either. Gretty is the antithesis of the modern full-stack web framework, precisely because sometimes you don’t need an entire stack, baby.