Skip to content
Christopher Viel edited this page Jan 5, 2015 · 17 revisions

This extension aims at making your resource interfaces (and annotations!) reusable by server implementations (DRY principle). To achieve this, the extension will generate a delegate that will wrap the call to the resource and to RestDispatch.

Setup

  1. Follow the setup instruction for Rest-Dispatch here.

  2. Add the jar to your classpath. If you are using maven:

    <dependency>
        <groupId>com.gwtplatform.extensions</groupId>
        <artifactId>dispatch-rest-delegates</artifactId>
        <version>${gwtp.version}</version>
        <scope>provided</scope>
    </dependency>
  3. Inherit the extension in your GWT module file:

    <inherits name="com.gwtplatform.dispatch.rest.delegates.ResourceDelegate"/>

Usage

TODO

Write unit tests

TODO

Gotchas

TODO

Clone this wiki locally