When developing Java applications, it is easy to get used to invoking logging on the provided logger via its log level-specific methods. For example, Log4j‘s Logger provides methods such as ...
It was such a simple, brilliant idea. Use the power of Java 5.0 enumerated types to encode details of a data dictionary (attribute name, type, range, units, etc.) and create a type-safe system for ...
Brian Goetz, Oracle's Java language architect, has been talking for quite a while about the need for new features in Java and the Java Virtual Machine (JVM) to improve its typing system on several ...
In this blog post, I look at the concept of Java synthetic methods. The post summarizes what a Java synthetic method is, how one can be created and identified, and the implications of Java synthetic ...
In an earlier column I discussed using the Register and Resolve methods with Microsoft's Unity dependency container. However, if you've got all of Visual Studio's hotfixes applied, you'll have access ...
Community driven content discussing all aspects of software development from DevOps to design patterns. Instance main methods and unnamed classes, coming in Java 21, will forever change how developers ...
The ability to write clean code is important no matter which programming language you work with. When you work in Java, it's even more pertinent. Java has long been the world's most popular ...