|
1 | 1 | ## Eclipse Communication Framework
|
2 | 2 | ECF is a set of APIs/frameworks/types for inter-process communication
|
3 | 3 |
|
4 |
| -Current version: 3.15.5 |
5 |
| -Release Date: 1/20/2025 |
| 4 | +Current version: 3.15.6 |
| 5 | +Release Date: 3/15/2025 |
6 | 6 |
|
| 7 | +## NEW (4/28/2025) Bndtools Template for Python.Java Remote Services Development |
| 8 | + |
| 9 | +There has been a new project template added to the [ECF Bndtools Workspace Template](https://github.com/ECF/bndtools.workspace) that uses the [ECF Python.Java Distribution Provider](https://github.com/ECF/Py4j-RemoteServicesProvider). This distribution provider is based upon py4j, which supports high performance remote procedure call between python and java processes. |
| 10 | + |
| 11 | +To try it out after installing Bndtools 7.1 and the ECF tools add ons |
| 12 | + |
| 13 | +1. Create a new Bndtools Workspace using the [ECF Bndtools Workspace Template](https://github.com/ECF/bndtools.workspace) |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +1. Create a new Bnd OSGi project |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +1. Open the projectName.hellopython.javahost.bndrun file in the project directory |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +1. Choose 'Resolve' and then 'Update' |
| 26 | + |
| 27 | +1. Select Debug OSGi to start the example application (Java) |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +Running Python Example Program |
| 32 | + |
| 33 | +1. Install [iPOPO v 3.1.0](https://ipopo.readthedocs.io) in your Python (3.9 or greater) local environment |
| 34 | + |
| 35 | +1. In a command shell or IDE, navigate to the project directory and run the run_python_example.py script |
| 36 | + |
| 37 | +``` |
| 38 | +python run_python_example.py |
| 39 | +``` |
| 40 | +The examples will output progress to their respective consoles as the remote services are made exported, |
| 41 | +discovered, and imported by the java process or the python process. |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +Most of the code that produces output is available in the example project. For java: src/main/java/.../hello/*.java |
| 46 | +and python: python-src/samples/rsa |
| 47 | + |
7 | 48 | ### Install into Bndtools for Remote Services development
|
8 | 49 | NEW: Feature for Remote Services tooling that enhances [Bndtools](https://bndtools.org/) 7.1 or higher. Theses tools use bndtools project, workspace, service templates, and OSGi services wizards for simplifying the creation of OSGi remote services. Also present are Eclipse view for debugging remote service endpoint description discovery and remote service export/import. The feature requires that Bndtools 7.1+ be [installed](https://bndtools.org/installation.html) into a recent version of Eclipse. Also see the Install into Bndtools 7.1 via Oomph section below for automated install.
|
9 | 50 |
|
|
0 commit comments