Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Module Overview


GroovyRestlet is a simple DSL for constructing Restlet application in a simple, shortcuting syntax.

Download

Distributions

GroovyRestlet is distributed as a single jar. Download from here. Current release is groovy-restlet-0.1-SNAPSHOT.jar

Pre-requisites

At current moment, GroovyRestlet depends following:

  • Groovy 1.5
  • Java 1.5
  • Restlet 1.1-SNAPSHOT
  • SLF4J 1.4.3 as logging tool
  • Spring 2.5 if spring integration is required
  • commons-lang 2.3

Installing

Drop GroovyRestlet and all dependencies in your Java classpath.

Documentation

Usage

First, create an instance of GroovyRestlet first.

Icon

If you want Spring support, provide an instance of ApplicationContext as the constructor parameter.

Then, prepare your Restlet building script using simple GroovyRestlet DSL syntax.
Calling GroovyRestlet.build(URI) then done.

Examples

Here is one GroovyRestlet DSL example, inspired from Restlet tutorial 11.

For more examples:

User Guide

pending...

Developers

Source Control

http://svn.codehaus.org/groovy-contrib/groovyrestlet/trunk

Building

GroovyRestlet uses Maven 2 as its building tool.

Contributing

Feel free to contribute.

Mailing List(s)

http://groovy.codehaus.org/Mailing+Lists

Issue tracker

  • No labels