How to create your first Spring Application (without Spring Boot)

preview_player
Показать описание
In this tutorial, you will learn how to create your first Spring Application from scratch without using Spring Boot.

0:00 Intro
0:22 No Spring Boot?
1:44 Create a new Maven project
4:00 Spring Dependencies
6:55 Create the main application class
8:00 Course Model Class
9:45 Course Service Interface & Implementation
16:40 Configuration
21:55 Repository Interface & Implementation
27:10 Component Scan
29:50 Conclusion

👋🏻Connect with me:

Рекомендации по теме
Комментарии
Автор

This is probably the best video about Spring I have seen. This explained so much stuff that I had missed whilst getting into Spring-boot.

plebeianpatrician
Автор

a simple yet clear explanation of how spring handles dependency injection and coupling. thank you so much! hope you make more content, cheers!

francismagnusson
Автор

This was a really helpful tutorial to understand behind the scene in the spring framework. Thanks.

megadevelopment
Автор

Best spring tutorial to understand the basics, thank you

eliomargarzon
Автор

The best video for understanding Spring magic nowdays! Thanks for job 👍 Especially when you have a task not to use Spring Boot )

smormanyak
Автор

This is really helpful because as a beginner I now have done a lot of research until I finally had created my little big picture (LOL) in the world of Spring and what all to learn. I truly must say that without understanding whats going on under the hood of spring boot you have a much longer way to understand what this framework is about. Dependency Injection (Bean Factory vs. ApplicationContext), Annotations, Beans, (also Generics, Refelctions etc.) and my conclusion is you should learn Spring before diving into Spring Boot. There are a lot of fancy courses and videos out there but without understanding the internals ... well, it's more difficult. I would like to see a video were you build a bigger Sping app with Spring MVC, JDBC, REST etc.. Thanks for the content, this helped me so much, this is exactly the maximum level of complexitiy I need. Hope to see more about Spring internals from you in the future. Subscribed!

returncode
Автор

thanks for the course, it is good. it helps me a lot to understanding java spring core.

ryuservaiv
Автор

Nice way to contrast Spring Boot against classic Spring Framework.

ProCoderIO
Автор

Nice explanation, thanks.
It would be also great to have a similar video showing how to use Spring, without Spring Boot, with the "web stuff" - i.e. no embedded server, but the "standard J2EE" application server.
I guess I'm not the only relatively young dev doing Spring Boot that have no "direct" experience with the J2EE technology (but deploying everything to Kubernetes with the app server embedded instead).
Also it would be nice to show how to use the Application Server (e.g. Tomcat) - start it, deploy the app to it - outside IntelliJ (ideally from the teminal 🙂). So one sees what does it actually do, what is the role of it - without the powerful IntelliJ magic hiding it all behind the "Run with Tomcat" play button.

Motivations:
1. One hears about the J2EE from time to time while reading through the Spring Boot docs. What is the J2EE? What is a Servlet? What is Servlet API? To which extend are these terms relevant in the Spring Framework, and to which extent are they relevant in Spring Boot? What is the difference between *.jar and *.war package? How do Spring's Controllers relate to the HttpServlet?
2. It seems to me that the embedded app server is a huge part of the stuff Spring Boot does in the background, which results in it staying in the "I have no idea about that magic" realm..

(btw. watching this relatively old video, I have two other impressions - that I miss the old look of IntelliJ, and that your video-making skills developed a lot!)

richardbenes
Автор

thanks for the great tutorial,
maybe next Spring mvc without boot ?

medelalmi
Автор

Hi Dan, can you please increase the font size for the editor next time?

GuillermoArellano