integrating C++ and JAVA
We are currently working on a client-server based application. The client is implemented in C++. However Server is implemented in JAVA.
We need some common repository for both the implementation. I mean there are some entities such as enums or structures which are shared by both client and server. Having two seperate codes for such defination may cause lot of inconsistency problems.in C++ we can have header for this and similar to this in java. Is there any way we can use these common defination for both C++ and JAVA so that we dont need seperate codebase??
Thanks in advance..

