Solved

Consider That All Spring Beans Have Been Declared Within a Package

Question 48

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents