Tuesday, January 10, 2012

Re: Using RequestFactory interfaces on the server

Yes you can do it, using  RequestFactorySource, and an InProcessRequestTransport . 

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 <jakob.runarsson@gmail.com> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment