Yes you can do it, using
RequestFactorySource<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/web/bindery/requestfactory/vm/RequestFactorySource.html>,
and an 
InProcessRequestTransport<http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/requestfactory/server/testing/InProcessRequestTransport.html>
 .

The sample in the InProcessRequestTransport javadoc uses
'RequestFactoryMagic', this is the old name of RequestFactorySource.


On Tue, Jan 10, 2012 at 4:44 PM, Jakob Mar <[email protected]>wrote:

> Hi,
>
> I want to be able to use code like this on the client and server:
>
> MyRequestFactory myFactory ...
>
> myFactory.getFooFinder().find(queryString).fire(new
> Receiver<List<FooProxy>>(){
>    public void onSuccess(List<FooProxy> response){
>         ....
>    }
> });
>
> Has anyone used RequestFactory interfaces like this on the server?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to