Spring Configuration and Component Scan
Learn about a few interview questions regarding Spring configuration and component scan.
We'll cover the following...
- What is a configuration file?
- How are beans configured in the Spring container?
- What is the difference between XML and annotation configuration?
- How is annotation based configuration enabled in Spring?
- Can there be multiple configuration files in a project?
- What is a component scan?
- How is a component scan done in Spring Boot?
- What is the difference between context: annotation-config and context:component-scan tags?
What is a configuration file?
A configuration file is an XML file that describes the different classes in the application and how they are linked to one another. XML configuration ...
Access this course and 1400+ top-rated courses and projects.