Is it possible to use non-Javascript client with RequestFactory?

23 views
Skip to first unread message

David Vree

unread,
Nov 15, 2011, 4:45:49 PM11/15/11
to Google Web Toolkit
Hi -- New to all this, but I am wondering if it is possible for my
company to supply Java, .NET, Python, etc. client-side libraries that
will run against RequestsFactory servlet?

I understand that RequestFactory uses, and is based on JSON, but the
service methods are not REST nor SOAP, but rather of its own
design...is that correct?

Thomas Broyer

unread,
Nov 15, 2011, 7:48:29 PM11/15/11
to google-we...@googlegroups.com
You can use RequestFactorySource to create a client instance (it can even run on Android devices, FWIW), then initialize it with a UrlRequestTransport, or your own implementation based on Apache HttpClient or whatever.

David Vree

unread,
Nov 15, 2011, 11:22:45 PM11/15/11
to Google Web Toolkit
Thank you for you help...it is very much appreciated.

If I understand you correctly, I can (at a minimum) create a Java
client library that communicates with my GWT RequestFactory back end.

Is it safe to assume that a .NET client library that calls
RequestFactory doesn't exist? Further assuming that creating one
would be a significant undertaking....

On Nov 15, 7:48 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> You can use RequestFactorySource<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl...>to create a client instance (it can even run on Android devices, FWIW),
> then initialize it with a UrlRequestTransport<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl...>,
Reply all
Reply to author
Forward
0 new messages