Totalcross connected to cpp container

Depends on how much you have exposed or wish to expose.

Some people like network services:

Others prefer shared memory

People who came down from the Big Machines, when Iron was Iron, would use a relational database and triggers on tables.

Many others like message queues

If you want to take a trip in the WayBack Machine, have each container own a serial port and run a NULL modem cable between them.