Can our ECF use a some CORBA implementation? May be we develop Java <-> Python interoperability over CORBA (omniORB, or ICE, or anything else). С уважением, Самолысов Павел Евгеньевич +7 (925) 144 76 82 From: ecf-dev-bounces@xxxxxxxxxxx [mailto:ecf-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Calmant Sent: Wednesday, January 29, 2014 12:54 PM To: Eclipse Communication Framework (ECF) developer mailing list. Subject: Re: [ecf-dev] Question about java -> python remote services About serialization, I think the best match for Python would be JSON, as it is included in the standard library and really easy to use (one-line de/serialization). XML could work too, but it become more verbose to deserialize data.
I have some work in progress on two of the Python projects I'm contributing to (jPype and iPOPO), but I'll try to take a look before/during the week end. As a fast reply, I see three main approaches: - use iPOPO inside OpenReplica, in order to use the existing ECF providers (Jabsorb, ...), with a component wrapping OpenReplica features - prepare a "classical Python" version of the Jabsorb provider (easier): the notion of service would be added by this provider - create a ReST host provider on the OpenReplica side, and its client equivalent in ECF. Cheers, Thomas 2014-01-29 Scott Lewis <slewis@xxxxxxxxxxxxx> Hi Folks,
The following question is primarily directed to Thomas Calmant (who is working with us on Python<->Java remote services and is the project lead for the iPopo project [1]. But any perspectives would be appreciated.
With the ECF enhancement [2], we have engaged the folks working on OpenReplica [3]. OpenReplica provides an implementation of Paxos to coordinate/synchronize object replica state changes. This OpenReplica implementation is done in Python.
One thing we would like to do (with [2]) is to create an OSGi Remote Service (consumer) that is written in Java, but that via an ECF remote services provider uses the OpenReplica process as a *host* for the service.
With ECF's provider architecture for remote services, this is straightforward...but I'm not clear on the best way to communicate with a Python-based remote service host. i.e. what protocol and serialization would be easiest/best? Any other ideas about how easiest to approach having a Java/OSGi RS consuer/client (that we create)...and a OpenReplica/concoord host process?
Please follow up with comments/thoughts about these questions on bug [2].
Scott
[1] http://ipopo.coderxpress.net/wiki/doku.php [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=425817 [3] http://openreplica.org/
_______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ecf-dev |