Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q4061 How can an applet which retrieves data through a http connection from a textfile, load the real one instead of the cached copy?

You are here: irt.org | FAQ | Java | Q4061 [ previous next ]

A simple applet once loaded looses the communication with the server from which the class file is being downloaded. When you applet needs to repeatedly retrieve the information from the server side text file then you need to adopt the client/server technology.

This you can achieved using:

  1. Sockets
  2. RMI
  3. Servlets
  4. CORBA

This just means that the program on the server side from where the class (the applet is loaded) has to serve the information needed by the applet from time to time or as requested.

©2018 Martin Webb