Category: JAVA
-
Kotlin – Spring boot update blog
This is a blog entry addresses three problems Quickly parse a CSV file Store the CSV file data in a Postgres SQL DB Use the latest Thymeleaf template to display the data I could not find a few quirks that faced along with the latest version of Boot and the corresponding tweaks that are needed […]
-
Java 18 – starter kit
Started doing some GISTS around Java 18., The new String text block to convert String objects to a JSON string., here is the quick GIST
-
ZGC options with Java 16
Java 16 provides production ready ZGC garbage collection. For example here is a sample code that is going to run out of memory with a regular JRE integration, I compared the code run with Java 8 and Java 16. There is an option to log the GC cycles with a VM option, but i felt […]
-
Java 16 logging
One of the features I liked in Java16 are the logging changes. The updated logging API works on handlers. There are different handlers FileHandler, MemoryHandler and ConsoleHandler. Depending on the need, these handlers can be configured in runtime. Here is a scenario., if you want to debug or pipe entry of the logging information going […]
-
Effective Java – Third edition
Effective Java is always a good book to read and this latest edition is no different. Here is the Amazon link to get the book. Here are some code samples and presentation promoting the book. My quick code snippet from the book. import java.util.Arrays; import java.util.Collections; import java.util.List; public class StringManipLambda { public static […]