Spring Boot Interview Questions 1. Introduction Since its introduction, Spring Boot has been a key player in the Spring ecosystem. This project makes our life much easier with its auto-configuration ability. In this tutorial, we’ll cover some of the most common questions related to Spring Boot that may come up… Continue Reading spring-boot-interview-questions

Java EE 7 Batch Processing 1. Introduction Imagine we had to manually complete tasks like processing payslips, calculating interest, and generating bills. It would become quite boring, error-prone and a never-ending list of manual tasks! In this tutorial, we’ll take a look at Java Batch Processing (JSR 352), a part… Continue Reading java-ee-7-batch-processing

Cucumber and Scenario Outline 1. Introduction Cucumber is a BDD (Behavioral Driven Development) testing framework. Using the framework to write repetitive scenarios with different permutations of inputs/outputs can be quite time-consuming, difficult to maintain and of course frustrating. Cucumber came with a solution for reducing this effort by using the… Continue Reading cucumber-scenario-outline

Spring Security Logout 1. Overview This article is building on top of our Form Login tutorial and is going to focus on the how to configure Logout with Spring Security. Further reading: Spring Security: Authentication with a Database-backed UserDetailsService A quick guide to to create a custom database-backed UserDetailsService for… Continue Reading spring-security-logout

Testing Reactive Streams Using StepVerifier and TestPublisher 1. Overview In this tutorial, we’ll take a close look at testing reactive streams with StepVerifier and TestPublisher. We’ll base our investigation on a Spring Reactor application containing a chain of reactor operations. 2. Maven Dependencies Spring Reactor comes with several classes for testing… Continue Reading reactive-streams-step-verifier-test-publisher

Constructor Injection in Spring with Lombok 1. Introduction Lombok is an extremely useful library overcoming boilerplate code. If you are not familiar with it yet, I highly recommend taking a look at the previous tutorial – Introduction to Project Lombok. In this article, we’ll demonstrate its usability when combined with… Continue Reading spring-injection-lombok