File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applets  over RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets  over RMI" Watch "Applets  over RMI" New topic

Applets over RMI

pradeep s kumar

Joined: Aug 12, 2003
Posts: 1
Are there any other concerned issues other than security when writing APPLETS over RMI
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Can't decide where this should go. hmmmm . . . RMI or Applets . . . Let's try the Applets forum and see if they can help you out.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

Applets was a good choice, Cindy! Yes, there's sandbox issues involved in doing RMI from an applet. I don't recall anything specifically RMI-related, and I can't think of anything specifically dangerous about RMI compared to other network communications, but I'd recopmmend checking Sun's docs. I've no doubt that the standard rule that no unsigned applet can communicate with any other server than the one it was downloaded from applies, though.
A more serious problem is going to be running that applet anywhere off the LAN segment that the server itself resides on, since firewalls commonly block the tcp/ip ports used by RMI and JNDI.
Which is why RMI-style action using HTTP tunneling and SOAP is so popular. HTTP is almost always allowed.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Applets over RMI
It's not a secret anymore!