Spring Framework And Dependency Injection For Beginners

Spring Framework Getting Started And Dependency Injection Fundamentals Tutorial For Real World Application Development
Free tutorial
Rating: 4.4 out of 5 (6,341 ratings)
86,141 students
Spring Framework And Dependency Injection For Beginners
Free tutorial
Rating: 4.4 out of 5 (6,341 ratings)
86,141 students
Create new spring applications in the quickest way
Use Java and annotation based dependency injection effectively
Configure custom external properties and beans for different environments
Send SMTP mails in the right way using Spring Boot
Dive confidently onto learning Spring further

Requirements

  • Prior knowledge of Java - classes and interfaces
  • Web development knowledge would help a little, but isn't needed
Description

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."

Who this course is for:
  • Java developers new to Spring Framework or Spring Boot
  • Spring developers new to Java configuration
Course content
5 sections • 14 lectures • 1h 23m total length
  • Introduction
    08:42
  • Creating A New Project
    08:03
  • Hello, World
    06:42
  • Setting The Stage
    06:44
  • Dependency Injection - The Basic Concepts
    04:17
  • Injecting Beans
    06:50
  • The Multiple Bean Problem
    04:23
  • Java Configuration Classes
    07:30
  • Externalizing Configuration Using application.properties
    05:12
  • Spring Profiles
    04:50
  • Conditional Annotations
    04:41
  • Sending SMTP Mails
    07:43
  • Java Configuration Classes contd.
    05:49
  • Next Steps, And FREE Coupon For The Next Course
    02:24

Instructor
Software Architect And Developer
Sanjay Patel
  • 4.3 Instructor Rating
  • 8,532 Reviews
  • 107,611 Students
  • 3 Courses

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.