Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Remote Services Between Python and Java

DZone's Guide to

Remote Services Between Python and Java

ECF's implementation of OSGi Remote Services allows multiple distribution providers. Take a look at the source code to see if they're of use to you.

· Java Zone ·
Free Resource

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

ECF's implementation of OSGi Remote Services allows multiple distribution providers, which are responsible for the actual RPC communication required by remote services. Here is a list of ECF distribution providers we've created.

Using Py4j and Google Protocol Buffers, we've recently enhanced an ECF distribution provider that allows the use of remote services (and Remote Service Admin) between OSGi and Python. Service impls can be in either Java or Python, and consumers can be either Java or Python. Protocol Buffers can be used to efficiently serialize arguments and return values.

The only dependencies are on OSGi, Py4j, and Google Protocol buffers, so this distribution provider can be used in Eclipse or other OSGi environments like Karaf.

Get the most recent release, with examples and the source code, at this GitHub repository.

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:
osgi ,rpc ,java ,python ,remote service

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}