Is using JNI a good SOA practice to integrate java based application with C/C++ based application. Both the applications are internal ones. Other alternatives we are looking at is messaging, WS to integrate C++ with java