This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 228
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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