Ummm, bit harsh...I would have thought.
I am about to implement a factory of this nature as it will allow easy changes when testing against different targets, the factory will create a webservice coordinator, of different types - prod, prototype, mock. This coding approach will give me the flexibilty to jsut modify the property file and then target a different environment.
I think reading this along with the Head First book will also give some perspective, as the author has mentioned.
A lot of mentions here on a registry approach. Can anyone supply a pointer/sample to a Registry? |