Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android forum!
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
 
wood burning stoves
 
subject: Instantiating bean
 
Similar Threads
Confused with points in Kathy's book
Suggest me good design pattern
Instantiating a Bean in Spring
instatiating a C++ class through JNI
Datasource/EJB