关闭

关闭

封号提示

内容

首页 Spring in Action 2.pdf

Spring in Action 2.pdf

Spring in Action 2.pdf

上传者: bosshida 2012-03-04 评分1 评论1 下载638 收藏0 阅读量1501 暂无简介 简介 举报

简介:本文档为《Spring in Action 2pdf》,可适用于IT/计算机领域,主题内容包含PraisefortheFirstEdition“Thisisoneofthoserarebooksthatconnectatutorialforu符等。

PraisefortheFirstEdition“ThisisoneofthoserarebooksthatconnectatutorialforusingacertainsoftwareproductwithaplethoraofideasongoodsoftwaredesignanddesignpatternsIenjoyedthisbookverymuch”ComputingReviews“Coversalorganized“easyto“WhileSpSpringmuentertainin“Trulyagenterpriseservicesthaaccessprogme,thereisandeditedpaidatten“AcompletmeanitisitexplmakesthemimplementabouttheframeworkSpringinhlthebaseswithextensiveexamplesandexplicitinstructionsasuperblyandfluentlywritteninstructionandreferencemanual”InternetBookwatchreadandhasjustenoughhumormixedin”BooksOnLinering’sreferencedocumentationishighquality,thisbookmakeslearningchmoreenjoyableThebookinjectsafairamountofhumorthatkeepsitgIfyouwanttolearnSpring,youcan’tgowrongwiththisoffering”BillSiggelkow’sWeblogAuthorofJakartaStrutsCookbookreatresourceThebookclearlydefinesthepowerthatSpringbringstoprogrammersandhowSpringabstractsawaymanyofthetougherJEEtmostseriousapplicationsuseThebookhasbeenthrougharigorousearlyram,sothankfullygrammarandcodeerrorsareallbutnonexistentTonothingworsethantryingtolearnanewtechnologyfromapoorlywrittentechnicalbookThankfully,Craig,Ryan,andtheManningteamhavetiontodetailandproducedabookthatIhighlyrecommend”JavaLobbyorgereferencemanualthatcoversnearlyeveryaspectofSpringThisdoesn’tcomplicated:everyexplanationisclearandtherearealotofcodeexamplesainsclearlywhat“InversionofControl”andAOPmeanandhowSpringpossiblehowyoucanwriteservicesandDaos,andhowyoucansimplytransactionmanagementandserviceremotingthethirdparttalksWeblayercoveringSpringMVCaswellasothertechnologiesandsOverallanexcellentresourceforanydeveloperinterestedinusingisproject”JavaUserGroupMilanoSpringinActionSecondEditionCRAIGWALLSwithRyanBreidenbachMANNINGGreenwich(wlong)ForonlineinformationandorderingofthisandotherManningbooks,pleasevisitwwwmanningcomThepublisheroffersdiscountsonthisbookwhenorderedinquantityFormoreinformation,pleasecontact:SpecialSalesDepartmentManningPublicationsCoSoundViewCourtBFax:()Greenwick,CTEmail:ordersmanningcombyManninNopartofthispuanyformorbymepermissionoftheManyofthedesigclaimedastrademPublicationswasaorallcapsRecognizingtheithebookswepubManningPuSoundViewGreenwich,ISBNPrintedintheUngPublicationsCoAllrightsreservedblicationmaybereproduced,storedinaretrievalsystem,ortransmitted,inanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpublishernationsusedbymanufacturersandsellerstodistinguishtheirproductsarearksWherethosedesignationsappearinthebook,andManningwareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsmportanceofpreservingwhathasbeenwritten,itisManning’spolicytohavelishprintedonacidfreepaper,andweexertourbesteffortstothatendblicationsCoCopyeditor:LizWelchCourtBTypesetter:DottieMarsicoCTCoverdesigner:LeslieHaimesitedStatesofAmerica–MAL–FormywifeRaymieandmydaughtersMaisyandMadisonIamendlesslymystifiedastohowImerittheloveoftheworld’sthreemostbeautifulgirlsPARTCOPARTENbriefcontentsRESPRINGSpringingintoactionBasicbeanwiringAdvancedbeanwiringAdvisingbeansTERPRISESPRINGHittingthedatabaseManagingtransactionsSecuringSpringSpringandPOJObasedremoteservicesBuildingcontractfirstwebservicesinSpringSpringmessagingSpringandEnterpriseJavaBeansviiAccessingenterpriseservicesviiiBRIEFCONTENTSPARTCLIENTSIDESPRINGHandlingwebrequestsRenderingwebviewsapapUsingSpringWebFlowIntegratingwithotherwebframeworkspendixASettingupSpringpendixBTestingwith(andwithout)SpringPARTcontentsprefacexixprefacetothefirsteditionxxiiacknowledgmentsxxvaboutthisbookxxviiaboutthetitlexxxiiiaboutthecoverillustrationxxxivCORESPRINGSpringingintoactionWhatisSpringSpringmodulesASpringjumpstartUnderstandingdependencyinjectionInjectingdependenciesDependencyinjectioninactionDependencyinjectioninenterpriseapplicationsApplyingaspectorientedprogrammingixIntroducingAOPAOPinactionSummaryxCONTENTSBasicbeanwiringContainingyourbeansIntroducingtheBeanFactoryWorkingwithanapplicationcontextAbean’slifeCreatingbeansDeclaringasimplebeanInjectingthroughconstructorsInjectingintobeanpropertiesInjectingsimplevaluesReferencingotherbeansWiringcollectionsWiringnothing()AutowiringThefourtypesofautowiringMixingautowithexplicitwiringToautowireornottoautowireControllingbeancreationBeanscopingCreatingbeansfromfactorymethodsInitializinganddestroyingbeansSummaryAdvancedbeanwiringDeclaringparentandchildbeansAbstractingabasebeantypeAbstractingcommonpropertiesApplyingmethodinjectionBasicmethodreplacementUsinggetterinjectionInjectingnonSpringbeansRegisteringcustompropertyeditorsWorkingwithSpring’sspecialbeansPostprocessingbeansPostprocessingthebeanfactoryExternalizingconfigurationpropertiesResolvingtextmessagesDecouplingwithapplicationeventsMakingbeansawareScriptingbeansPuttingthelimeinthecoconutScriptingabeanInjectingpropertiesofscriptedbeansRefreshingscriptedbeansWritingscriptedbeansinlineSummaryCONTENTSxiAdvisingbeansIntroducingAOPDefiningAOPterminologySpring’sAOPsupportPARTCreatingclassicSpringaspectsCreatingadviceDefiningpointcutsandadvisorsUsingProxyFactoryBeanAutoproxyingCreatingautoproxiesforSpringaspectsAutoproxyingAspectJaspectsDeclaringpurePOJOaspectsInjectingAspectJaspectsSummaryENTERPRISESPRINGHittingthedatabaseLearningSpring’sdataaccessphilosophyGettingtoknowSpring’sdataaccessexceptionhierarchyTemplatingdataaccessUsingDAOsupportclassesConfiguringadatasourceUsingJNDIdatasourcesUsingapooleddatasourceJDBCdriverbaseddatasourceUsingJDBCwithSpringTacklingrunawayJDBCcodeWorkingwithJDBCtemplatesUsingSpring’sDAOsupportclassesforJDBCIntegratingHibernatewithSpringChoosingaversionofHibernateUsingHibernatetemplatesBuildingHibernatebackedDAOsUsingHibernatecontextualsessionsSpringandtheJavaPersistenceAPIUsingJPAtemplatesConfiguringanentitymanagerfactoryBuildingaJPAbackedDAOxiiCONTENTSSpringandiBATISConfiguringaniBATISclienttemplateBuildinganiBATISbackedDAOCachingConfiguringacachingsolutionProxyingbeansforcachingAnnotationdrivencachingSummaryManagingtransactionsUnderstandingtransactionsExplainingtransactionsinonlyfourwordsUnderstandingSpring’stransactionmanagementsupportChoosingatransactionmanagerJDBCtransactionsHibernatetransactionsJavaPersistenceAPItransactionsJavaDataObjectstransactionsJavaTransactionAPItransactionsProgrammingtransactionsinSpringDeclaringtransactionsDefiningtransactionattributesProxyingtransactionsDeclaringtransactionsinSpringDefiningannotationdriventransactionsSummarySecuringSpringIntroducingSpringSecurityAuthenticatingusersConfiguringaprovidermanagerAuthenticatingagainstadatabaseAuthenticatingagainstanLDAPrepositoryControllingaccessVotingaccessdecisionsCastinganaccessdecisionvoteHandlingvoterabstinenceCONTENTSxiiiSecuringwebapplicationsProxyingSpringSecurity’sfiltersHandlingthesecuritycontextPromptingtheusertologinHandlingsecurityexceptionsEnforcingwebsecurityEnsuringasecurechannelViewlayersecurityConditionallyrenderingcontentDisplayinguserauthenticationinformationSecuringmethodinvocationsCreatingasecurityaspectSecuringmethodsusingmetadataSummarySpringandPOJObasedremoteservicesAnoverviewofSpringremotingWorkingwithRMIWiringRMIservicesExportingRMIservicesRemotingwithHessianandBurlapAccessingHessianBurlapservicesExposingbeanfunctionalitywithHessianBurlapUsingSpring’sHttpInvokerAccessingservicesviaHTTPExposingbeansasHTTPServicesSpringandwebservicesExportingbeansaswebservicesusingXFireDeclaringwebserviceswithJSRannotationsConsumingwebservicesProxyingwebserviceswithanXFireclientSummaryBuildingcontractfirstwebservicesinSpringIntroducingSpringWSDefiningthecontract(first!)CreatingsampleXMLmessagesxivCONTENTSHandlingmessageswithserviceendpointsBuildingaJDOMbasedmessageendpointMarshalingmessagepayloadsWiringitalltogetherSpringWS:ThebigpictureMappingmessagestoendpointsWiringtheserviceendpointConfiguringamessagemarshalerHandlingendpointexceptionsServingWSDLfilesDeployingtheserviceConsumingSpringWSwebservicesWorkingwithwebservicetemplatesUsingwebservicegatewaysupportSummarySpringmessagingAbriefintroductiontoJMSArchitectingJMSAssessingthebenefitsofJMSSettingupActiveMQinSpringUsingJMSwithSpringTacklingrunawayJMScodeWorkingwithJMStemplatesConvertingmessagesUsingSpring’sgatewaysupportclassesforJMSCreatingmessagedrivenPOJOsCreatingamessagelistenerWritingpurePOJOMDPsUsingmessagebasedRPCIntroducingLingoExportingtheserviceProxyingJMSSummarySpringandEnterpriseJavaBeansWiringEJBsinSpringProxyingsessionbeans(EJBx)WiringEJBsintoSpringbeansDevelopingSpringenabledEJBs(EJBx)CONTENTSxvSpringandEJBIntroducingPitchforkGettingstartedwithPitchforkInjectingresourcesbyannotationDeclaringinterceptorsusingannotationsPARTSummaryAccessingenterpriseservicesWiringobjectsfromJNDIWorkingwithconventionalJNDIInjectingJNDIobjectsWiringJNDIobjectsinSpringSendingemailConfiguringamailsenderConstructingtheemailSchedulingtasksSchedulingwithJava’sTimerUsingtheQuartzschedulerInvokingmethodsonascheduleManagingSpringbeanswithJMXExportingSpringbeansasMBeansRemotingMBeansHandlingnotificationsSummaryCLIENTSIDESPRINGHandlingwebrequestsGettingstartedwithSpringMVCAdayinthelifeofarequestConfiguringDispatcherServletSpringMVCinanutshellMappingrequeststocontrollersUsingSimpleUrlHandlerMappingUsingControllerClassNameHandlerMappingUsingmetadatatomapcontrollersWorkingwithmultiplehandlermappingsHandlingrequestswithcontrollersProcessingcommandsProcessingformsubmissionsProcessingcomplexformswithwizardsWorkingwiththrowawaycontrollersxviCONTENTSHandlingexceptionsSummaryRenderingwebviewsResolvingviewsUsingtemplateviewsResolvingviewbeansChoosingaviewresolverUsingJSPtemplatesBindingformdataRenderingexternalizedmessagesDisplayingerrorsLayingoutpageswithTilesTileviewsCreatingTilecontrollersWorkingwithJSPalternativesUsingVelocitytemplatesWorkingwithFreeMarkerGeneratingnonHTMLoutputProducingExcelspreadsheetsGeneratingPDFdocumentsDevelopingcustomviewsSummaryUsingSpringWebFlowGettingstartedwithSpringWebFlowInstallingSpringWebFlowSpringWebFlowessentialsCreatingaflowLayingtheflowgroundworkFlowvariablesStartandendstatesGatheringcustomerinformationBuildingapizzaorderCompletingtheorderAfewfinishingtouchesAdvancedwebflowtechniquesUsingdecisionstatesExtractingsubflowsandusingsubstatesIntegratingSpringWebFlowwithotherframeworksJakartaStrutsJavaServerFacesSummaryCONTENTSxviiIntegratingwithotherwebframeworksUsingSpringwithStrutsRegisteringtheSpringpluginwithStrutsWritingSpringawareStrutsactionsDelegatingtoSpringconfiguredappendixAappendixBwebcontentwebchappenappenappenappenactionsWhataboutStrutsWorkingSpringintoWebWorkStrutsIntegratingSpringwithTapestryIntegratingSpringwithTapestryIntegratingSpringwithTapestryPuttingafaceonSpringwithJSFResolvingJSFmanagedpropertiesResolvingSpringbeansUsingSpringbeansinJSFpagesExposingtheapplicationcontextinJSFAjaxenablingapplicationsinSpringwithDWRDirectwebremotingAccessingSpringmanagedbeansDWRSummarySettingupSpringTestingwith(andwithout)SpringindexapterBuildingportletapplicationsdixCSpringXMLconfigurationreferencedixDSpringJSPtaglibraryreferencedixESpringWebFlowdefinitionreferencedixFCustomizingSpringconfigurationItwasDinMiamworldwforasinWhasurf,wemoreaOnRodJohofSprinbersofinthenHecaughtavailablRodinSpringThemadeliversionIndeedcapabilprefaceecember,IwasstandingatthesideofalargehotelmeetingroomiBeach,FloridaTheroomwasfilledwithdevelopersfromalloverthehohaddescendeduponthebeautifulsandybeachesofsouthernFloridaglepurpose:totalkaboutSpringtcanIsayItwasaroomfullofnerdsRatherthansoakinthesunandallgatheredinsidetobaskinthewarmglowofourlaptopscreenstolearnboutourbelovedframeworkfromthosewhoknowitbestthatparticularnight,wewerehangingonthewordsofSpring’screator,nson,ashepresentedtheopeningkeynotefortheconferenceHespokeg’soriginsandthesuccessesithadenjoyedThenheinvitedafewmemtheSpringteamtothepodiumtointroducenewfeaturesthatweretobeextversionwasn’tfarintohispresentationwhenRodmadeanannouncementthateveryone’sattentionWewereallexpectingthesegreatnewfeaturestobeeinSpring,thesupposednextversionofSpringMuchtooursurprise,formedusthattherewouldbenoSpringthenextversionwouldbedecisiontobumpupthemajorversionnumberofthenextreleaseisn’tghtlySuchanactionconnotesasignificantadvanceinSpringIfthenextxixofSpringwouldbe,thenwecouldexpectmajorenhancements,tenmonthslater,Springwouldbereleasedwithanabundanceofnewities,including:xxPREFACESimplifiedXMLconfigurationandtheoptiontocreatecustomconfigurationelementsGreatlysimplifiedAOPandtransactionsSupportforJavaannotationsfordeclaringaspects,transactions,andrTSNImcASoSEwTcAtoneintroduareThawork,stionalcSoXSSaDLrequiredbeanpropertiesheabilitytocreatebeansfromscriptswritteninJRuby,Groovy,orBeanhellewJDBCtemplatestosupportnamedparametersandJavafeaturesprovedJMSsupport,includingreceivingmessagesasynchronously(forreatingmessagedrivenPOJOs)newformbindingJSPtaglibraryeveralconventionoverconfigurationimprovementstoreducetheamountfXMLrequiredtoconfigureSpringupportfortheJavaPersistenceAPI(JPA)nhancedbeanscoping,includingrequestandsessionscopingofbeansforebapplicationsheabilitytoperformdependencyinjectiononobjectsthatSpringdoesn’treate(suchasdomainobjects)pointinhiskeynote,Rodsaidthatifthewealthofnewfeaturesbeingceddidn’tjustifyajumpto,thenhowwouldtheyeverbeabletojustifyleaset’snotallInadditiontotheworkbeingdoneonthecoreSpringFrameeveralinterestingSpringrelatedprojectswereunderwaytoprovideaddiapabilitiesontopofSpringAmongthem:pringWebFlow,whichisbasedonSpringMVCandenablesdevelopmentfflowbasedwebapplicationsFire,forexportingyourSpringbeansasSOAPwebservicespringWSforcreatingcontractfirstwebservicespringModules,whichprovides(amongotherthings)declarativecachingndvalidationirectWebRemoting(DWR)forAjaxenablingSpringbeansingo,whichmakesitpossibletoasynchronouslyinvokemethodsonemotebeansPREFACExxiThenitoccurredtome:ifallofthesenewadvancesinSpringdidn’tjustifyasecondeditionofSpringinAction,thenwhatwouldAsitturnedout,ManningwasthinkingthesamethingAndnow,welloverayearlater,here’sthelongawaitedupdatetoSpringinActiontlongerforthisSpringhatcoversmanyofthenewfeaturesofSpringIthastakenmealottofinishthanIhadplanned,butIhopethatitwasworththewaitMygoaleditionisthesameaswiththefirst:tosharethejoyofdevelopinginIhopethisbookwillservetoenhanceyourenjoymentofSpringSoftwarcraftwdevelopThisreativesoTheingtargnewmebemastbetteraThethatmoofeffortieswenewwaThisJavacolandscaneedsfunctioextendprefacetothefirsteditionedevelopersneedtohaveanumberoftraitsinordertopracticetheirellFirst,theymustbegoodanalyticalthinkersandproblemsolversAer’sprimaryroleistocreatesoftwarethatsolvesbusinessproblemsquiresanalyzingcustomerneedsandcomingupwithsuccessful,crelutionsyalsoneedtobecuriousDevelopments

类似资料

编辑推荐

缅北之战.pdf

领导干部人格魅力修养.doc

国家第二批珍稀古籍.pdf

金锁玉关过路阴阳讲义.韩来运.pdf

地北天南叙古今.pdf

职业精品

精彩专题

结婚彩礼真有那么重要吗?

原创于西周而后沿袭至今的彩礼,虽然被一部分家长奉为圭臬,但越来越多的年轻人对结婚必须要彩礼不以为然。彩礼引发的社会矛盾越来越受到关注,结婚是自己的事,如人饮水冷暖自知,至于要不要彩礼或者要多少彩礼,因人而异,因财力而已,不可一概而论。

用户评论(1)

0/200
  • 10.44.7.248 2013-04-03 09:55:05

    感谢分享,资料很不错

上传我的资料

精选资料

热门资料排行换一换

  • 经济学人读译参考150篇.pdf

  • UNIX痛恨者手册.pdf

  • 现代飞机制造技术.pdf

  • [神州武功精粹].裴锡荣.扫描版…

  • Prolog基础.ppt

  • 《家庭金融投资组合》(黄载曦、连…

  • GB3442-86 半导体集成电…

  • 参加红军的第一天(作家出版社 1…

  • 资料评价:

    / 765
    所需积分:0 立即下载

    意见
    反馈

    返回
    顶部