- Create a Java Project in My Eclipse, Add 'Spring3.1' Capabilities, By right clicking on Project->MyEclipse->Project Facets(Capabilities)->Spriing Facet
This will load required libraries in the class path.
- Create a Customer POJO as shown below, with one parameterized constructor and to data members
- Update applicationContext.xml as shown below by configuring the bean details.
- Write a simple Test class as shown below, Right click on this class and run as java application
Thank you for publishing this blog, really awesome. An only experienced professional can do this.
ReplyDeleteSpring Training in Chennai
Core Spring Training
Spring source Training
spring Training in Porur
Hibernate Training in Chennai
Hibernate Training Chennai
Struts Training in Chennai
Wordpress Training in Chennai