Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access shared files on remote host after download of Application

 
Steffen Schmitt
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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 -

Steffen
 
Paul Clapham
Sheriff
Pie
Posts: 20771
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Steffen Schmitt
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Regards,

Steffen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic