@hussein b... and @tim moores ...... you guys are dissecting my post. guess what, that was not what i was looking forward to. when i started this topic i just wanted to find out if there's any new framework in the market which i may not be aware of. I never intended to suggest that spring is not good. for all we know its the hottest thing in the java world right now. But, the s/w field is such a fast world that there's a new technology at your doorstep every other day which creates a revolution. take java for example. does anyone remember dbase or foxpro now?
I am not a geek at
J2ee development. i have done web portal development which employed the mvc
pattern but not using the frameworks(struts/spring). it was pure java. and i am just a java developer. but i want to progress so i am trying to learn the new techs which i keep hearing so much about.
So i wish to know if spring is the best available today. why is it called a app framework and not just a web framework like struts? why should i use spring in my application. i learnt about DI(dependency injection) but why when i use a code such as :
Wheel wheel = new Wheel(); i have to replace the code with something like Vehicle v = ctx.getbean("vehicle") where ctx is the spring context. i know it makes code maintenance/enhancement easier but is that the only advantage?
I wish to know which books/tutorials are the best on spring/hibernate and other stuff. I wish to learn design patterns too. Hope you understand now. Thanks.