Blog

Java SE 12 introduces switch expressions, which like all expressions evaluate to a single value, that you can use as statements. Java 12, brings improvement to the switch statement with new capabilities. Some of the key capabilities are arrow case labels, multiple case statements, and return values. In this post, I’ll explain the new switch […]Continue reading

Introduction In this article, we will look at Spring Framework’s support of immutable property binding. We described Spring external configuration in this article and also provided a more detailed article about the Java bean properties binding. In this article, we will demonstrate constructor binding using the merchant account configuration in this article. Constructor binding enables […]Continue reading

Java 8 introduced a new date and time API defined inside java.time package. The key date and time classes defined in this package are LocalDateTime, LocalDateTime, and OffsetDateTime. OffsetDateTime represents a date-time with an offset. This class stores all date and time fields, to a precision of nanoseconds, as well as the offset from UTC/Greenwich. […]Continue reading