this may seem a stupid question, but I'm just trying to get a grip on Java Web Start ... As I've read so far, without further notice (in this case the existence of a valid certificate) a Web Start Application cannot access files except on the host the app was downloaded from.
Is it possible to, say, share information stored in files (via serialization or using XMLEncoder) on the remote host between multiple application instances running on different machines?
Any suggestions would be a great help!
Thanks in advance -
The man who sets out to carry a cat by its tail learns something that will always be useful and which never will grow dim or doubtful.
-- Mark Twain
Sure... but probably your Web Start application is downloaded from an HTTP server. So you would have to have a way for your application to update files on that server. Which isn't strictly a Web Start question, you'd have the same issue if it was applets you were talking about, or plain old Java applications which you distributed.
Joined: May 08, 2008
So this is all about plain old sandbox behavoiour? No magic handle back into the server the application came from? I'd have to access any shared file resources on the remote host via ftp connection. But, on the other hand, all I want to do is write a multi-user enabled application which I planned to distribute by means of the Web Start technology. So it might not be necessary to access any shared resources on the remote host at all, as the application will - most likely - run on one single machine in the end ... But (simply a matter of sheer curiosity) would it be possible to do so?