The following Java class does some simple computation.
GIWS gives the capability to call it from C++.
To generate the binding, GIWS uses a XML declaration. GIWS will generate the JNI code to call the Java object.