aspose file tools*
The moose likes JSP and the fly likes how to auto re-load the classes without shutting down the JVM? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to auto re-load the classes without shutting down the JVM?" Watch "how to auto re-load the classes without shutting down the JVM?" New topic
Author

how to auto re-load the classes without shutting down the JVM?

babu Jay
Greenhorn

Joined: Sep 21, 2001
Posts: 5
Hi All,
Does anyone have any thoughts as to how to auto re-load the classes, which have been loaded into JVM using Custom Class loader? I tried writing custom class loader and loaded all the classes, but don't know how to re-load the same class, if it has been modified (re-compiled) without shutting down JVM, similar to JSP engine, where if we put updated JSP file, it picks up the new file.
Note: I learnt that, we need to recreate new class loader and load all the classes again, but don't know exactly how to apply that technique in the system. Any help is greatly appreciated.
Thank you,
Babu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to auto re-load the classes without shutting down the JVM?