File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes HTML and RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "HTML and RMI" Watch "HTML and RMI" New topic
Author

HTML and RMI

Sunita Vontel
Ranch Hand

Joined: Aug 28, 2000
Posts: 72
I have a chat program in RMI whose front end is applet. It runs fine with appletviewer. But when I open the applet in Internet Explorer or Netscape Navigator it does not function correctly. Can anybody please explain me why.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have written a chat application and am writing an Instant messenger using RMI, and through out I have realised that applets and RMI are not really easy to work with.
Browsers have their own securities. The ports they listen to might always give security exceptions when using RMI. Appletviewer security is in compliance with RMI.
In fact, creating policy file using the policytool is not always successful.
I stick to frames and RMI now..
Arunagiri, Shanmugham
Ranch Hand

Joined: Jan 23, 2001
Posts: 46
Hi,
Only way to use RMI chat programs on Browsers like IE and Netscape is to clear the security, by editted the java.policy file with policy tool and give write permission.
Arun
SCJP

Sun Certified Programmer for Java2 Platform
prashant arole
Greenhorn

Joined: May 16, 2001
Posts: 2
Dear Friends,
I have also the same problem. I am calling the Croba method through the applet class. I can able to RUN this applet thr' the applet viewer, but not able to RUN it thr' the IE/Netscape. Can you pls tell me what setting I required to do? Also tell me about that Java.policy file..
Hoping ur reply & thanks in advance..
Prashant
Originally posted by Arunagiri, Shanmugham:
Hi,
Only way to use RMI chat programs on Browsers like IE and Netscape is to clear the security, by editted the java.policy file with policy tool and give write permission.
Arun
SCJP

 
 
subject: HTML and RMI
 
Threads others viewed
RMI in applet
RMI Applet for Internet Explorer
Applet with RMI ,how to place into Tomcat?
rmi http tunnel
How does Applets communicate with server?
MyEclipse, The Clear Choice