资源描述:
《Advanced Patterns, Processes, and Idioms春天地出现炒作背后.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Secretsoflightweightdevelopmentsuccess,Part3:TheemergenceofSpringBehindthehypeBruceTateJune14,2005Lightweightcontainersprovideameansfororganizingthegluecodeforanapplication.TheSpringframeworkisthepredominantlightweightcontainer.Springcontainsalightweightcon
2、tainer,anaspect-orientedprogrammingframework,andgluecodethatmakesiteasytointegratehundredsofopensourceframeworks.ViewmorecontentinthisseriesIn2003,threemountainbikersandIscreameddowntheledge-filledtrailcalledForrestRidge.Ithadjustreopened,withoutfanfare,som
3、ostofAustin,Texas,didn'tknow.Throughoutthatautumn,wehadbeenrunningthisgemalone.Onthisday,wehadtododgemorethan20otherbikersonashortstretchoftrail.Thesecretwasout.Althoughthepublicdiscoveryofourwonderfultrailwasn'tagoodthingformyfriendsandme,itisagoodthingwhe
4、nyouropensourcetrailgetsdiscovered.Youcanfindresourcesmoreeasily,getfixesmorequickly,andingeneraltakeadvantageoftheadditionalcommunity.Now,Springhasnowbeendiscovered.It'samongthemostimportantopensourceprojects,andit'swellonitswaytoachievingHibernate-likesuc
5、cessasamajorplayerbothinandoutofenterpriseenvironments.ThisarticleshowsyouwhySpringissosignificanttolightweightdevelopment.WhatisSpring?Ifyou'reanenterprisedeveloper,Springcanmakeyourlifeeasier.Butwhatisit?Withaframeworkthiscomprehensive,that'snotaneasyques
6、tiontoanswer.Basically,Springisalightweightcontainer.WithSpring,youcanprogramwithplainoldJava™objects(POJOs),resolvedependenciesbetweenthemwithdependencyinjection,andattachservicestothemwithaspect-orientedprogramming(AOP).Springalsoprovidessomegluecodethatm
7、akesiteasiertouseJava2Platform,EnterpriseEdition(J2EE)services,suchasJavaTransactionAPI(JTA),fortransactions,RemoteMethodInvocation(RMI)forremoting,JavaManagementExtensions(JMX)formanagement,orJavaDataObjects(JDO)forpersistence.Springalsoprovidesgluecodefor
8、opensourceframeworks,such©CopyrightIBMCorporation2005TrademarksSecretsoflightweightdevelopmentsuccess,Part3:ThePage1of7emergenceofSpringdeveloperWorks®ibm.com/developerWorks/asHibernate,Tapestry,Struts