Dynamic loading of jar files

Hi

In my application I need to dynamically create objects of types specified by string which is passed as parameter. I am able to do this if the class is inside the same jar. But I need to load the class from any jar name specified. How do i go about doing this? Is there a way to dynamically loading jar files?

[325 byte] By [dan_aravinda] at [2007-10-3 4:33:41]
# 1
I don't think so, not if the classes have the same name but different jar names. But if all the classes are uniquely named, then it's no problem.
SoulTech2012a at 2007-7-14 22:37:18 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Cross posted http://forum.java.sun.com/thread.jspa?threadID=766822&messageID=4371675#4371675
jschella at 2007-7-14 22:37:18 > top of Java-index,Other Topics,Patterns & OO Design...