Update application without restarting the program
Hi
I am developing an application that is supposed to run as a service on the users PC. We are looking for at way to make automatic updates of the applications. Is it possible to update a webstart application without restarting it - is there any command that can be called from within the program that will force it to check if there are new .jar files on the server ?
Is it at all possible to combine java webstart technology with windows services ?
Kind Regards MABork
[495 byte] By [
MABorka] at [2007-11-26 19:00:00]

# 1
There is no automatic way of installing a java web start app as a windows service.
There is an RFE for a future version to add this cacpability.
You can check for available downloads in a running app and relaunch it. This is possible with the enhancements in the DownloadService API in JDK 6. I demonstratided this at last years JavaOne.
A Java Application can not unload classes from a running VM, so you can not update a running application and have the change take effect w/o restarting it. You can restart it programatically with BasicService.showDocument().
/Andy