AJAX (Asynchronous Javascript and XML) really only implies the client side technology, and GWT is server agnostic (with the exception of GWT- RPC). So, Sure, you can use whatever you want on the server.
You build up your request on the client using the RequestBuilder class. The data that you send or receive is not particularly important. You can use plain text, CSV, XML, JSON or whatever you want. It just happens that there are all manner of JSON implementations so it tends to be a fairly common type of data used with "AJAX" applications. As for existing code, anything that you can do in JavaScript, you can do in GWT (it is after all compiled to JavaScript). The problem you may encounter however, would be if your FPGA device isn't the device serving up your web page. Browsers are bound by something called the Same Origin Policy, and this nasty little guy (it is a security feature, really) will prevent you from using RequestBuilder to connect to any server (device) that isn't the one that the host page was served from. -jason On Oct 1, 2008, at 2:38 AM, slow wrote: > > I am implementing a client side interface that gets raw data from a > web server embedded on an FPGA device and graph that data. The server > does not support java. As I was reading through the gwt tutorial it > seems like that in order to implement Ajax one needs to use servlet or > some JSON scripts. > > I also read that you can form ordinary http requests within gwt code. > My question then: Is it possible to use the normal http requests > without JSON or servlets to implement ajax. If so how does one go > about doing that. > > I have an code implementing Ajax with just JavaScript & Html and want > to convert to implement it using gwt for more flexiblility. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
