-
Notifications
You must be signed in to change notification settings - Fork 10
Resource Delegates
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
.
-
Follow the setup instruction for Rest-Dispatch here.
-
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>
-
Inherit the extension in your GWT module file:
<inherits name="com.gwtplatform.dispatch.rest.delegates.ResourceDelegate"/>
TODO
TODO
TODO