It is sometimes necessary to compile java code "on the fly", it is possible with the following snippets
It is necessary to keep track of log traces, without having too big files (matter of transportation, if you communicate with a customer), it is necessary to configure a rolling appender in the logging framework. Here is an example with log4j2
Thanks to this configuration, the file will "roll" (whe...
When it is needed to build a "fat" jar (a jar that contains all the dependencies tree), it is possible to do it with the maven shade plugin:
As of 2018 (and from a pretty long time now), SSL security for services is not an option. Beforehand, it was not so easy for a developer to get an ssl-certificate which was valid, it was most often a self-signed certificate which was difficult to use programmatically. Ideed, most languages and frame...
In order to build a stack that runs on java 6 with major frameworks (and assuming you work with maven), here is my recommended stack :