This video describes the need to encapsulate configurations and how to import them into another configuration.
- [Instructor] In the previous video,…we built a single uber configuration…for all of our needs.…However, in a growing production application,…this can get out of handle very quickly.…In addition to the growth perspective,…configurations can serve very different purposes,…like security or data access,…and as such, there are benefits…from logically separating them.…Finally, when you build a shared library…and define a configuration,…you don't want your consumers to recreate your configuration…or worse yet, create a separate application context…for your shared library.…
The spring framework supports these concerns…by allowing a configuration to import…in other configurations.…This import process, as we will see more…when we talk about the life cycle,…provides a single listing of meta data…for the bean factory.…But does so through separate class files…for logical consistency.…In this example, we have three data repository beans.…As you can see on lines 29, 34, and 39.…
We also have two service beans.…So, let's start by breaking these…
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?
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.