Wednesday, December 4, 2013

Re: Pure Java RequestFactory client

Many thanks Thomas,

Although playing with Selenium Grid was fun... 

On Wednesday, December 4, 2013 2:14:22 PM UTC, Thomas Broyer wrote:


On Wednesday, December 4, 2013 2:12:05 PM UTC+1, salk31 wrote:
Sorry if I'm being thick but is it possible to have a pure Java RequestFactory client? So no JavaScript engine...

Yes.

You can use the UrlRequestTransport for a pure-Java RequestTransport built on top of HttpURLConnection. Everything else uses super-source so it works equally well in a JVM (using org.json under the hood) and in a GWT context (using JsonUtils.safeEval, and custom code for the serialization part; this is all abstractized behind the Splittable interface).
 
I initially wanted to do this to do some stress testing and now I'd like to know if it could be a candidate for the protocol for a remote Java client to our system (we would control both ends so just want cheapest/simplest thing).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment