https://testsortedset.wordpress.com/javasnippets/my-tiny-mini-orm-with-commons-dbutils-and-generics-2/
Saturday, October 30, 2021
Thursday, October 28, 2021
SSL or no SSL ?
https://mkyong.com/webservices/jax-ws/java-security-cert-certificateexception-no-name-matching-localhost-found/
Friday, October 22, 2021
Fat runnable jars with maven
First read this for the different ways:
https://www.baeldung.com/executable-jar-with-maven
If you have external/local jars, understand the problem:
https://stackoverflow.com/questions/364114/can-i-add-jars-to-maven-2-build-classpath-without-installing-them
One possible dirty way:
https://github.com/stephenc/non-maven-jar-maven-plugin
Apache CXF and SOAP XML Logging
Phew this one was tough..but managed to solve it eventually using the following:
https://newbedev.com/apache-cxf-loggingininterceptor-is-deprecated-what-to-use-instead
https://stackoverflow.com/questions/56356503/how-to-log-soap-request-response-using-log4j2-in-separate-log-files-dynamically
And this one did the most work
https://newbedev.com/how-to-modify-the-raw-xml-message-of-an-outbound-cxf-request
In between, had to mess with Streams.. it was crazy:
https://newbedev.com/convert-outputstream-to-bytearrayoutputstream
https://stackoverflow.com/questions/5923817/how-to-clone-an-inputstream/5924132#5924132
https://stackoverflow.com/questions/33014035/write-from-output-stream-to-output-stream
Finally .. learnt alot again.