This video shows the basics of bean configuration using XML.
- [Instructor] If you have access to the exercise files…now would be a great time to refresh…from the begin state of this video.…Because I've actually removed all of the previous…configuration that we've done.…If we open up source main Java,…and expand all of our classes…you will see that we have repository classes…that no longer have annotations,…and service implementations that also…no longer have annotations.…So let's get started with XML config.…The first thing that we need to do…in order to use XML config,…is to create a new configuration file.…
So we're going to create an XML configuration file…and in my version of IntelliJ…I actually have a spring config option.…This exists in STS as well…but really all you need to do is create an XML document.…I'm going to name it application config dot XML.…You'll see with the XML config that I've brought in…using the Spring package,…I actually have some of the name spaces brought in.…The one that we're actually going to use…is the beans name space that's on line two.…So let's go ahead and get started.…
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.