JVM with Spring MVC + Rule/BPM Engine + JNI to access C library controlling 433mhz plugs