By - Prakash Balodi
Software Engineer @ Quintype Inc.
Prakash Balodi
A Micro web framework
Small and lightweight
Does not implement Servlet API
Written in Java 8 (and requires Java 8)
Non blocking
Un-opinionated
Has first class Groovy Support
@Grapes([
@Grab('io.ratpack:ratpack-groovy:1.1.1'),
@Grab('org.slf4j:slf4j-simple:1.7.12')
])
import ...
ratpack {
handlers {
get {
render "Hello World!"
}
get(":name") {
render "Hello $pathTokens.name!"
}
}
}
Ratpack Hello world