Spring Modulith Crash Course : Building Modular Monoliths using Spring Boot
Vložit
- čas přidán 6. 07. 2024
- #sivalabs #java #spring #springboot #springmodulith #microservices #testing #junit #junit5 #maven
⭐ Table Of Contents ⭐
00:00 Introduction to Modular Monoliths
01:25 Walkthrough of a monolithic application code
09:33 Introducing Spring Modulith
10:50 Verifying Module Structure using Spring Modulith
12:04 Understanding Spring Modulith Concepts
14:22 Fixing Module Structure Violations
30:14 Spring Modulith preventing cyclic module dependencies
31:27 Defining module dependencies explicitly
35:03 Spring Modulith Actuator Endpoint
36:40 Testing Modules independently
41:43 Generating Modules Documentation
42:57 Conclusion
❤️ Thanks for watching
References
=============================================
⭐ Source Code: github.com/sivaprasadreddy/si...
⭐ Spring Modulith Docs: docs.spring.io/spring-modulit...
Connect with Me
=============================================
Blog: www.sivalabs.in
CZcams: / sivalabs
Twitter: / sivalabs
GitHub: github.com/sivaprasadreddy
LinkedIn: / ksivaprasadreddy
Must Watch Videos
=============================================
🚀 🎬 Spring Boot REST API Anti-Patterns and Best Practices • Spring Boot REST API A...
🚀 🎬 Modern Spring Boot Application Development using Java 17/21 and Testcontainers • Modern Spring Boot App...
🚀 🎬 How do I upskill myself, and what tools & techniques do I use? • How do I upskill mysel...
🚀 🎬 Top 5 Tips to Succeed in Technical Interviews • Top 5 Tips to succeed ...
Popular Series Playlists
=============================================
🚀 🎬 Spring Boot Tips Series Playlist • Spring Boot Tips
🚀 🎬 Spring Boot + Kubernetes Tutorial Series Playlist • Spring Boot + Kubernet...
🚀 🎬 Spring Boot - The Missing Guide Series Playlist • Spring Boot - The Miss...
🚀 🎬 Integration Testing with Testcontainers • Integration Testing wi...
🚀 🎬 Java Testing Made Easy Playlist • Java Testing Made Easy...
⭐ 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 - Věda a technologie
sir in this market where everyone is desperate to sell their courses you on other hand giving all ur great knowledge for years for free.....In this compititive market middle class students are always struggling to increase skills.....I pray to God for good to you and yor family for ur help for us.Please continue your great work making projects and everything necessay for us in CZcams.Thank you sir
100% agreed . Siva is a blessing for many .
It's always good to learn from you. Have been following you for your insights and experience regarding Java, Spring and life as a whole. Happy to learn something new each day.
Thanks Siva, very useful. Definitely need try in own project to get hands on with Spring Modulith.
Happy for you back ❤🎉🎉
Very useful video sir
very very helpful 😍
May I know which intelij theme is that? Its super cool
Thank you very much for your videos and articles!. I hope you never stop making them. Just one thing, the link to the code repository doesn't work. Thanks Siva!
Thank you very much. I did move all my CZcams video sample projects into one repository github.com/sivaprasadreddy/sivalabs-youtube-code-samples. You can find this video code at github.com/sivaprasadreddy/sivalabs-youtube-code-samples/tree/main/spring-boot-modulith-demo.
Hi Siva, Thank you for all your efforts, you are providing best quality education. Can you please make a video explaining how to structure a project with Hexagonal architecture especially with Spring boot? I read few books and articles and understand the theoretical part of it, but hard to find a good example (or use case) where we an apply this architectural pattern to develop an application using Spring boot. Each article I have read has their own way to setup the application structure, bit confused on whats the best way!
I am glad you like my videos.
I have mostly worked on data-centric applications throughout my career.
I am not a big fan of Clean/Hexagonal/Onion/Ports&Adapters Architecture, especially for data-centric applications.
The key advertised benefit of those architectural styles is the ability to isolate infrastructure concerns from core domain logic. In most of the business applications there will be low-to-medium complex business logic but heavily relies on infrastructure of databases, message brokers, external API integrations, etc. For such applications, the ability to test core domain logic isolating the infrastructure is not very beneficial. Rather I love to eliminate the unnecessary indirections(interfaces) and be able to test the logic with infrastructure components using tools like Testcontainers.
For more on this see github.com/sivaprasadreddy/tomato-architecture
Thanks!
Thank you so much for your support 🙂
good good
Hi the simple project seems very intresting to me do you have a video were you are building this project without
modulith
This is a trimmed down version of the BookStore application developed as part of my Spring Boot Microservices Course Spring Boot MicroServices: czcams.com/play/PLuNxlOYbv61g_ytin-wgkecfWDKVCEDmB.html
@@sivalabs Thanks
Why u write sql query by youself instead of delegate that to JPA?
Instead of loading the JPA entity and mapping it to a DTO, I directly fetch it as DTO (Record) using constructor expression.
why does your folder icons look different from mine?
I have installed "Atom Material Icons" plugin which shows nice colorful icons.
@@sivalabs awesome thanks!
czcams.com/video/FkP2aZiBrhg/video.html a Java interface is by definition always public, and it's methods are by default public (you might have private methods since JDK9 though)
It is confusing and prone to make mistakes 😔