Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
60Activity
0 of .
Results for:
No results containing your search query
P. 1
SpringFramework 2.5.x

SpringFramework 2.5.x

Ratings:

4.89

(18)
|Views: 18,817 |Likes:
Published by Fede
Official documentation of SpringFramework version 2.5.6
Official documentation of SpringFramework version 2.5.6

More info:

Published by: Fede on Oct 11, 2007
Copyright:Traditional Copyright: All rights reserved

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF or read online from Scribd
See more
See less

05/08/2014

pdf

original

 
The Spring Framework - Reference Documentation
Version 2.5.6Copyright © 2004-2008 Rod Johnson, Juergen Hoeller, Alef Arendsen, Colin Sampaleanu,Rob Harrop, Thomas Risberg, Darren Davison, Dmitriy Kopylenko, Mark Pollack, ThierryTemplier, Erwin Vervaet, Portia Tung, Ben Hale, Adrian Colyer, John Lewis, Costin Leau,Mark Fisher, Sam Brannen, Ramnivas Laddad, Arjen Poutsma
Copies of this document may be made for your own use and for distribution to others, provided that you do notcharge any fee for such copies and further provided that each copy contains this Copyright Notice, whetherdistributed in print or electronically.
 
Preface................................................................................................................................................xv
...................................................................................................................................161.1.Overview..............................................................................................................................161.2.Usagescenarios ....................................................................................................................18
.................................................................................................212.1.Introduction..........................................................................................................................212.2.TheInversionofControl(IoC)container ................................................................................212.2.1.Newbeanscopes ........................................................................................................212.2.2.EasierXMLconfiguration...........................................................................................222.2.3.ExtensibleXMLauthoring..........................................................................................222.2.4.Annotation-drivenconfiguration..................................................................................222.2.5.Autodetectingcomponentsintheclasspath ..................................................................222.3.AspectOrientedProgramming(AOP) ....................................................................................232.3.1.EasierAOPXMLconfiguration ..................................................................................232.3.2.Supportfor@AspectJaspects .....................................................................................232.3.3.Supportforbeannamepointcutelement ......................................................................232.3.4.SupportforAspectJload-timeweaving ........................................................................232.4.TheMiddleTier ....................................................................................................................232.4.1.EasierconfigurationofdeclarativetransactionsinXML ...............................................232.4.2.FullWebSpheretransactionmanagementsupport .........................................................242.4.3.JPA...........................................................................................................................242.4.4.AsynchronousJMS.....................................................................................................242.4.5.JDBC........................................................................................................................242.5.TheWebTier........................................................................................................................252.5.1.SensibledefaultinginSpringMVC .............................................................................252.5.2.Portletframework.......................................................................................................252.5.3.Annotation-basedcontrollers.......................................................................................252.5.4.AformtaglibraryforSpringMVC .............................................................................252.5.5.Tiles2support ...........................................................................................................252.5.6.JSF1.2support ..........................................................................................................262.5.7.JAX-WSsupport ........................................................................................................262.6.Everythingelse .....................................................................................................................262.6.1.Dynamiclanguagesupport..........................................................................................262.6.2.Enhancedtestingsupport ............................................................................................262.6.3.JMXsupport ..............................................................................................................262.6.4.DeployingaSpringapplicationcontextasJCAadapter ................................................. 272.6.5.Taskscheduling .........................................................................................................272.6.6.Java5(Tiger)support .................................................................................................272.7.MigratingtoSpring2.5..........................................................................................................272.7.1.Changes.....................................................................................................................282.8.Updatedsampleapplications..................................................................................................302.9.Improveddocumentation .......................................................................................................30I.CoreTechnologies............................................................................................................................31
..................................................................................................................323.1.Introduction..................................................................................................................323.2.Basics-containersandbeans .........................................................................................323.2.1.Thecontainer .....................................................................................................333.2.2.Instantiatingacontainer ......................................................................................343.2.3.Thebeans ..........................................................................................................353.2.4.Usingthecontainer.............................................................................................393.3.Dependencies................................................................................................................403.3.1.Injectingdependencies........................................................................................40Spring Framework (2.5.6) ii
 
3.3.2.Dependenciesandconfigurationindetail .............................................................453.3.3.Using
..............................................................................................543.3.4.Lazily-instantiatedbeans.....................................................................................543.3.5.Autowiringcollaborators ....................................................................................553.3.6.Checkingfordependencies..................................................................................573.3.7.MethodInjection ................................................................................................583.4.Beanscopes..................................................................................................................613.4.1.Thesingletonscope ............................................................................................623.4.2.Theprototypescope ...........................................................................................633.4.3.Singletonbeanswithprototype-beandependencies ...............................................643.4.4.Theotherscopes.................................................................................................643.4.5.Customscopes ...................................................................................................683.5.Customizingthenatureofabean....................................................................................703.5.1.Lifecyclecallbacks.............................................................................................703.5.2.Knowingwhoyouare.........................................................................................743.6.Beandefinitioninheritance ............................................................................................763.7.Containerextensionpoints.............................................................................................773.7.1.Customizingbeansusing
....................................................783.7.2.Customizingconfigurationmetadatawith
............................................833.8.The
..............................................................................................843.8.1.
?................................................................843.8.2.Internationalizationusing
..........................................................853.8.3.Events...............................................................................................................883.8.4.Convenientaccesstolow-levelresources .............................................................893.8.5.Convenient
instantiationforwebapplications ......................903.9.Gluecodeandtheevilsingleton .....................................................................................913.10.DeployingaSpringApplicationContextasaJ2EERARfile .......................................... 913.11.Annotation-basedconfiguration....................................................................................923.11.1.
........................................................................................................933.11.2.
......................................................................................................933.11.3.Fine-tuningannotation-basedautowiringwithqualifiers .....................................953.11.4.
.............................................................................993.11.5.
........................................................................................................1003.11.6.
....................................................................1013.12.Classpathscanningformanagedcomponents ................................................................1023.12.1.
andfurtherstereotypeannotations ...................................................1023.12.2.Auto-detectingcomponents...............................................................................1023.12.3.Usingfilterstocustomizescanning ....................................................................1033.12.4.Namingautodetectedcomponents......................................................................1043.12.5.Providingascopeforautodetectedcomponents ..................................................1053.12.6.Providingqualifiermetadatawithannotations ....................................................1053.13.Registeringa
.....................................................................................106
...............................................................................................................................1074.1.Introduction..................................................................................................................1074.2.The
interface..................................................................................................1074.3.Built-in
implementations ................................................................................1084.3.1.
......................................................................................................1084.3.2.
...........................................................................................1084.3.3.
..........................................................................................1094.3.4.
...................................................................................1094.3.5.
........................................................................................109The Spring Framework - Reference DocumentationSpring Framework (2.5.6) iii

Activity (60)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
1 hundred thousand reads
Suresh Kumar liked this
Nabil Tanjawi liked this
Fede added this note
ïndice
Roberto Gil liked this
adamnevski liked this
Ramanan liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->