File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does Applets communicate with server?

 
Tejas Jain
Ranch Hand
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What protocol it use? Can I use RMI or socket within applet?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic