The singleton pattern is one of the most well-known design patterns... wait, or is it an anti-pattern? See how to implement the singleton in Java EE, and look at some of the pros and cons.
This post looks at using and configuring the Log4j 2 properties file, letting you change various configuration options without modifying your application code.
In the upcoming Java 9 release, it will be possible to declare private and protected methods in interfaces. Learn how you can use almost the same features in Java 8 interfaces today.
Dropwizard has taken the Java world by storm with it's ease of use and great functionality. The metrics library is particularly powerful for anyone wanting to measure statistics in their Java applications.
In this post, you will learn about autowiring—its limitations, advantages, and disadvantages in detail. You also get to know about different modes of autowiring used in Java web development.
To diagnose any memory problems, the Garbage Collection log file is the best place to start. Take a look at the anatomy of a GC log file in this helpful article.
One of the major new language features in Java 8 is the lambda function. In fact, it is one of the biggest changes since the Java 1 release. Take a look at this introduction to Java 8's lambda function.