Distributed Parallel Computing

Four Ways to Exchange Real-time Data Between C++/C Program and Java Program

Java Native Interface

Pros : Simple to implement, no middle layer
Cons : No remote call

Database

Pros : Both programs can be on different machines
Cons : Slower because database is a rather heavy middle layer, reader need to query database continuosly

Web Service

Pros : Both programs can be on different machines
Cons : Not as fast as [...]