On Wednesday, July 13, 2011 12:10:50 AM UTC+2, Alain Ekambi wrote: > > Honestly i dont know if you can use Requestfactory with non GWT client > (never tried). Maybe somebody else can answer that.
Yes you can. GWT 2.4 should come with requestfactory-client.jar that can be used in any Java app (including Android). I wrote unit tests for RequestFactory services in "pure Java" (i.e. without the need for GWTTestCase, contrary to GWT-RPC for instance) and GWT's own RequestFactory unit-tests are run in both "in VM" and "in browser" modes. BobV recently added (probably won't be in 2.4) a UrlRequestTransport using java.net.HttpURLConnection http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/web/bindery/requestfactory/vm/testing/UrlRequestTransport.java (you'd probably prefer using Apache HttpClient though outside testing) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/akoAfM9CQscJ. 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.
