[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] New topic in forum Eclipse Communications Framework (ECF), called Async delivery of result, by Hallvard Traetteberg

Title: Eclipse Community Forums
Subject: Async delivery of result Author: Hallvard Traetteberg Date: Thu, 16 October 2014 18:58

I'm currently using Akka for async communication between a web server
and an Eclipse instance running on a server. The web client is a Java
code editor that continuously sends the editor content to the web
server, which passes it on to Eclipse. Eclipse sends back problem
markers, which are shown in the editor.

Now I'm considering using remote OSGi services instead. I naturally need
to use the async variant, since the web server (caller) shouldn't block
while waiting for the build on the Eclipse server to finish updating the
problem markers. However, the server (callee) also needs to be able to
answer in an async manner, i.e. when the source code is received, the
service implementation must update the corresponding workspace resource,
trigger the build and later be notified when it is finished. Hence, it
needs to be able to return a kind of inverted Future: an object that it
later will put a value into, and this should be delivered back as the

Is this possible with ECF?

Hallvard Traetteberg, Associate Professor
Dept. of Computer and Information Sciences (IDI)
Norwegian University of Science and Technology (NTNU)
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]