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
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Spring Mvc Step by Step

Spring Mvc Step by Step

Ratings:

1.0

(1)
|Views: 120|Likes:
Published by 전영민

More info:

Published by: 전영민 on Mar 11, 2010
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

12/13/2010

pdf

text

original

 
Developing a Spring Framework MVC application step-by-step
Version 2.5Copyright © 2004-2008 Thomas Risberg, Rick Evans, Portia Tung
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.
 
Table of Contents
Overview............................................................................................................................................1.What'scovered ........................................................................................................................iv2.Prerequisitesoftware................................................................................................................iv3.Theapplicationwearebuilding ................................................................................................v
1.BasicApplicationandEnvironmentSetup
.....................................................................................1.1.Createtheprojectdirectorystructure ......................................................................................11.2.Create'index.jsp'...................................................................................................................11.3.DeploytheapplicationtoTomcat ...........................................................................................21.4.Checktheapplicationworks ..................................................................................................51.5.DownloadtheSpringFramework ...........................................................................................61.6.Modify'web.xml'inthe'WEB-INF'directory .........................................................................61.7.Copylibrariesto'WEB-INF/lib' .............................................................................................81.8.CreatetheController .............................................................................................................81.9.WriteatestfortheController.................................................................................................91.10.CreatetheView...................................................................................................................101.11.Compileanddeploytheapplication ......................................................................................101.12.Tryouttheapplication.........................................................................................................111.13.Summary............................................................................................................................12
2.DevelopingandConfiguringtheViewsandtheController
............................................................2.1.ConfigureJSTLandaddJSPheaderfile .................................................................................142.2.Improvethecontroller ...........................................................................................................152.3.Decoupletheviewfromthecontroller ....................................................................................172.4.Summary..............................................................................................................................19
3.DevelopingtheBusinessLogic
........................................................................................................3.1.ReviewthebusinesscaseoftheInventoryManagementSystem ............................................... 213.2.Addsomeclassesforbusinesslogic .......................................................................................213.3.Summary..............................................................................................................................27
4.DevelopingtheWebInterface
........................................................................................................4.1.Addreferencetobusinesslogicinthecontroller...................................................................... 304.2.Modifytheviewtodisplaybusinessdataandaddsupportformessagebundle .......................... 314.3.Addsometestdatatoautomaticallypopulatesomebusinessobjects ......................................... 314.4.Addthemessagebundleanda'clean'targetto'build.xml' ........................................................ 324.5.Addingaform.......................................................................................................................334.6.Addingaformcontroller .......................................................................................................364.7.Summary..............................................................................................................................39
5.ImplementingDatabasePersistence
...............................................................................................5.1.Createdatabasestartupscript .................................................................................................415.2.Createtableandtestdatascripts .............................................................................................415.3.AddAnttaskstorunscriptsandloadtestdata ......................................................................... 425.4.CreateaDataAccessObject(DAO)implementationforJDBC ................................................ 435.5.ImplementtestsforJDBCDAOimplementation .....................................................................465.6.Summary..............................................................................................................................49
6.IntegratingtheWebApplicationwiththePersistenceLayer
..........................................................6.1.Modifyservicelayer..............................................................................................................516.2.Fixthefailingtests ................................................................................................................526.3.Createnewapplicationcontextforservicelayerconfiguration ................................................. 546.4.Addtransactionandconnectionpoolconfigurationtoapplicationcontext ................................. 566.5.Finaltestofthecompleteapplication......................................................................................57Spring Framework (2.5) ii
 
6.6.Summary..............................................................................................................................58A.BuildScripts...................................................................................................................................Developing a Spring Framework MVC applicationSpring Framework (2.5) iii

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
Muhammad Saleemullah added this note
nice tutorial.....
gt04 liked this
madhuever4u liked this
yellamandarao liked this
vbgrao liked this
전영민 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)//-->