Category Core Java

Learn Core Java concepts, tutorials, examples, and programming fundamentals including OOP, collections, exceptions, multithreading, and more.

Introduction to Spring Batch

spring-batch

A lot of corporate applications need bulk processing to carry out business operations in mission-critical settings. These business operations include: Spring Batch is a lightweight, comprehensive batch framework that is designed to develop robust batch applications. It is built upon…

Spring Boot AutoConfiguration

spring-boot-autoconfig

Spring Boot is a tool that makes developing web applications and microservices with Spring Framework faster and easier through Autoconfiguration, taking an opinionated approach to configuration and the ability to create standalone applications. But what is Autoconfiguration and what it…

Spring Security JUnit Testing

spring-security-junit

Unit testing is one of the tests performed by developers in which individual units of source code are tested to determine whether they are fit for use. In this tutorial, we will learn to write JUnit test cases for applications…

Spring Security with JWT

spring-security-jwt

In this article, we will continue with our learning of spring security and will see how to implement spring security with JWT token-based authentication. If you are new to spring security, I highly recommend you go through the basics of…

Spring Security Database based Authentication

spring-security-database

In the previous article, we learnt the implementation of Spring Security using In-Memory configuration for authenticating users. In this example, we will learn to authenticate users and roles against database tables. If you are new to Spring Security, I highly…

Spring Security In-Memory Authentication

spring-security-inmemory-auth

In this article, we will continue with our learning of spring security and will see how to implement spring security with in-memory authentication to authenticate the user. If you are new to spring security, I highly recommend you to check…

How does Spring Security Works?

spring-security-feature

Sooner or later everyone has to add security to their projects. In the spring framework, you do that by taking the help of Spring Security. In this article, we will try to understand how does Spring Security works internally and…

JPA Relationships in Spring Boot: A Complete Guide

jpa-relationship-mapping

In this article, we will learn how to implement different types of relationships between entities using Spring Boot JPA. We will walk through all three major relationship types: All examples use Lombok to reduce boilerplate code. If you’re not familiar…