Re: applet to applet communication, rmi
Gregg Wonderly <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Eduardo Fernandez Oliver wrote: > I am implementing an application where two clients ( applets running in > different hosts) communicate with each other. Is it possible? > I am using JINI to transfer the Stub from one of the clients > > Can anybody tell me a way to do this? The Applet security model says that an applet can only use network resources to and from the server that the applet came from. So, your applet will either need to be signed to make arbitrary connections, or it will need a proxying service at the server that the applet came from. I'd suggest that you make it into a java web start application (which still has applet security model restrictions), or a full blown java application which can connect arbitrarily based on the security policy that the JVM is configured with. Gregg Wonderly =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html