Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Spring Notes

Spring Notes

Ratings: (0)|Views: 66|Likes:

More info:

Published by: Sudheer Reddy Pothurai on Oct 29, 2012
Copyright:Attribution Non-commercial

Availability:

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

12/04/2012

pdf

text

original

 
POTHURAI
Spring
The frame works are the software that are designed & developed by the developerswith good experience.A frame work designer designs the frame work using a good architecture (struts,Spring MVC … etc) are designed using Model – View – Controller architectures/designpattern.A frame work provides a procedure for doing various tasks & the frame work contains the code that is commonly required as part of our projects.The frame work simplifies the development of the projects. Most of the developersare using the frame works the development of medium to large scale projects.We can download spring related from www.springframework.org. spring- framework-2.0.6-with-dependencies.zip contains all the files that are required for thedevelopment of an application using spring.The above diagram shows various modules that are part of spring.DAO : -Data access object.JMX :- Java management extension.AOP : -Aspect oriented programming.IOC :- Inversion of control.The frameworks like struts, web work can be used for the development of the webapplication only. But we can use spring for the development of different types of applications like a GUI application, a web application, Applet, EJB application.As part of Core module spring container is provided. The spring container is alsocalled as IOC (Inversion of control) container.
SUDHEER REDDY1
 
org.springframework.beans.factory.BeanFactory….getBean(..)isSingleton(..)
 
POTHURAI
implementsA spring container is a java object that provides a implementation of theBeanFactory interface.……………..BeanFactory sprCont=new XmlBeanFactory(..);sprContXmlBeanFactory (BeanFactory) obj.The spring container is responsible for creating the java objects (spring bean objects) &responsible for holding the java objects.Procedure for creating a spring based application: -1) Choose file
new
Java project.2) In new java project window provide project name (sprproj) & click on finish button.3) Choose file
new
package
SUDHEER REDDY2
 
org.springframework.beans.factory.xml.XmlBeanFactoryThis objectis the springcontainer
 
POTHURAI
4) In new java package window provide the name (org.students) & click on finish button.5) In package explorer view choose sprproj & choose MyEclipse
add springcapabilities.6) In add spring capability window check MyEclipse libraries, user libraries. Check allthe libraries except spring 1.2 ORM/DAO/Hibernate2 libraries & spring 2.0 web libraries.7) Choose copy checked library contents to project folder & click on the browse button.
SUDHEER REDDY3

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)//-->