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 or section
Like this
12Activity

Table Of Contents

The History of Spring
About Spring
Why Everyone Loves It
Common Criticisms of Spring
How Spring Works
How Spring Makes J2EE Easier
Coding to Interfaces
Easy Testability
Reducing Coupling: Factory Pattern vs. Spring
Configuring and Binding Class Dependencies
Object/Relational Mapping Tools
Summary
Overview
Download Struts and Spring1
Create Project Directories and an Ant Build File
Tomcat and Ant
Create Unit Test for Persistence Layer
Configure Hibernate and Spring
How Spring Is Configured in Equinox
Implement UserDAO with Hibernate
Run Unit Test and Verify CRUD with DAO 32
Run Unit Test and Verify CRUD with DAO
Create Manager and Declare Transactions
Create Unit Test for Struts Action
Create Action and Model (DynaActionForm) for Web Layer 40
Create Action and Model (DynaActionForm) for Web Layer
Run Unit Test and Verify CRUD with Action
Complete JSPs to Allow CRUD through a Web Browser
Verify JSP’s Functionality through Your Browser 50
Verify JSP’s Functionality through Your Browser
Adding Validation Using Commons Validator
Add the Validator Plug-in to struts-config.xml
Edit the validation.xml File to Specify That lastName Is a Required Field
Change the DynaActionForm to DynaValidatorForm
Configure Validation for save() Method, But Not for Others
About the BeanFactory
A Bean’s Lifecycle in the BeanFactory
Inversion of Control
The Bean Definition Exposed
Configuring Properties and Dependencies
Specifying Dependencies with <ref>
Pre-Initializing Your Beans
Autowiring
Dependency Checks
setBeanFactory()
afterPropertiesSet()
init-method
Ready State
Destroying Beans
The ApplicationContext: Talking to Your Beans
Get That Context!
Tips for Unit Testing and Loading Contexts
Internationalization and MessageSource
Event Publishing and Subscribing
A Closer Look at MyUser’s applicationContext.xml
Unit Testing Spring Controllers
Converting Struts to Spring MVC
Modify web.xml to Use Spring’s DispatchServlet
Create Unit Test for UserController
Create UserController and Configure action-servlet.xml
Modify userList.jsp to Work with Spring
Create Unit Test for UserFormController
Create UserFormController and Configure it in action-servlet.xml
Modify userForm.jsp to Use Spring’s JSP Tags
Configure Commons Validator for Spring
SimpleFormController: Method Lifecyle Review
Spring’s JSP Tags
Templating with SiteMesh
Installation and Configuration
Step 1: Configure SiteMesh in web.xml
Step 2: Create Configuration Files
Step 3: Create a Decorator
Templating with Tiles
Step 1: Configure Spring to Recognize Tiles
Step 2: Create a Base Layout
Step 3: Create Page Definitions
Validating the Spring Way
Using Commons Validator
XDoclet
Chaining Validators
Validating in Business Delegates
Spring’s Future Declarative Validation Framework
Exception Handling in Controllers
Uploading Files
Intercepting the Request
Sending E-Mail
0 of .
Results for:
No results containing your search query
P. 1
null

null

Ratings: (0)|Views: 8,212|Likes:
Published by crabby12

More info:

Published by: crabby12 on Mar 09, 2011
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

07/24/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 75 are not shown in this preview.
You're Reading a Free Preview
Pages 79 to 95 are not shown in this preview.
You're Reading a Free Preview
Pages 99 to 107 are not shown in this preview.
You're Reading a Free Preview
Pages 111 to 132 are not shown in this preview.
You're Reading a Free Preview
Pages 136 to 160 are not shown in this preview.

Activity (12)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
arifhussain1 liked this
edisonto liked this
edisonto liked this
patri44578 liked this
gallant_it liked this
idtripathi liked this
Ku Linh liked this
chandra-calgary 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)//-->