• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can Applet thorugh RMI invoke files on remote m/c?How??

 
vaibhav punekar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wish to have applet as UI to the client.When client clicks some button can he access the image files on the server through RMI calls?I m using I/O streams to read and write the image from the remote server.(BufferedInputStream and BufferedOutputStream).
Can I do this ?As far as I know it will raise SecurityException.
How can I use SecurityManager class for that?
Thanks.
 
Tanveer Rameez
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I am not sure, but I don't think the present browsers contain the java.rmi package. I once got java.rmi not found in my java console of Internet Explorer. If it contains this package the applet should be able to communicate with other object thru RMI provided the objects are in the same server as the applets.Hope I am right.
bye
Tanveer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic