This video explains the various types of injection available through autowiring, and provides experienced insight on when to use each type of injection.
- [Instructor] Part of writing good…object oriented software, includes proper encapsulation…of attributes and good dependency management.…In the Spring world, the dependency management…is handled for you by the IOC container,…but you are responsible for the good practices…around encapsulation.…The autowiring of beans for dependency management…can be a blessing or a curse depending on your focus…of good object oriented programming.…As I mentioned, the blessing of autowiring…comes from the simplicity of dependency management.…
You don't need to build out any management systems…to handle the DI itself.…That being said, autowiring can lead to poorly written code.…As we proceed through this chapter,…I hope to impart on you the need to focus on…good development practices while you write your code.…No matter how quick you need…to get your application to market,…producing properly written code,…can slow your overall team velocity.…One way to manage dependencies in code,…is field level autowiring.…
While this may be any easy way to write your code,…
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 33m 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.