This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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?
 
jQuery in Action, 3rd edition