Learn how sometimes false sharing might cause counterproductive effects on the performance of multithreaded applications >>>
Yearly Archives: 2020
Java Generics – <?> vs <? extends Object>
Explore the similarities and differences between two constructs in Java generics. >>>
The Spring ApplicationContext
Learn about the ApplicationContext interface in Spring and how to configure beans in some of the more common types of ApplicationContext. >>>
Garbage Collection Logging to a File in Java
Learn how to log garbage collection information to a file in Java. >>>
Difference Between Statement and PreparedStatement
Explore the differences between JDBC’s Statement and PreparedStatement interfaces. >>>
Interface Segregation Principle in Java
A quick and practical guide to the Interface Segregation Principle in Java. >>>
Java Weekly, Issue 342
Lots of interesting topics in a wide range of topics: JVM internals, JUnit 5 tricks, Spring Profiles, Ktor, Infrastructure Costs, and a lot more. >>>
Finding Top K Elements in a Java Array
implement different solutions to the problem of finding the k largest elements in an array with Java >>>
Reactive Systems in Java
A quick and practical overview of reactive systems in Java. >>>
Class.isInstance vs Class.isAssignableFrom and instanceof
A quick and practical overview of Class.isInstance and Class.isAssignableFrom methods. >>>
Version Comparison in Java
Explore a few ways to compare version strings in Java through various libraries >>>
Garbage Collection and Cyclic References in Java
Learn how the JVM makes sure to collect the unreachable but cyclic object references >>>
Memory Address of Objects in Java
Learn how to find the memory address of objects in Java >>>
Maven Logging Options
Learn how to configure logging options with Maven. >>>
Run a Java Main Method in Maven
Learn how to run Java main method using Maven. >>>
Reading the Value of ‘private’ Fields from a Different Class in Java
Learn how to access the private fields of another class and read their values using the Java Reflection API. >>>
Convert an Array of Primitives to a List
Learn how to convert an array of primitives to a List of objects of the corresponding type. >>>
Spring Security vs Apache Shiro
Learn about Spring Security and Apache Shiro. >>>
Loading JDBC Drivers
Learn some of the basic steps needed to load JDBC drivers >>>
YAML to List of Objects in Spring Boot
Learn how to map a YAML list into a java List using Spring Boot. >>>