Diving into Java records: Serialization, marshaling, and bean state validation

By Frank Kiwy Coding, Java 14, Java 15, Java EE, Java SE

Existing frameworks and libraries that access instance variables through getters and setters won’t work with records. Here’s what to do.

Four common pitfalls of the BigDecimal class and how to avoid them

By Frank Kiwy Coding, Java SE

When doing currency calculations in Java, you might use java.math.BigDecimal—but beware of some of that class’s unique challenges.