File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Instantiating bean

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 237
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
It's not a secret anymore!