Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
19Activity
0 of .
Results for:
No results containing your search query
P. 1
Learn Spring Framework

Learn Spring Framework

Ratings:

4.0

(2)
|Views: 481 |Likes:
Published by hiimok
Spring Framework
Spring Framework

More info:

Published by: hiimok on Dec 23, 2008
Copyright:Attribution Non-commercial

Availability:

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

08/31/2010

pdf

text

original

 
2.1 M1Copyright © 2004-2007 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,Rick Evans
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................................................................................................................................................ xiv
.................................................................................................................................. 151.1. Overview............................................................................................................................. 151.2. Usage scenarios.................................................................................................................... 17
............................................................................................................. 202.1. Introduction......................................................................................................................... 202.2. The Inversion of Control (IoC) container............................................................................... 202.2.1. Easier XML configuration.......................................................................................... 202.2.2. New bean scopes....................................................................................................... 202.2.3. Extensible XML authoring......................................................................................... 212.3. Aspect Oriented Programming (AOP).................................................................................... 212.3.1. Easier AOP XML configuration................................................................................. 212.3.2. Support for @AspectJ aspects.................................................................................... 212.4. The Middle Tier................................................................................................................... 212.4.1. Easier configuration of declarative transactions in XML.............................................. 222.4.2. JPA.......................................................................................................................... 222.4.3. Asynchronous JMS.................................................................................................... 222.4.4. JDBC........................................................................................................................ 222.5. The Web Tier....................................................................................................................... 222.5.1. A form tag library for Spring MVC............................................................................. 222.5.2. Sensible defaulting in Spring MVC............................................................................. 232.5.3. Portlet framework ...................................................................................................... 232.6. Everything else.................................................................................................................... 232.6.1. Dynamic language support......................................................................................... 232.6.2. JMX......................................................................................................................... 232.6.3. Task scheduling......................................................................................................... 232.6.4. Java 5 (Tiger) support................................................................................................ 232.7. Migrating to Spring 2.0......................................................................................................... 242.7.1. Changes.................................................................................................................... 242.8. Updated sample applications................................................................................................. 252.9. Improved documentation...................................................................................................... 25I. Core Technologies........................................................................................................................... 27
................................................................................................................. 283.1. Introduction................................................................................................................. 283.2. Basics - containers and beans........................................................................................ 283.2.1. The container.................................................................................................... 283.2.2. Instantiating a container..................................................................................... 303.2.3. The beans.......................................................................................................... 313.2.4. Using the container............................................................................................ 353.3. Dependencies............................................................................................................... 363.3.1. Injecting dependencies....................................................................................... 363.3.2. Constructor Argument Resolution....................................................................... 403.3.3. Bean properties and constructor arguments detailed............................................. 423.3.4. Using
............................................................................................. 503.3.5. Lazily-instantiated beans.................................................................................... 513.3.6. Autowiring collaborators.................................................................................... 513.3.7. Checking for dependencies................................................................................. 533.3.8. Method Injection............................................................................................... 543.4. Bean scopes................................................................................................................. 573.4.1. The singleton scope........................................................................................... 573.4.2. The prototype scope........................................................................................... 583.4.3. The other scopes................................................................................................ 60Spring Framework (2.1 M1) ii
 
3.4.4. Custom scopes.................................................................................................. 633.5. Customizing the nature of a bean................................................................................... 653.5.1. Lifecycle interfaces........................................................................................... 653.5.2. Knowing who you are........................................................................................ 693.6. Bean definition inheritance........................................................................................... 703.7. Container extension points............................................................................................ 723.7.1. Customizing beans using
................................................... 723.7.2. Customizing configuration metadata with
............................................ 773.8. The
............................................................................................. 783.8.1. Internationalization using
......................................................... 783.8.2. Events............................................................................................................... 813.8.3. Convenient access to low-level resources............................................................ 823.8.4. Convenient
instantiation for web applications..................... 833.9. Glue code and the evil singleton.................................................................................... 843.9.1. Using the Singleton-helper classes...................................................................... 84
.............................................................................................................................. 854.1. Introduction................................................................................................................. 854.2. The
interface................................................................................................. 854.3. Built-in
implementations............................................................................... 864.3.1.
..................................................................................................... 864.3.2.
........................................................................................... 864.3.3.
......................................................................................... 874.3.4.
.................................................................................. 874.3.5.
....................................................................................... 874.3.6.
........................................................................................... 874.4. The
.................................................................................................... 874.5. The
interface............................................................................. 884.6.
as dependencies........................................................................................... 894.7. Application contexts and
paths....................................................................... 894.7.1. Constructing application contexts....................................................................... 894.7.2. Wildcards in application context constructor resource paths................................. 904.7.3.
caveats............................................................................. 92
......................................... 945.1. Introduction................................................................................................................. 945.2. Validation using Spring's
interface................................................................ 945.3. Resolving codes to error messages................................................................................. 965.4. Bean manipulation and the
........................................................................ 965.4.1. Setting and getting basic and nested properties.................................................... 965.4.2. Built-in PropertyEditor implementations............................................................. 98
.......................................................................... 1026.1. Introduction................................................................................................................. 1026.1.1. AOP concepts................................................................................................... 1026.1.2. Spring AOP capabilities and goals...................................................................... 1046.1.3. AOP Proxies..................................................................................................... 1056.2. @AspectJ support........................................................................................................ 1056.2.1. Enabling @AspectJ Support............................................................................... 1056.2.2. Declaring an aspect............................................................................................ 1066.2.3. Declaring a pointcut........................................................................................... 1066.2.4. Declaring advice................................................................................................ 1116.2.5. Introductions..................................................................................................... 1176.2.6. Aspect instantiation models................................................................................ 118The Spring Framework - Reference DocumentationSpring Framework (2.1 M1) iii

Activity (19)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
porur liked this
nitinlucky liked this
v.vignesh liked this
rt231 liked this
Nishna Nishna B liked this
salman2au liked this
salman2au liked this

You're Reading a Free Preview

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