aspose file tools*
The moose likes Applets and the fly likes How does Applets communicate with server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "How does Applets communicate with server?" Watch "How does Applets communicate with server?" New topic
Author

How does Applets communicate with server?

Tejas Jain
Ranch Hand

Joined: Mar 04, 2008
Posts: 119
What protocol it use? Can I use RMI or socket within applet?


"Knowing is not enough, you must apply... Willing is not enough, you must do."
--Bruce Lee
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  72
Applets can use any communication channel any Java code can use - HTTP, sockets, web services, JMS, email, RMI, ...

Of course, an applet are only allowed to connect to the host where they were served from, so if they need to access some other server then they'll need to be signed, or the local security policy altered. See HowCanAnAppletReadFilesOnTheLocalFileSystem for more details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does Applets communicate with server?