C
Chris
We've got a webapp that depends on a jar file in the /lib directory. We'd
like to implement an automatic updates feature, where a user could go to a
special page, click on "Check for updates", and have the system go to our
server and download a new version of the jar file (and a lot of other files
as well).
All this is easy to do. Once we've downloaded the files, however, how do we
get the JVM to stop running the code in the current jar file, unload all the
classes, and then start using the new jar file?
like to implement an automatic updates feature, where a user could go to a
special page, click on "Check for updates", and have the system go to our
server and download a new version of the jar file (and a lot of other files
as well).
All this is easy to do. Once we've downloaded the files, however, how do we
get the JVM to stop running the code in the current jar file, unload all the
classes, and then start using the new jar file?