3 ms·
I think the Spring concepts confuse things more than solve problems. Example: configuring stuff in a bean.xml file, your code does not own the creation of the i
by jebblue 14y ago
I think the Spring concepts confuse things more than solve problems. Example: configuring stuff in a bean.xml file, your code does not own the creation of the instances, some magical springy mechanism does it for you. What's wrong with just letting the program read its startup parameters from a properties file? Stack traces from springy code is just that like trying to eat a pea with a knife.
- brown9-2 14y agoNothing is wrong with letting your program read it's startup parameters from a properties file (and thus doing all the wiring up of classes in code yourself). Spring and it's bean.xml files are meant as a replacement option for that for when you find that doing-it-yourself is too tedious/too much code.