The Maven Verifier Plugin
1. Overview This tutorial introduces the verifier plugin, one of the core plugins of the Maven build tool. For an overview of the other core plugins, refer to this overview article. 2. Plugin Goal The...
View ArticleThe Maven Site Plugin
1. Overview This tutorial introduces the site plugin, one of the core plugins of the Maven build tool. For an overview of the other core plugins, refer to this tutorial. 2. Plugin Goals The Maven site...
View ArticleGuide to the Core Maven Plugins
1. Overview Maven is the most commonly used build tool in the Java world. Mainly, it’s just a plugin execution framework in which all jobs are implemented by plugins. In this tutorial, we’ll give an...
View ArticleJava Weekly, Issue 225
Here we go… 1. Spring and Java >> Monitor and troubleshoot Java applications and services with Datadog Optimize performance with end-to-end tracing and out-of-the-box support for popular Java...
View ArticleMeasure Elapsed Time in Java
1. Overview In this article, we’re going to have a look at how to measure elapsed time in Java. While this may sound easy, there’re a few pitfalls that we must be aware of. We’ll explore standard Java...
View ArticleIntroduction to Kubernetes
1. Overview In this tutorial, we’ll have a brief theoretical introduction to Kubernetes. In particular, we’ll discuss the following topics: Need for a container orchestration tool Features of...
View ArticleEasyMock Argument Matchers
1. Overview In this tutorial, we’ll explore EasyMock argument matchers. We’ll discuss different types of predefined matchers and how to create a custom matcher as well. We already covered EasyMock...
View ArticleDouble-Checked Locking with Singleton
1. Introduction In this tutorial, we’ll talk about the double-checked locking design pattern. This pattern reduces the number of lock acquisitions by simply checking the locking condition beforehand....
View ArticleApache Ignite with Spring Data
1. Overview In this quick guide, we’re going to focus on how to integrate the Spring Data API with the Apache Ignite platform. To learn about Apache Ignite check out our previous guide. 2. Maven Setup...
View ArticleSpring Assert Statements
1. Overview In this tutorial, we’ll focus on and describe the purpose of the Spring Assert class and demonstrate how to use it. 2. Purpose of the Assert Class The Spring Assert class helps us validate...
View ArticleFind All Pairs of Numbers in an Array That Add Up to a Given Sum
1. Overview In this quick tutorial, we’ll show how to implement an algorithm for finding all pairs of numbers in an array whose sum equals a given number. We’ll focus on two approaches to the problem....
View ArticleTesting Netty with EmbeddedChannel
1. Introduction In this article, we’ll see how to use EmbeddedChannel to test the functionality of our inbound and outbound channel handlers. Netty is a very versatile framework for writing...
View ArticleWrapper Classes in Java
1. Overview As the name suggests, wrapper classes are objects encapsulating primitive Java types. Each Java primitive has a corresponding wrapper: boolean, byte, short, char, int, long, float, double...
View ArticleJava KeyStore API
1. Overview In this tutorial, we’re looking at managing cryptographic keys and certificates in Java using the KeyStore API. 2. Keystores If we need to manage keys and certificates in Java, we need a...
View ArticleIntroduction to SSL in Java
1. Overview In this tutorial, we’ll introduce SSL and explore how we can use it in Java using JSSE (Java Secure Socket Extension) API. 2. Introduction Simply put, the Secured Socket Layer (SSL)...
View ArticleSpring WebFlux Filters
1. Overview The use of filters is widespread in web applications since they give us a way to modify a request or response without changing our endpoints. In this quick tutorial, we’ll describe...
View ArticleIntro to Apache OpenNLP
1. Overview Apache OpenNLP is an open source Natural Language Processing Java library. It features an API for use cases like Named Entity Recognition, Sentence Detection, POS tagging and Tokenization....
View ArticleWorking with Boolean in Thymeleaf
1. Introduction In this quick tutorial, we’re going to look at how to work with boolean values in Thymeleaf. Before we dive into the details, Thymeleaf basics can be found in this writeup. 2....
View ArticleSpring MVC @PathVariable with a dot (.) gets truncated
1. Overview In this short tutorial, we’ll discuss a common problem when working with Spring MVC – when using a Spring @PathVariable with a @RequestMapping to map the end of a request URI that contains...
View ArticleJava Weekly, Issue 226
Here we go… 1. Spring and Java >> Monitor and troubleshoot Java applications and services with Datadog Optimize performance with end-to-end tracing and out-of-the-box support for popular Java...
View Article