This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Spring and the fly likes Instantiating bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Instantiating bean" Watch "Instantiating bean" New topic

Instantiating bean

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 234
Hi all,

I am using spring 2.5 and using a client jar to call some services. Now from my code in xml configuration I need to instantiate this clint jar class because it has a reference in my class. right?
But to instantiate it I need to also set it's properties i.e refernce to other beans.
So my problem is if I continue with this I do not know when I will be stopped referncing these beans and instantiating.
Am I missing something? Is there other way to achieve this?
Please suggest.

Thanks in Advance,
I agree. Here's the link:
subject: Instantiating bean