Spring Boot REST API Anti-Patterns and Best Practices

Описание к видео Spring Boot REST API Anti-Patterns and Best Practices

#sivalabs #spring #springboot #intellij #productivity #java #testing #junit #junit5 #maven #jpa #hibernate #unittesting

In this video, I will explain what are some of the common anti-patterns used in Spring Boot REST API development and how to fix them by following best practices.

Timestamps
00:00:00 Introduction
00:03:10 Existing REST API walk-through
00:06:42 Not following REST conventions
00:18:57 Using Field Injection
00:28:42 Not using pagination
00:36:00 Not using request-specific payload bindings
00:45:42 Using JPA DDL auto-generation
00:53:18 Misusing Spring Data JPA derived-query method names
00:57:23 Loading entire entities and using only a small subset of fields
01:03:00 Using JPA that results in N+1 Select problems
01:09:36 Not implementing proper Exception Handling
01:15:48 Using @SpringBootTest for testing slices (controller, repository)
01:21:35 Testing with in-memory database
01:29:01 Not using proper package structure

References
=============================================
⭐ Source Code: https://github.com/sivaprasadreddy/si...
⭐ Spring Boot Tutorials: https://www.sivalabs.in/spring-boot-t...
⭐ Tomato Architecture - A Pragmatic Approach to Software Design: https://www.sivalabs.in/tomato-archit...
⭐ Modular Monoliths • Simon Brown:    • Modular Monoliths • Simon Brown • GOT...  

Connect with Me
=============================================
Blog: www.sivalabs.in
YouTube:    / sivalabs  
Twitter:   / sivalabs  
GitHub: https://github.com/sivaprasadreddy
LinkedIn:   / ksivaprasadreddy  

Popular Series Playlists
=============================================
🚀 🎬 Spring Boot Tips Series Playlist    • Spring Boot Tips  
🚀 🎬 Spring Boot + Kubernetes Tutorial Series Playlist    • Spring Boot + Kubernetes Tutorial  
🚀 🎬 Spring Boot - The Missing Guide Series Playlist    • Spring Boot - The Missing Guide  
🚀 🎬 Integration Testing with Testcontainers    • Integration Testing with Testcontainers  
🚀 🎬 Java Testing Made Easy Playlist    • Java Testing Made Easy: Learn writing...  


⭐ Tags ⭐
best spring tutorials, best spring boot tutorials, how to learn spring boot, mastering spring boot, complete java testing course, java testing best practices, how to build spring boot rest API, spring cloud tutorials, spring boot docker tutorial, spring boot Kubernetes tutorial, how to become proficient in java, how to learn spring boot quickly, how to learn spring boot in-depth

Комментарии

Информация по комментариям в разработке