Introducing nudge4j
1. Overview nudge4j allows developers to see the impact of any operation straight-away and provides an environment in which they can explore, learn, and ultimately spend less time debugging and...
View ArticleIntro to Log4j2 – Appenders, Layouts and Filters
1. Overview Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4J has been the most popular for decades, due to the...
View ArticleJava 9 – Exploring the REPL
1. Introduction This article is about jshell, an interactive REPL (Read-Evaluate-Print-Loop) console that is bundled with the JDK for the upcoming Java 9 release. For those not familiar with the...
View ArticleSpring Security – Redirect to the Previous URL After Login
1. Overview This article will focus on how to redirect a user back to the originally requested URL – after they log in. Previously, we’ve seen how to redirect to different pages after login with...
View ArticleJava 9 Process API Improvements
1. Overview The process API in Java had been quite primitive prior to Java 5, the only way to spawn a new process was to use the Runtime.getRuntime().exec() API. Then in Java 5, ProcessBuilder API was...
View ArticleSpring Security with Stormpath
1. Overview Stormpath has developed solid support for Spring Boot and Spring Security – to make the integration with their infrastructure and services quite straightforward. In this article, we’re...
View ArticleGuide To Solr in Java With Apache SolrJ
1. Overview Apache Solr is an open-source search platform built on top of Lucene. Apache SolrJ is a Java-based client for Solr that provides interfaces for the main features of search like indexing,...
View ArticleJava Web Weekly, Issue 166
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Spring Framework 5.0 M5 Update [spring.io] Very interesting functionality in the latest Spring 5 pre-release....
View ArticleHow to Register a Servlet in Java
1. Introduction This article will provide an overview of how to register a servlet within Java EE and Spring Boot. Specifically, we will look at two ways to register a Java Servlet in Java EE — one...
View ArticleIntro To Reactor Core
1. Introduction Reactor Core is a Java 8 library which implements the reactive programming model. It’s built on top of the Reactive Streams Specification, a standard for building reactive...
View ArticleGuide 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 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 Article