Building Java inprocess Data Adapter and MetaData Adpater using C++ or C# dll via JNI is not prohibited and could be a workable solution.

However, I would recommend the solution implemented by the...