Voting

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche

Spring XML are for Configuration.If you hard-code configuration, you're an idiot. This pinpcirle is well- understood, and has been known for most of 20 years.Unfortunately XML and Dependency Injection (IoC is poor terminology, in this sense), being the only means to provide a general solution for the above problem, were only invented in the last 5 years.Objects finding services or references to config objects, in particular, almost always had to break pinpcirles of either encapsulation or reusability..All solved now,But luckily Cedric's still spreading FUD to obstruct the uptake.Use it configure your tax rates, company address details, database location or whatever, you f** nana.Once you use a real config format, you can configure eg. Link objects; with Label, URL and Icon, for your webpage Objects not dumbjects, people.Are you still hard-coding this crap or what, anyway?For the first time in your life it's worth it, as you can achieve code reusability;So get on with it, go write some clean code as a change from your usual rubbish, do it good for a change and stop being such a worthless pack of useless f**ks!