This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Spring and the fly likes Doubt in wiring up beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Doubt in wiring up beans" Watch "Doubt in wiring up beans" New topic
Author

Doubt in wiring up beans

Mahalakshmi Chandru
Ranch Hand

Joined: Feb 26, 2009
Posts: 48
Hi all,
I'm a newbie learning Spring frmaework using the book 'Beginning Spring Framework 2'..The concept of wiring the beans together has been explained using the below program in Chapter 1.



Could anyone(who has read this book) explain , when the methods : setOps and setWriter gets called..Thanks in advance.
Mahalakshmi Chandru
Ranch Hand

Joined: Feb 26, 2009
Posts: 48
All,
I got to unserstand as i kept studying the book. The setter() methods are used for dependency injection. Im clear now
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Thanks for the update.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in wiring up beans