Crazy Bob wrote about how he doesn’t get Spring, which was obviously going to get a lot of attention ;)
I see a lot of value in Spring, from projects in which I use it on. As you go from project to project, you tend to bring with you code from past projects. This may be a StringUtil
, a bunch of other old code, or 3rd party libraries.
Spring is an item that tends to join me across Java projects that follow particular conventions.
This isn’t because Spring is so amazingly different that it changes everything I do. It is because it does things that I could do but don’t want too.
- Dependencies: Yup, I could use Pico, or another DI framework, or my own thing. Spring happens to have the most features of the bunch though, and works nicely
- Testing: I tend to wire up all of my tests via Spring. I slap in a different test bean config, and it all gets slurped up for tests, making it zero work to wire in my tests
- Non-XML: You don’t have to use XML to wire up Spring. You can even use Ruby if you want ;)
- Wrapper functionality: Spring is part DI, part wrapper libraries to make life easier. These guys went through the various frameworks and made them easier to use. Spring-Hibernate wrappers, JDBCTemplate, JTA stuff, you name it there is a Spring wrapper that makes things easier to use.
- Business logic: I want to write business logic. I don’t want to rev my own DI framework, and other infrastructure crud. Think about the man-hours that have been put into Spring. The testing that has been done so it works across domains. Why would I want to do this myself when I can have others do it.
- AOP: The simple Spring-AOP interceptors are simple, but now with AspectJ integration you have the power of AOP at your fingertips
It’s there. It works well. It is developed and tested by others. It means that I write less code. Why wouldn’t I use it?
Interestingly, in my current non-Java projects I don’t feel the need for this type of framework since I don’t have the complexity of the world of Java.
February 1st, 2006 at 12:23 am
“Interestingly, in my current non-Java projects I don’t feel the need for this type of framework since I don’t have the complexity of the world of Java.”
Indeed, Bob’s post has made me think and state that spring to me is a development platform. I should have added that it’s for Java. Different from other development platforms is that it’s free, I can modify/add to it whenever I want and the Spring guys are really responsive to the community. All in all I think it encourages my native lazyness :-)).
February 2nd, 2006 at 11:09 am
“Interestingly, in my current non-Java projects I don’t feel the need for this type of framework since I don’t have the complexity of the world of Java.”
This is so true.
February 2nd, 2006 at 6:35 pm
The crux of my argument is that Spring DI does more harm than good compared to the effective application of design patterns. I’ve yet to see anyone provide any evidence to the contrary. Dogma.
February 3rd, 2006 at 10:42 am
One thing is Spring, another is Spring MVC for web applications.
I cannot see anybody using Spring MVC when there are much simpler and straighforward frameworks out there.
Take a look on the XML-free IOC that comes with Mentawai. Basically it is the best of spring combined with the best of webwork.
http://www.mentaframework.org/
February 5th, 2006 at 12:44 pm
“Non-XML: You don’t have to use XML to wire up Spring. You can even use Ruby if you want ;)” ? I managed to miss that somehow – can anyone point to any docs on using anything other than XML to wire up Spring?
April 20th, 2006 at 5:08 am
yes i agree
December 25th, 2006 at 2:59 pm
Movies PointPierce BrosnonTom HanksStacy KeiblerJulia RobertsMichelle BranchAishwarya RaiAdriana LimaAnna KournikovaJessica AlbaJennifer AnistonDemi MooreAshley JuddSydney MoonHeather GrahamBrooke BurkeCatherine Zeta JonesCeline DionChristina MilianCharlize TheronCarmen ElectraKobe TaiKaren McdougalKate BeckinsaleKate WinsletGwen StefaniCindy MargolisJaime PresslyJill KellyLindsay LohanDrew BarrymoreToni BraxtonJanet JacksonBriana BanksTATUTraci LordsMadonnaRachel HunterJennifer LopezMariah CareyParis HiltonAlyssa MilanoShannon ElizabethCherNicole Eggert
December 25th, 2006 at 3:02 pm
Movies Pointbrandom routhArnoldVan DammeChristian BalePierce BrosnonVin DieselJim CareyGeorge ClooneyElijah WoodHoward SternOrlando BloomJohn TravoltaTom CruiseRicky MartinJet LeeBruce LeeJackie ChanJude LawBrandon RouthGood CharlotteBen AffleckAntonio BanderasBrendan FraserKeanu ReevesMr. TRobert De NiroMel GibsonVal KilmerAshton KutcherMichael JacksonJohnny DeppRobin WilliamsJustin Timberlake50 CentRussell CroweBruce WillisBrad PittBan MergeraOliver MartinezWill SmithAmitabh BachchanAdam SandlerLeandardo De Caprio
December 25th, 2006 at 3:02 pm
Online dating, Free Online Dating,for singlesOnline Dating Services,with new peopleOnline Dating Games,fun gamesOnline Dating Sites,best online dating sitesBookofmatches Online Dating,Christian Online Dating,Christian SinglesAmateurmatch Online Dating,Online Dating Tips,tips newsletterOnlinebootycall Online Dating,Loveaccess Online Dating,Lesbian Online Dating,Lesbian and Gay DatingBlack Online Dating,black dating on googleOnline Bootycall Online Dating,Eharmony Online Dating,Online Dating Websites,also used by MSNTotally Online Dating,totally free dating serviceVahoo Online Dating,online dating with Yahoo!Truebeginnings Online Dating,Advantages Online Dating,Gay Online Dating,
December 25th, 2006 at 3:08 pm
Health Insurance, Aetna Health Insurance,Health Insurance Quotes,Wiz provides free health care insuranceAffordable Health Insurance,Humana Health Insurance,Individual Health Insurance,Aarp Health Insurance,MSN Money InsuranceHealth Insurance Companies ,Cheap Health Insurance,Oxford Health Insurance,Oxford Health Plans of ConnecticutBlue Cross Health Insurance,Health Insurance Plans,California Health Insurance,Cigna Health Insurance,Blue Cross Blue Shield Health Insurance,Yahoo! reviewed these sitesLow Cost Health Insurance,affordable health insuranceSmall Business Health Insurance,Google Directory of Health InsuranceSelf Employed Health Insurance,Mega Life And Health Insurance,MEGA LIFE AND HEALTH INSURANCE COMPANYMassachusetts Health Insurance,Student Health Insurance
May 30th, 2008 at 10:01 pm
Nice to play and easy to win but hard to fight.
http://www.adnarticles.com