Browse Prior Art Database

Inter-applet communication using Java servlet

IP.com Disclosure Number: IPCOM000014562D
Original Publication Date: 2001-Sep-01
Included in the Prior Art Database: 2003-Jun-19
Document File: 2 page(s) / 42K

Publishing Venue

IBM

Abstract

Disclosed is a method to allow applets to communicate with each other. The current JDK(Java* Development Kit) only supports inter-applet communications when applets are run on the same window of a browser. This method extends the inter-applet communications to the following environments: Applets running on the same page of a browser but separated by the HTML frame. Applets running on the same machine but on different pages of a browser. Applets running on the same machine but on different browsers. Applets running on different machines. The method is constructed in three part as follows: 1) Servlet

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 82% of the total text.

Page 1 of 2

Inter-applet communication using Java servlet

Disclosed is a method to allow applets to communicate with each other. The current JDK(Java* Development Kit) only supports inter-applet communications when applets are run on the same window of a browser. This method extends the inter-applet communications to the following environments:

Applets running on the same page of a browser but separated by the HTML frame. Applets running on the same machine but on different pages of a browser. Applets running on the same machine but on different browsers. Applets running on different machines.

The method is constructed in three part as follows:

1) Servlet

A servlet running on a Web Server or Application Server implements the following interface:

Create a data object queue by a queue name and return a queue identifier.

Query a data queue by a queue name and return a queue identifier.

Send data objects to a data queue identified by provided queue identifier.

Receive data objects from a data queue identified by a queue identifier.

Remove a data queue identified by a queue name

2)Data queue repository

The data queue repository is implemented as a data object which holds all the data queues. The servlet receives commands described in the above interface from the applets on the remote side. It then performs the appropriate function to complete the command. For example, sending data objects to a data queue requires the servlet to receive data objects from an remote applet and put t...