Java TCP secure server socket
Java TCP Server Socket with certificate and private key (TLS). Let's delve into the specifics of how to use Java's built-in security…
Read more...Add simple logger
Gradle snippet: build.gradle Add to your code (where the Test class is your code): Test.java Log levels From the manual: trace error warn…
Read more...Plugin system in Java
PF4J OSGI Custom (+ jar loading)
Read more...Callback from C to Java method
api_c_wrap.c MyLibraryJNI.java MyLibrary.java Reference https://stackoverflow.com/questions/9630134/jni-how-to-callback-from-c-or-c-to-java…
Read more...Add CA certificate to Java HTTPS client
Consider you have a HTTPS server with ssl certificate, and you do want to use the certificate on your client side.
How to write HTTPS client…
Read more...