URL url = getClass().getResource("/" + myResourceName);InputStream in = url.openStream();
Hmm, now that I think of it, our user settings are going to be an issue as well. These are in a settings.cfg file that we include in our distribution, which a webstart user isn't going to have access to being that it has to be packed inside a jar.
You know, it'd be nice if webstart had some facility for specifying application created files that should be removed along with the app itself on uninstall. Or some kind of hooks into the uninstall process for specifying custom operations.Paul
I really wouldn't worry about putting crap in the user's home directory. If they're uninstalling ... then you probably haven't impressed them anyway and you're not losing a customer.Cas
A JNLP client should track the amount of storage that a given application uses. A PersistenceService implementation provides methods to get the current storage usage and limits and to request more storage. Storage is allocated on a per file basis, but a JNLP Client will typically grant or deny the request based on the total storage is use by an application.