Call java compiler on OperationFacade.java to generate jni header file.
$JDKPath$\bin\javac.exe -cp $Classpath$ -h $FileDir$ $FileDir$/$FileName$
Copy header file in jniimpl\src\include\jni
.
JAVA_HOME have to be defined.
cd jniimpl
mkdir build
cd build
cmake ..
cmake --build ..
This will update application.properties in java parts, example:
rest-dll=<path>jniimpl/build/src/<build_type>/jnisrv_impl.dll
mvn clean package
jnisrv-0.0.1-SNAPSHOT.exe
Call in browser: http://localhost:8080/jni/caller-get