Resources on using annotations in Java/Spring

poker4ace

New Member
There are two methods of using Spring (Annotations/XML). In XML we specify everything in XML files. In annotations we use commands like \[code\]<context:component-scan base-package="com.xyz" />\[/code\] \[code\]<aop:aspectj-autoproxy />\[/code\] etc. Thus in annotations there is complete scan of packages to identify dependencies etc. So being a beginner i want to know its overall effect on our application.EDITPlease don't make a fight over initialization of Spring. Its a general question. You can take an example of Hibernate also. Struts or anything else.Missed out Java Config. So about that too.
 
Back
Top