JSON is a text-based data interchange format that is lightweight, language independent, and easy for humans to read and write. In the current enterprise, JSON is used for enterprise messaging, communicating with RESTful web services, and AJAX-based communications.
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.
When developing RESTful web services, people are often confused with handling exceptions. This post will explain a powerful tactic for using exception mapper with the Dropwizard framework.
This post looks at using and configuring the Log4j 2 properties file, letting you change various configuration options without modifying your application code.
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.
Logback is one of the most popular logging frameworks for Java, but did you know you could configure it using Groovy? This guide walks you through the whole process.