Running Setup Data on Startup in Spring 1. Introduction In this article we’ll focus on how to run logic at the startup of a Spring application. Further reading: Configure a Spring Boot Web Application Some of the more useful configs for a Spring Boot application. Read more → Spring Boot:… Continue Reading running-setup-logic-on-startup-in-spring

Spring Data Reactive Repositories with MongoDB 1. Introduction In this tutorial, we’re going to see how to configure and implement database operations using Reactive Programming through Spring Data Reactive Repositories with MongoDB. We’ll go over the basic usages of ReactiveCrudRepository, ReactiveMongoRepository, as well as ReactiveMongoTemplate. Even though these implementations use reactive… Continue Reading spring-data-mongodb-reactive

Define Custom RAML Properties Using Annotations REST RAML 1. Introduction In this, the fourth article in our series on RAML – the RESTful API Modeling Language – we demonstrate how to use annotations to define custom properties for a RAML API specification. This process is also referred to as extending… Continue Reading raml-custom-properties-with-annotations

Understanding the NumberFormatException in Java 1. Introduction Java throws NumberFormatException – an unchecked exception – when it cannot convert a String to a number type. Since it’s unchecked, Java does not force us to handle or declare it. In this quick tutorial, we’ll describe and demonstrate what causes NumberFormatException in Java… Continue Reading java-number-format-exception

Locality-Sensitive Hashing in Java Using Java-LSH Algorithms Java 1. Overview The Locality-Sensitive Hashing (LSH) algorithm hashes input items so that similar items have a high probability of being mapped to the same buckets. In this quick article, we will use the java-lsh library to demonstrate a simple use case of… Continue Reading locality-sensitive-hashing

REST Query Language with RSQL 1. Overview In this fifth article of the series we’ll illustrate building the REST API Query language with the help of a cool library – rsql-parser. RSQL is a super-set of the Feed Item Query Language (FIQL) – a clean and simple filter syntax for… Continue Reading rest-api-search-language-rsql-fiql