Client-Server Architecture: REST follows a client-server model where the client and server are independent entities. This allows for the client and se

@RestController: \- @RestController is a specialized version of the @Controller annotation in Spring that simplifies the creation of RESTful web serv

In the GET post, we only passed parameters through URIs. This methodology has some disadvantages, \- Limited data size (URI has length limits)Less se

PurposePOST: Used to create a new resource on the server \- When a POST request is sent, server will add a new resource, typically without specifying

Purpose of the DELETE method is to remove a resource at a specified URI. It is idempotent, meaning that making the same DELETE request multiple times

The above getter returns a user object. In this case, the client receives a json that looks identical to the user class. The returned json is in snake
The Jackson library's ObjectMapper is a core class for reading and writing JSON in Java applications. It's widely used in Spring Boot and other Java f

Instead of wrapping every controller method in try-catch blocks, we can use @RestControllerAdvice annotation which provides a centralized, flexible, a

If the server needs to receive fields like name,email,phone number, etc, there must be some form of validation logic implemented to ensure those field

Dependency injection is a design pattern used to achieve loose coupling between classes by providing them with their dependencies instead of hardcodin

JDBC is an API that enables applications to interact with databases in a standardized way. It provides a set of classes and interfaces to connect to a
In this log, we will implement Spring Data JPA into the "In-Memory Database Practice" project.UserEntity used to extend Entity class which implements

In this post, we create a basic bulletin board with simple CRUD functionalities. Below is the ERD diagram for this project. Each board contains multip

Spring HandlerInterceptor intercepts HTTP requests at the controller level, i.e., after Spring has matched the request to a specific handler (controll
Filter is part of the Servlet API. In a Spring Boot web app, filters sit in the Servlet container chain and can intercept every HTTP request/response
Aspect-Oriented Programming is a programming paradigm that allows us to separate cross-cutting concerns from our main business logic.In Spring, AOP al