Java Weekly, Issue 187
Lots of interesting write-ups on Java this week. Here we go… 1. Spring and Java >> Kotlin collections [blog.frankel.ch] A quick but comprehensive guide to the collections hierarchy in Kotlin....
View ArticleSpring Cloud Bus
1. Overview In this article, we’re going to look at the new Spring Cloud Bus project. Spring Cloud Bus uses lightweight message broker to link distributed system nodes. The primary usage is to...
View ArticleRatpack Integration with Spring Boot
1. Overview Previously, we have introduced Ratpack and its integration with Google Guice. In this quick article, we’ll show how Ratpack can be integrated with Spring Boot. 2. Maven Dependency Before...
View ArticleDestructuring Declarations in Kotlin
1. Overview In this tutorial, we’ll introduce the concept of Destructuring Declarations in Kotlin, and take a look at how it can be used. If you want to learn more about Kotlin, check out this...
View ArticleGenerating a Book with Asciidoctor
1. Introduction In this quick article, we’ll demonstrate how to generate a book from an AsciiDoc document, and how to customize your book with various style options. If you’re not familiar with...
View ArticleIntroduction to Jooby Project
1. Overview Jooby is a scalable and fast micro web framework build on top of the most used NIO web servers. It’s very straightforward and modular, clearly designed for the modern day’s web...
View ArticleGuide to Apache Commons CircularFifoQueue
1. Overview In this quick tutorial, we’ll have a look at the CircularFifoQueue data structure provided in the collections4.queue package of the Apache Commons Collections library....
View ArticleSpring – Log Incoming Requests
1. Introduction In this quick tutorial, we’re going to show the basics of logging incoming requests using Spring’s logging filter. If you’re just getting started with logging, check out this logging...
View ArticleIntroduction to Activiti with Spring
1. Overview Simply put, Activiti is a workflow and Business Process Management platform. We can get started quickly by creating a ProcessEngineConfiguration (typically based on a configuration file)....
View ArticleIntroduction to Neuroph
1. Introduction This article takes a look at Neuroph – an open-source library for creating neural networks and utilizing machine learning. In the article, we have a look at the core concepts and...
View ArticleTemplate Engines for Spring
1. Overview The Spring web framework is built around the MVC (Model-View-Controller) pattern, which makes it easier to separate concerns in an application. This allows for the possibility to use...
View ArticleIntroduction to Hoverfly in Java
1. Overview In this article, we’ll have a look at the Hoverfly Java library – which provides an easy way of creating real API stubs/simulations. 2. Maven Dependencies To use Hoverfly, we need to add a...
View ArticleImplementing Custom Operators in RxJava
1. Overview In this quick tutorial, we’ll show how to write a custom operator using RxJava. We’ll discuss how to build this simple operator, as well as a transformer – both as a class or as a simple...
View ArticleIntroduction to Apache Commons Chain
1. Introduction Apache Commons Chain is a library that uses the Chain of Responsibility pattern – generally used for organizing complex processing flows in which multiple receivers can process a...
View ArticleDelegated Properties in Kotlin
1. Introduction The Kotlin programming language has native support for class properties. Properties are usually backed directly by corresponding fields, but it does not always need to be like this –...
View ArticleGuide to hashCode() in Java
1. Overview Hashing is a fundamental concept of computer science. In Java, efficient hashing algorithms stand behind some of the most popular collections we have available – such as the HashMap (for...
View ArticleJava Weekly, Issue 188
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Spring Framework 5 Kotlin APIs, the functional way [spring.io] The new Spring 5 will not only be compatible...
View ArticleCollect a Java Stream to an Immutable Collection
1. Introduction In this quick article, we’re going to have a look at various ways of collecting Java Streams to immutable Collections – which require a special approach because standard Collectors...
View ArticleSealed Classes in Kotlin
1. Introduction Simply put, the Kotlin language borrowed a number of concepts from other functional languages to help with writing safer and more readable code. Sealed hierarchies is one of these...
View ArticleSecuring Java EE with Spring Security
1. Overview In this quick tutorial, we’ll be looking at how to secure a Java EE web application with Spring Security. 2. Maven Dependencies Let’s start with the required Spring Security dependencies...
View Article