| Question:  UI Listeners handling in RAP [message #52119] | 
Tue, 16 October 2007 20:42   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: slewis.composent.com 
 
Sorry for the naive question...if this is in the FAQ please just let me  
know. 
 
What happens between the client and server for RAP listener  
notifications?  For example, if I setup a MouseListener is there  
communication between the web client (javascript) and the RAP server  
process when the listener is notified with UI events? 
 
Does the implementation (if any) use xmlhttprequest or some such? 
 
Just FYI...might make sense to use a high-performance asynch messaging  
(e.g. JMS) rather than strict http xmlhttprequests to implement, for  
performance reasons, etc.  For example, ECF remote services on JMS: 
 
 http://wiki.eclipse.org/index.php/ECF_API_Docs#Remote_Servic es_API 
 
ECF remote services are OSGi services...exposed either as OSGi service  
proxies, or via a more explicit messaging interface called  
IRemoteService.  Can run over multiple transports. 
 
In any event (so to speak :)... 
 
Scott
 |  
 |  
  | 
 | 
| Re: Question:  UI Listeners handling in RAP [message #53431 is a reply to message #53019] | 
Thu, 18 October 2007 12:32   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: slewis.composent.com 
 
Hi Frank, 
 
Frank Appel wrote: 
> Hi Scott, 
>  
> indeed there is communication between the client and the RAP server in case  
> of event notifications and we are using xmlhttprequest implementations to do  
> so. Thanks for your hint to the ECF Remote Services, so we can have a look  
> at it to see whether this could be a way for improvements. 
 
 
Sure.  Note the remote services API is transport agnostic...so one can  
use (e.g.) JMS, xmlhttprequest, private protocol, etc...based upon  
performance, reliability, and scaling requirements. 
 
ECF is having its 1.2 release tomorrow (Fri Oct 19). 
 
Scott
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03038 seconds