Two Laptop Bag*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI  in applet" Watch "RMI  in applet" New topic
Author

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
Sheriff

Joined: Oct 01, 2001
Posts: 2850
    
  11

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI in applet