Executed the clean project in Eclipse.
The stuff that was deleted shouldn't be version controlled.
User can now run ConstructorMessage from the command line.
Created new source folder and named it "WithXML".
Moved both ConstructorMessage.java and ConstructorMessage-context.xml to the "WithXML" source folder.
Moved ConstructorMessage from package constructor to package xml.injection.constructor.
Renamed ConstructorMesssage to Message.
Renamed ConstructorMessage-context.xml to spring.xml and placed it in the subfolder xml/injection/resource
Added a dependency injection example that uses a setter method.
(Example can be run from the command line).
Added some comments.
Updated to show how to use ApplicationContext container.
Added some comments.
Updated to show how to use ApplicationContext container.
Deleted client folder.
It just duplicated code that's already in the WithXML source folder (specifically xml/injection/setter/Message.java)
Added a working example that showcases how to inject a dependency on another bean.
Deleted referenced/Referenced-context.xml, it just duplicated the code used for inner bean dependency example.
* renamed folder structure "/xml/injection/resource/" to "/with/xml/resource/"
* Merged what was being demonstrated in xml.injection.innerBean.Parrot class (ie how to use the ref attribute) into xml.injection.setter.Message
* Deleted xml.injection.innerBean.Parrot
* Deleted duplicate comments
Added a bunch of examples demonstrating how to inject dependencies using annotations.
Also started working on an example that demonstrates how to specify default values with @Value annotation.
Note: These examples were not taken from David Winterfeldt's "Spring by Example"