This video introduces Inversion of Control—which is leveraged heavily in the Spring Framework—and explains why it is so important.
- [Instructor] One of the most critical parts…of the Spring framework is its use of inversion of control.…Inversion of control is essentially a way…of dealing with dependency injection.…Through the inversion of control container,…Spring manages all of your class dependencies…that you rely on.…And in doing so, those objects are injected at runtime,…as opposed to being created at compile time.…This reduces the amount of code…that you have to manage within a given class file.…
An object accepts all of the dependencies…for construction instead of constructing them itself.…Now in doing this, you actually manage…all of the construction of dependency objects…in a single point of failure.…This reduces the amount of code that you have to write,…but it also reduces the replication of code.…And this is critical with inversion of control,…because once you know how to construct…an object correctly once,…you no longer have to remember that…every single time you need to construct it…because you simply hand the constructed instance…
AuthorFrank P Moley III
- Introduction to Spring
- Configuring the ApplicationContext
- Using the Spring expression language
- Configuring proxies
- Autowiring beans
- Using lifecycle methods
- Configuring beans with XML
- Understanding the initialization phases of the bean lifecycle
- Aspect-oriented programming and Spring
Skill Level Intermediate
Learning Spring with Spring Bootwith Frank P Moley III1h 38m Intermediate
1. Spring Overview
2. Configuring the Application Context
3. Annotation-Based Configuration
4. XML-Based Configuration
5. Bean Lifecycle
6. Aspect Oriented Programming
Next steps2m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.