aspose file tools
The moose likes Distributed Java and the fly likes RMI  in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI  in applet" Watch "RMI  in applet" New topic

RMI in applet

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
I am told by my Project Manager that rmi should not be used for applet-servlet communications at it("rmi for applet-servlet communications ") is not supported by some versions of java. How true is it. Plz help

Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Greg Charles

Joined: Oct 01, 2001
Posts: 2867

One thing I can think of is that RMI in an applet is usually restricted to connecting back to the server that served the web page, not to any other server. Other than that, I'm not sure what you mean by Applet-Servlet communication. Servlets process requests, usually HTTP requests. An RMI client needs to talk to an RMI server, not a Servlet. This server may be running in the same JVM that runs Servlets, but it would at least be in a different thread from the Servlet runner.
Consider Paul's rocket mass heater.
subject: RMI in applet