Solved

Consider That All Spring Beans Have Been Declared Within a Package

Question 41

Multiple Choice

Consider that all Spring beans have been declared within a package called "com.springsource.service". To enable component scanning one must do the following:


A) Nothing (component scanning is enabled by default)
B) Add <context:annotation-config/> to your XML configuration
C) Add <context:component-scan base-package="com.springsource.service"/> to your XML configuration
D) Remove all other bean definitions from the XML configuration

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions