• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

HTML and RMI

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic