This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 16476

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Applets over RMI