Hello Duong,

>   1) Whether the Restlet client has the Same Server Origin (SSO)
> restriction as with JavaSript? 
>   
Actually, this is at the end pure javascript code, so the restriction 
applies plainly.
see http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_SOP

>   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?
I'm sorry, I'm not sure to fully understand your question.

> Same as the server to make sure that the request comes from legitimate 
> clients?
>   
Since the server exposes resources to the whole Web, I suppose you are 
talking about the "authentication" topic. You want the server to check 
that the incoming request comes from an authenticated client. It can use 
one of the available authentication mechanism such as HTTP_BASIC, 
HTTP_DIGEST, HTTP_BASIC+HTTPS, cookies, etc.

Best regards,
Thierry Boileau


> 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
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2431515

Reply via email to