Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
First launch your acs container with the good ACS_CDB (If you want to component to start with the container).
Code Block | ||||
---|---|---|---|---|
| ||||
acsStartContainer -py aragornContainer
acsStartContainer -java frodoContainer
acsStartContainer -cpp frodoContainer |
For simplicity, we implement a simple client in Python to communicate with the 3 programming languages:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
from Acspy.Clients.SimpleClient import PySimpleClient client = PySimpleClient() hc_py = client.getComponent("PY_HELLO_COMP") print(hc_java = client.getComponent("JAVA_HELLO_COMP") hc_cpppy.printHello()) hc_java = client.getComponent("CPPJAVA_HELLO_COMP") print(hc_pyjava.printHello()) print( hc_java.printHello()cpp = client.getComponent("CPP_HELLO_COMP") print(hc_cpp.printHello()) |
The output is seen on each container:
...