Grails-RESTful-API is a project mainly written in GROOVY and JAVASCRIPT, it's free.
Sample of a Grails REST API using xstream