Introduction to GeoTools
1. Overview In this article, we’ll go through the basics of the GeoTools open source Java library – for working with geospatial data. This library provides compliant methods for implementing...
View ArticleIntroduction to EthereumJ
1. Introduction In this article, we take a look at the EthereumJ library that allows us to interact with the Ethereum blockchain, using Java. First, let’s just briefly dive into what this technology...
View ArticleObservable Utility Operators in RxJava
1. Overview In this article, we’ll discover some utility operators for working with Observables in RxJava and how to implement custom ones. An operator is a function that takes and alters the behavior...
View ArticleJava Weekly, Issue 195
Today – Java 9 goes live (I’ve been waiting for some time to write this sentence). Let’s jump right in… 1. Spring and Java >> The Top 10 Jigsaw and Java 9 Misconceptions Debunked...
View ArticleGuide to LinkRest
1. Overview LinkRest is an open-source framework for building data-driven REST web services. It’s built on top of JAX-RS and Apache Cayenne ORM, and uses an HTTP/JSON-based message protocol....
View ArticleIntroduction to Jukito
1. Overview Jukito is the combined power of JUnit, Guice, and Mockito – used for simplifying testing of multiple implementations of the same interface. In this article we’re going to see how authors...
View ArticleProxy, Decorator, Adapter and Bridge Patterns
1. Introduction In this article, we’re going to focus on Structural Design Patterns in Java – and discuss what these are and some fundamental differences between some of them. 2. Structural Design...
View ArticleCollection Factory Methods for Vavr
1. Overview Vavr is a powerful library for Java 8+, built on top of Java lambda expressions. Inspired by the Scala language, Vavr adds functional programming constructs to the Java language, such as...
View ArticleGranted Authority Versus Role in Spring Security
1. Overview In this quick article, we’ll explain the subtle but significant difference between a Role and a GrantedAuthority in Spring Security. For more detailed information on roles and authorities,...
View ArticleIntroduction to rxjava-jdbc
1. Overview Simply put, rxjava-jdbc is an API for interacting with relational databases which allows fluent-style method calls. In this quick tutorial, we’re going to have a look at the library and...
View ArticleRxJava Tutorial
RxJava is a Reactive Extensions implementation for Java environment. The library utilizes a combination of functional and reactive techniques that can represent an elegant approach to event-driven...
View ArticleKotlin Tutorial
Kotlin is a new statically-typed language in the JVM world with a developer-friendly syntax and strong Java interoperability. It’s now also a first-class language on the Android platform. >>...
View ArticleGuide to Kotlin @JvmField
1. Overview In this tutorial, we’re going to explore the @JvmField annotation out of Kotlin. Kotlin has its approach to classes and properties, which differs from the approach used in Java. The...
View ArticleQuerying Couchbase with N1QL
1. Overview In this article, we’ll be looking at querying a Couchbase Server with N1QL. In a simplified way, this is SQL for NoSQL databases – with the goal of making the transition from...
View ArticleSchedulers in RxJava
1. Overview In this article, we’re going to focus on different types of Schedulers that we’re going to use in writing multithreading programs based on RxJava Observable’s subscribeOn and observeOn...
View ArticleJava Weekly, Issue 196
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Java 9 and IntelliJ IDEA [blog.jetbrains.com] It’s nice to see that tools are adapting to new releases super...
View ArticleApache Commons Collections Bag
1. Introduction In this quick article, we’ll focus on how to use the Apache’s Bag collection. 2. Maven Dependency Before we start, we need to import the latest dependencies from Maven Central:...
View ArticleIntroduction to Animal Sniffer Maven Plugin
1. Introduction While working in Java, there are times when we need to use multiple language versions at the same time. It’s common to need our Java program to be compile-time compatible with one Java...
View ArticleIntroduction to JGraphT
1. Overview Most of the time, when we’re implementing graph-based algorithms, we also need to implement some utility functions. JGraphT is an open-source Java class library which not only provides us...
View ArticleValidating Container Elements with Bean Validation 2.0
1. Overview The 2.0 Version of the Java Bean Validation specification adds several new features, among which is the possibility to validate elements of containers. This new functionality takes...
View Article