Hi Thierry: I am going to upgrade my site to Restlet 2. Currently, I use GWT JSONP JSNI client from different URLs for different applications to 1 central processing server with Restlet on GAE. From your answer with GWT Restlet client, I wonder:
1) Whether the Restlet client has the Same Server Origin (SSO) restriction as with JavaSript? 2) If there is SSO restriction as in the case of JavaScript, are there facilities to manage request/response from the client to different servers to make sure that the response coming from its request? Same as the server to make sure that the request comes from legitimate clients? Thanks Duong Batien DBGROUPS and BudhNet On Thu, 2009-12-17 at 09:38 +0100, Thierry Boileau wrote: > Hello Robert, > > >Is restlet appropriate for this needs? > yes, as any other kind of server! > > >How would you realize the communication between Client (Javascript) > and Server (Java) with the help of restlet? > Ajax, surely. When the user click on the load button, the second frame > is refreshed and the URL of the target page is sent to the server > resource by the ajax client (which is better than sending the whole > document). The targeted resource retrieves the HTML page (which can be > tidied using *http://tidy.sourceforge.net > <http://tidy.sourceforge.net/>). The server resource then returns data > (rdf or xml, or json, etc) to the ajax client in order to refresh the > main frame. > > *So, one server resource either accepting GET request (with a query > parameter that contains the target URI), or accepting POST requests > (with the target URI in the body). It returns either RDF, XML, etc > according to the client preferences. > > Best regards, > Thierry Boileau > > Hey! > > > > I want to develop a webapplication with the following functionality: > > > > 0) overview: http://dl.dropbox.com/u/1266822/overview.jpg > > > > 1) The html,css,javascript content is delivered by the server. > > 2) The page consists of 2 frames. the second one loads the webpages the > > user wants to open. > > 3) The server receives the DOM of the loaded page. > > 4) The client receives data in the form of rdf or xml. > > > > > > Is restlet appropriate for this needs? How would you realize the > > communication between Client (Javascript) and Server (Java) with the help > > of restlet? > > Would be really nice if you could give me a short overview of what I have > > to take care of. > > > > Thanks in advance, > > Robert > > > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2430835 > > > > > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2431075 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2431201

