Hi Jens,

yeah, basically I do what you wanted to do with @RemoteService, but then I 
had to rearrange the dependencies (moved in a project where I couldn't 
depend on GWT) and so I moved to processing on the @Asynchronize annotation 
(which I created initially with a different name and purpose similar to 
your @GenerationStrategy).

And yes there is the possibility to customize the return type, for example 
if you want a boolean, use it as @Asynchronize(returnType = boolean.class). 
Plus 
there are some other inspiring options.

I really think that being an independent project it makes it better in 
terms of modularity, 
but its code is Apache Licensed and I allow freedom of copying it to make a 
processor specific for GWT, working with @RemoteService annotation.

Also I have some ideas (see the github issues) to make it completely 
transparent as a dependency so that subprojects don't inherit the processor 
and processing is not triggered in all the hierarchy.

Please give it a try, your feedback could be helpful ;-)





Il giorno lunedì 14 settembre 2015 15:43:15 UTC+2, Jens ha scritto:
>
> Hey,
>
> I actually also thought about that in the past but never had time to 
> implement it. You can read my thoughts at 
> https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/tSI4ZqjNZD8/uMt0TMHW2sUJ
>
> Basically instead of @Asynchonize I would have used @RemoteService as that 
> matches the "old" interface name you currently have to extend. Also I would 
> have introduced a @GenerationStrategy annotation because in the Async 
> interface you can return void, Request or RequestBuilder which allows you 
> to customize the request or even cancel it.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/6834e4ab-1690-46a8-9c73-7dc45e6cc8c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to