Mixed Java/C++ examples
Using Java from C++
EJB clients in C++
So you have your beautiful server-side infrastructure all written in Java, deployed on the J2EE server of your choice, and now you need to hook up a legacy C++ application. What do you do?
JMS clients in C++
Many companies standardize their internal communications on an asynchronous message backbone, often implemented on top of a JMS provider. Now you can tie your C++ applications into this framework as well. Also see some additional JMS C++ examples that are part of the JMS Courier distribution.
Using JDBC from C++
In a predominantly Java-oriented environment, the occasional C++ application can introduce problems simply by forcing you to use C++ replacement components for the Java components you normally use; think drivers, libraries, etc.
Using C++ from Java