<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Java - Dynamic loading of class and jar file</title>
	<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/</link>
	<description>Good judgement comes from experience, and experience comes from bad judgement.</description>
	<pubDate>Tue, 06 Jan 2009 13:57:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: the rasx() context &#187; Blog Archive &#187; My Humble Java</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-26755</link>
		<dc:creator>the rasx() context &#187; Blog Archive &#187; My Humble Java</dc:creator>
		<pubDate>Fri, 07 Nov 2008 16:33:35 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-26755</guid>
		<description>[...] “Dynamic loading of class and jar file” [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] “Dynamic loading of class and jar file” [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandipan</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-9869</link>
		<dc:creator>sandipan</dc:creator>
		<pubDate>Thu, 12 Jun 2008 07:48:43 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-9869</guid>
		<description>after loading a class using the above method i am not able to delete the jar file. The url class loader is not releasing the handle of the jar. 

How can i delete the jar after class loading?</description>
		<content:encoded><![CDATA[<p>after loading a class using the above method i am not able to delete the jar file. The url class loader is not releasing the handle of the jar. </p>
<p>How can i delete the jar after class loading?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-7509</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Wed, 07 May 2008 09:06:03 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-7509</guid>
		<description>From where can I get the class ClassLoaderUtil ?

and why is it needed ?</description>
		<content:encoded><![CDATA[<p>From where can I get the class ClassLoaderUtil ?</p>
<p>and why is it needed ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heff</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-5233</link>
		<dc:creator>Heff</dc:creator>
		<pubDate>Mon, 07 Apr 2008 13:05:35 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-5233</guid>
		<description>You don't need to unload java classes, the classes will be garbage collected once the classloader is no longer referenced by any objects on the heap. Remember that Classes are also Objects.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to unload java classes, the classes will be garbage collected once the classloader is no longer referenced by any objects on the heap. Remember that Classes are also Objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xeus</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-4776</link>
		<dc:creator>xeus</dc:creator>
		<pubDate>Fri, 28 Mar 2008 11:06:39 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-4776</guid>
		<description>try using JCL... http://jcloader.sourceforge.net</description>
		<content:encoded><![CDATA[<p>try using JCL&#8230; <a href="http://jcloader.sourceforge.net" rel="nofollow">http://jcloader.sourceforge.net</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-3630</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 22 Feb 2008 16:55:38 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-3630</guid>
		<description>&#62; How to dynamically unload and
&#62; reload a class or Jar file ?

http://site.red-illusions.dk/2006/11/04/simple-dynamic-loadingunloading-of-code/</description>
		<content:encoded><![CDATA[<p>&gt; How to dynamically unload and<br />
&gt; reload a class or Jar file ?</p>
<p><a href="http://site.red-illusions.dk/2006/11/04/simple-dynamic-loadingunloading-of-code/" rel="nofollow">http://site.red-illusions.dk/2006/11/04/simple-dynamic-loadingunloading-of-code/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-3118</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 06 Feb 2008 02:37:00 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-3118</guid>
		<description>Attached the additional code for download..</description>
		<content:encoded><![CDATA[<p>Attached the additional code for download..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-3103</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 05 Feb 2008 20:37:25 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-3103</guid>
		<description>Given the standard class name like("package1.className"), you could load a class dynamically using java.lang.reflect.Class's static forName method:
Class c = Class.forName("yourClass");

.. but I want to know how to get an appropriate class name from a file path.  That first example omits explaining where the "name" variable came from.  It is easy when there are no packages to strip out paths and the file extension but how can you get the appropriate class name with its preceding packages?</description>
		<content:encoded><![CDATA[<p>Given the standard class name like(&#8221;package1.className&#8221;), you could load a class dynamically using java.lang.reflect.Class&#8217;s static forName method:<br />
Class c = Class.forName(&#8221;yourClass&#8221;);</p>
<p>.. but I want to know how to get an appropriate class name from a file path.  That first example omits explaining where the &#8220;name&#8221; variable came from.  It is easy when there are no packages to strip out paths and the file extension but how can you get the appropriate class name with its preceding packages?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ink</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-288</link>
		<dc:creator>Ink</dc:creator>
		<pubDate>Tue, 30 Oct 2007 06:13:44 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-288</guid>
		<description>use OSGI to these type of operations</description>
		<content:encoded><![CDATA[<p>use OSGI to these type of operations</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Develop a Java Plugin Framework &#124; twit88.com</title>
		<link>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-61</link>
		<dc:creator>Develop a Java Plugin Framework &#124; twit88.com</dc:creator>
		<pubDate>Sun, 07 Oct 2007 16:56:31 +0000</pubDate>
		<guid>http://twit88.com/blog/2007/10/04/java-dynamic-loading-of-class-and-jar-file/#comment-61</guid>
		<description>[...] To load the class, you can refer to my previous article, Java - dynamic loading of class and jar file [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] To load the class, you can refer to my previous article, Java - dynamic loading of class and jar file [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
