Guide to @SpringBootConfiguration in Spring Boot 1. Overview In this tutorial, we’ll briefly discuss the @SpringBootConfiguration annotation. We’ll also look at its usage in a Spring Boot application. [[spring boot application configuration]] === 2. Spring Boot Application Configuration [[spring boot application configuration]]@SpringBootConfiguration is a class-level annotation that is part of… Continue Reading springbootconfiguration-annotation

Java – Combine Multiple Collections 1. Overview In this tutorial, we will illustrate how to concatenate multiple collections into one logical collection. We’ll be exploring five different approaches – two using Java 8, one using Guava, one using Apache Commons Collections, and one using only the standard Java 7 SDK.… Continue Reading java-combine-multiple-collections

BeanNameAware and BeanFactoryAware Interfaces in Spring Spring 1. Overview In this quick tutorial, we’re going to focus on the BeanNameAware and BeanFactoryAware interfaces, in the Spring Framework. We’ll describe each interface separately with the pros and cons of their usage. 2. Aware Interface Both BeanNameAware and BeanFactoryAware belong to the org.springframework.beans.factory.Aware root marker interface. This uses setter injection… Continue Reading spring-bean-name-factory-aware

Stored Procedures with Hibernate 1. Overview Stored Procedures are sets of compiled SQL statements residing in the database. They are used to encapsulate and share logic with other programs, and benefit from database-specific features like index hints or specific keywords. This article demonstrates how to use Hibernate to call a… Continue Reading stored-procedures-with-hibernate-tutorial

Binary Data Formats in a Spring REST API Data REST Spring 1. Overview While JSON and XML are widely popular data transfer formats when it comes to REST APIs, they’re not the only options available. There exist many other formats with varying degree of serialization speed and serialized data size.… Continue Reading spring-rest-api-with-binary-data-formats