[NEWS] AssertJ 3.6.X – Interview with Joel Costigliola
1. Introduction AssertJ is a library that provides fluent assertions for Java. You can read more about it here and here. Recently, the 3.6.0 version was released along with two small bug-fix releases...
View ArticleA Guide to Redis with Redisson
1. Overview Redisson is a Redis client for Java. In this article, we will explore some of its features, and demonstrate how it could facilitate building distributed business applications. Redisson...
View ArticleGuide to Google Guice
1. Introduction This article will examine the fundamentals of Google Guice. We’ll look at approaches to completing basic Dependency Injection (DI) tasks in Guice. We will also compare and contrast the...
View ArticleMultiple Entry Points in Spring Security
1. Overview In this quick tutorial, we’re going to take a look at how to define multiple entry points in a Spring Security application. This mainly entails defining multiple http blocks in an XML...
View ArticleA Guide to the Java API for WebSocket
1. Overview WebSocket provides an alternative to the limitation of efficient communication between the server and the web browser by providing bi-directional, full-duplex, real-time client/server...
View ArticleOverview of Spring-Boot Dev Tools
1. Introduction Spring Boot gives us the ability to quickly setup and run services. To enhance the development experience further, Spring released the spring-boot-devtools tool – as part of Spring...
View ArticleIntroduction to Google Protocol Buffer
1. Overview In this article, we’ll be looking at the Google Protocol Buffer (protobuf) – a well-known language-agnostic binary data format. We can define a file with a protocol and next, using that...
View ArticleIntroduction to Javatuples
1. Overview A tuple is a collection of several elements that may or may not be related to each other. In other words, tuples can be considered anonymous objects. For example, [“RAM”, 16, “Astra”] is a...
View ArticleIntroduction to Javassist
1. Overview In this article, we will be looking at the Javasisst (Java Programming Assistant) library. Simply put, this library makes the process of manipulating Java bytecode simpler by using a...
View ArticleJava Web Weekly, Issue 168
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Troubleshooting Memory Issues in Java Applications [infoq.com] Fixing memory issues can be challenging. This...
View ArticleUsing Custom Banners in Spring Boot
1. Overview By default, Spring Boot comes with a banner which shows up as soon as the application starts. In this article, we’ll learn how to create a custom banner and use it in Spring Boot...
View ArticleIntroduction to Ratpack
1. Overview Ratpack is a set of JVM based libraries built for modern days high-performance real-time applications. It’s built on top of embedded Netty event-driven networking engine and is fully...
View ArticleTesting an OAuth Secured API with the Spring MVC Test Support
1. Overview In this article, we’re going to show how we can test an API which is secured using OAuth with the Spring MVC test support. 2. Authorization and Resource Server For a tutorial on how to...
View ArticleGuide to Internationalization in Spring Boot
1. Overview In this quick tutorial, we’re going to take a look at how we can add internationalization to a Spring Boot application. 2. Maven Dependencies For development, we need the following...
View ArticleIntroduction to JiBX
1. Overview JiBX is a tool for binding XML data to Java objects. It provides solid performance compared to other common tools such as JAXB. JiBX is also quite flexible when compared to other Java-XML...
View ArticleSpring Boot Authentication Auditing Support
1. Overview In this short article, we’ll explore the Spring Boot Actuator module and the support for publishing authentication and authorization events in conjunction with Spring Security. 2. Maven...
View ArticleProperty Testing Example With Javaslang
1. Overview In this article, we’ll be looking at the concept of Property Testing and its implementation in the javaslang-test library. The Property based testing (PBT) allows us to specify the...
View ArticleForm Validation with AngularJS and Spring MVC
1. Overview Validation is never quite as straightforward as we expect. And of course validating the values entered by a user into an application is very important for preserving the integrity of our...
View ArticleNew Stream, Comparator and Collector Functionality in Guava 21
1. Introduction This article is first in the series about the new features launched with Version 21 of the Google Guava library. We’ll discuss newly added classes and some major changes from previous...
View ArticleIntroduction to JSONassert
1. Overview In this article, we’ll have a look at the JSONAssert library – a library focused on understanding JSON data and writing complex JUnit tests using that data. 2. Maven Dependency First,...
View Article