aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Instantiating bean" Watch "Instantiating bean" New topic
Author

Instantiating bean

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
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,
Kousik
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Instantiating bean