Tag: Spring Boot

HomeTagsSpring Boot

Become a member

Get related updates from Syskool.

Introduction to Spring Security

Table of Contents What is Spring Security? Core Features of Spring Security How Spring Security Works Spring Security Architecture Adding Spring Security to a Spring Boot Application Default Behavior and...

API Documentation with Swagger/OpenAPI

Table of Contents Introduction to API Documentation What is Swagger and OpenAPI? Setting Up Swagger in Spring Boot Annotating Your API with Swagger Annotations Configuring Swagger UI Customizing Swagger Documentation Using...

DTO Pattern and ModelMapper in Java

Table of Contents Introduction to DTO Pattern Benefits of Using DTO Introduction to ModelMapper Using ModelMapper to Convert Entities to DTOs Example: Using DTOs and ModelMapper in Spring Boot Conclusion 1....

JPQL, Native Queries, Pagination & Sorting in Spring Data JPA

Table of Contents Introduction to JPQL (Java Persistence Query Language) Native Queries in Spring Data JPA Pagination and Sorting Conclusion 1. Introduction to JPQL (Java Persistence Query Language) JPQL (Java...

Defining Entities and Relationships in Java with JPA

Table of Contents Introduction to Entities and Relationships Defining Entities in JPA Defining Relationships in JPA One-to-One Relationship One-to-Many Relationship Many-to-One Relationship Many-to-Many Relationship Cascading Operations in Relationships Fetching Strategies: Eager vs Lazy...

JPA Repositories & CRUD Operations

Table of Contents Introduction to JPA Repositories CRUD Operations in Spring Data JPA Working with Repository Interfaces Customizing CRUD Operations Paging and Sorting with JPA Repositories Conclusion 1. Introduction to JPA...

Introduction to Spring Data JPA

Table of Contents Introduction to Spring Data JPA Benefits of Using Spring Data JPA Setting Up Spring Data JPA in a Spring Boot Application Understanding JPA and Hibernate Common...

Global Exception Handling with @ControllerAdvice

Table of Contents Introduction Overview of Exception Handling in Spring Using @ControllerAdvice for Global Exception Handling Implementing Global Exception Handler Handling Specific Exceptions Customizing Response for Exceptions Conclusion 1. Introduction In real-world applications,...

Input Validation with Bean Validation (@Valid)

Table of Contents Introduction Bean Validation Overview Using @Valid for Input Validation Custom Validation Annotations Handling Validation Errors Conclusion 1. Introduction In any application, validating user input is a critical task to...

ResponseEntity & Custom Response Handling in Spring Boot

Table of Contents Introduction ResponseEntity Overview Creating Custom Response Objects Handling Success and Error Responses Using ResponseEntity for Different HTTP Status Codes Conclusion 1. Introduction In Spring Boot, when building RESTful APIs,...

Path Variables, Query Parameters, and RequestBody in Spring Boot

Table of Contents Introduction Path Variables in Spring Boot Query Parameters in Spring Boot RequestBody in Spring Boot Combining Path Variables, Query Parameters, and RequestBody Conclusion 1. Introduction In RESTful web services,...

Creating REST Controllers & API Endpoints

Table of Contents Introduction What is a RESTful Web Service? Spring MVC for RESTful APIs Creating a REST Controller Mapping HTTP Methods to Controller Methods Request and Response Handling Consuming JSON...

Categories