Spring Framework And Dependency Injection For Beginners
- Prior knowledge of Java - classes and interfaces
- Web development knowledge would help a little, but isn't needed
If you are new to Spring Framework, or you know Spring but are new to Java configuration, take this as your first course.
In this step-by-step video tutorial, we are first going to learn how to quickly create a new Spring application, and then we are going to dive into the fundamentals of the dependency injection (IoC) features of Spring using Java and annotation based configuration, which is going to be extremely useful to you when taking any other course on Spring Framework.
Dependency Injection in Spring Framework is very vast, and a common real world developer needs to be readily knowing only a handful of commonly useful features. We are going to cover that handful of useful things here, to get you started developing real world applications fast. Later, when you need, you can always refer to Spring's documentation for the less commonly used features.
That said, here we are going to cover many key features useful in real world development, like Spring profiles, externalizing configuration etc., which are important for real world development, but you will not find those covered in many other tutorials.
Also, as a bonus, I am going to show you how simple it is to send SMTP mails in Spring Boot.
If you are new to Spring or Java configuration, I would highly recommend that before taking any other Spring course, you should take this course first.
You should be knowing Java to be able to follow this course. Knowledge of web development will help, because in some examples we have used a bit of Spring MVC, but is not needed.
This course also serves as the Module I of our full course "Spring Framework Rapid Tutorial For Real World Development."
- Java developers new to Spring Framework or Spring Boot
- Spring developers new to Java configuration
- Creating A New Project08:03
- Hello, World06:42
- Setting The Stage06:44
- Dependency Injection - The Basic Concepts04:17
- Injecting Beans06:50
- The Multiple Bean Problem04:23
- Java Configuration Classes07:30
- Externalizing Configuration Using application.properties05:12
- Spring Profiles04:50
- Conditional Annotations04:41
- Sending SMTP Mails07:43
- Java Configuration Classes contd.05:49
- Next Steps, And FREE Coupon For The Next Course02:24
Sanjay has more than 20 years of programming and leading experience. Since 2009, he is working on Spring Framework full-time for developing complex applications and microservices for multiple clients. He also leads the development of Spring Lemon.
He is currently the director of naturalprogrammer dot com, providing consulting on developing large scale real-world applications. Prior to that, he was a technical lead at RAD Solutions Private Limited, doing research on open source tools, frameworks, patterns and methodologies for rapid application development. Previously, he was a project leader at Cambridge Solutions and an assistant manager at L & T Limited. He is an MCA from Osmania University and a B. Sc. (Physics) from Sambalpur University, India.
He is also the author of many real-world books and tutorials around Spring, with about 50K students at Udemy, YouTube and Gumroad.