Guide to Guava’s Reflection Utilities
1. Overview In this article, we’ll be looking at the Guava reflection API – which is definitely more versatile compared to the standard Java reflection API. We’ll be using Guava to capture generic...
View ArticleMockito’s Java 8 Features
1. Overview Java 8 introduced a range of new, awesome features, like lambda and streams. And naturally Mockito leveraged these recent innovations in its 2nd major version. In this article, we are...
View ArticleAngularJS CRUD Application with Spring Data REST
1. Overview In this tutorial, we’re going to create an example of a simple CRUD application using AngularJS for the front-end and Spring Data REST for the back-end. 2. Creating the REST Data Service...
View ArticleA guide to the “when{}” block in Kotlin
1. Introduction This tutorial introduces the when{} block in Kotlin language and demonstrates the various ways that it can be used. To understand the material in this article, basic knowledge of the...
View ArticleIntro to Jasypt
1. Overview In this article, we’ll be looking at the Jasypt (Java Simplified Encryption) library. Jasypt is a Java library which allows developers to add basic encryption capabilities to projects with...
View ArticleHBase with Java
1. Overview In this article, we’ll be looking at the HBase database Java Client library. HBase is a distributed database that uses the Hadoop file system for storing data. We’ll create a Java example...
View ArticleSpring Cloud – Tracing Services with Zipkin
1. Overview In this article, we are going to add Zipkin to our spring cloud project. Zipkin is an open source project that provides mechanisms for sending, receiving, storing, and visualizing traces....
View ArticleArray Processing with Apache Commons Lang 3
1. Overview The Apache Commons Lang 3 library provides support for manipulation of core classes of the Java APIs. This support includes methods for handling strings, numbers, dates, concurrency,...
View ArticleSpring Security and OpenID Connect
1. Overview In this quick tutorial, we’ll focus on setting up OpenID Connect with a Spring Security OAuth2 implementation. OpenID Connect is a simple identity layer built on top of the OAuth 2.0...
View ArticleString Processing with Apache Commons Lang 3
1. Overview The Apache Commons Lang 3 library provides support for manipulation of core classes of the Java APIs. This support includes methods for handling strings, numbers, dates, concurrency,...
View ArticleJava Web Weekly, Issue 167
Lots of interesting writeups on Spring stuff going on this week. Let’s jump right in… 1. Spring and Java >> Spring Boot – Configure Log Level in Runtime Using Actuator Endpoint [codeleak.pl]...
View ArticleIntroduction to Java 9 StackWalking API
1. Introduction In this quick article, we will have a look at Java 9’s StackWalking API. The new functionality provides access to a Stream of StackFrames, allowing us to easily browse stack in both...
View ArticleJava Money and Currency API
1. Overview JSR 354 – “Currency and Money” addresses the standardization of currencies and monetary amounts in Java. Its goal is to add a flexible and extensible API to the Java ecosystem, and make...
View ArticleConcurrent Test Execution in Spring 5
1. Introduction Starting with JUnit 4, tests can be run in parallel to gain speed for larger suites. The problem was concurrent test execution was not fully supported by the Spring TestContext...
View ArticleA Guide to the Axon Framework
1. Overview In this article, we’ll be looking at the Axon framework and how it helps us implement an architecture based on CQRS (Command Query Responsibility Segregation) and potentially Event...
View ArticleAnt Colony Optimization
1. Introduction The aim of this series is to explain the idea of genetic algorithms and show the most known implementations. In this tutorial, we’ll describe the concept of the ant colony optimization...
View ArticleIntroduction to Twitter4J
1. Overview In this article, we will have a look at using Twitter4J in a Java application to communicate with Twitter. 2. Twitter4J Twitter4J is an open source Java library, which provides a...
View ArticleGuide to @Immutable Annotation in Hibernate
1. Overview In this article, we’ll talk about how we can make an entity, collection or attribute Immutable in Hibernate. By default, fields are mutable, which means we’re able to perform operations on...
View ArticleSpring LDAP Overview
1. Overview LDAP directory servers are read-optimized hierarchical data stores. Typically, they’re used for storing user-related information required for user authentication and authorization. In this...
View ArticleJava 9 CompletableFuture API Improvements
1. Introduction Java 9 comes with some changes to the CompletableFuture class. Such changes were introduced as part of JEP 266 in order to address common complaints and suggestions since its...
View Article