InterviewSolution
Saved Bookmarks
| 1. |
What are the differences between the vs tags? |
|
Answer» <context:annotation-CONFIG> is used for ACTIVATING applied ANNOTATIONS in pre-registered beans in the application context. It also registers the beans defined in the config file and it scans the annotations within the beans and activates them. The <context:component-scan> TAG does the task of <context:annotation-config> along with scanning the packages and registering the beans in the application context.
|
|