Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing "daemon-like" apps with WebStart

843802Jul 6 2004 — edited Dec 4 2004
Hi,

I'd like to be able to use Web Start to install a "daemon-like" app. Specifically, we'd like to distribute the HSQL Java database with a WebStart app. When the app first installs, I'd like to cause the database server to install as a daemon/system service: Each time the machine starts up, I'd like this process to start up as well. (I know that HSQL also supports file-based database access, which is what I'm using now. But I'd like to offer a client-server version of the app as well.)

My first question is, Does Java WebStart support this sort of install?

If not, I could always have my app do that part of the install: Determine the platform it runs on, and then execute platform-specific code to, for instance, add registry entries (Windows), or install startup scripts (Linux/Unix). The problem with that approach is uninstallation: What if the user wants to later uninstall the program? Does WebStart's appmanager give a change to the about-to-be-uninstalled application to clean up before it gets uninstalled? That way, I could have the app remove the registry entries/startup files.

Thanks,

Frank
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2005
Added on Jul 6 2004
5 comments
209 views