Using the fetch API inside Node.js

I am currently developing an isomorphic web application. You can see it in action e.g. https://erleben.enns.at/. A few days ago it took me some time to figure out how to be able to use the fetch API both on the client and the server. [Read more...]

JNI and the Java library path (JVM java.library.path system property)

Sometimes I have to use native libraries (.so libraries under Linux or .dll libraries under Windows) in Java programs. That’s where you use the Java Native Interface (JNI). It allows you to call functions implemented in native libraries from Java code. And almost every time I forget to remember how the JVM tries to locate the referenced native libraries. [Read more...]