摘要 |
<p>In one embodiment, a Java applet embedded in document A (1), applet A (3), is executed within a Java virtual machine by a browser application hosted on the user computer (4). Applet A (3) authenticates the user and communicates with the server application on server A (2) to verify the user's identity. At any time thereafter, whilst applet A (3) is still running, the user can browse the Internet and visit a dynamically generated web-page B (document B (5)). An applet B (6) is embedded in document B (5), and executed by the browser application. Applet B (6) is hosted on a server different from server A (2), namely server B (7). Applet B (6) initiates a communication process with applet A (3) (which is running on the same user computer (4)), and identifies itself. If the user gives authorization, applet B (6) can invoke the functionality provided by applet A (3), and use applet A (3) as a gate to communicate with the application server on server A (2). Applet B (6) can retrieve and store data from/to a remote database controlled by the server application. Applet B (6) can invoke any service on server A (2), through applet A (3).</p> |