| Start |
|---|
| Autowiring Autowiring is done using a sterotype annotation to specify what classes are going to be beans in the |
Bootstrapping the ApplicationContext Java ConfigThe configuration class needs only to be a class that is on the classpath of your application and visible to your applications main class. Xml ConfigThe configuration xml file needs only be on the classpath of your application. AutowiringAutowiring needs to know which base packages to scan for annotated beans ( |
| Java Configuration Java configuration is typically done by applying the |
| Xml Configuration Xml configuration is typically done by defining beans within an xml file, using Spring's specific RemarksSpring has made it so that configuring an Java configuration is a form of explicit configuration. A Xml configuration is a form of explicit configuration. A specific xml schema is used to define the beans that will be a part of the Autowiring is a form of automatic configuration. Certain annotations are used in class definitions to establish what beans will be a part of the |
Read Article
https://develop.horje.com/learn/1434/reference