Spring Exceptions Tutorial The Spring Exceptions Tutorial discusses some of the most common exceptions in Spring with examples – why they occur and how to solve them quickly. Spring Beans Exceptions + Spring BeanDefinitionStoreException + Spring BeanCreationException + Spring NoSuchBeanDefinitionException (popular) + Unsatisfied Dependency in Spring Spring Data Exceptions +… Continue Reading spring-exceptions

Java Concurrency Utility with JCTools 1. Overview In this tutorial, we’ll introduce the JCTools (Java Concurrency Tools) library. Simply put, this provides a number of utility data structures suitable for working in a multi-threaded environment. 2. Non-Blocking Algorithms Traditionally, multi-threaded code which works on a mutable shared state uses locks to ensure data… Continue Reading java-concurrency-jc-tools

Guice vs Spring – Dependency Injection 1. Introduction Google Guice and Spring are two robust frameworks used for dependency injection. Both frameworks cover all the notions of dependency injection, but each one has its own way of implementing them. In this tutorial, we’ll discuss how the Guice and Spring frameworks… Continue Reading guice-spring-dependency-injection

Introduction to Spring Cloud OpenFeign 1. Overview In this tutorial, we’re going to describe Spring Cloud OpenFeign – a declarative REST client for Spring Boot apps. Feign makes writing web service clients easier with pluggable annotation support, which includes Feign annotations and JAX-RS annotations. Also, Spring Cloud adds support for Spring… Continue Reading spring-cloud-openfeign