EP0817031A2

Using a distributed object system to find and download java-based applications

Abstract

A client enabled to load and run Java applets in a distributed object computing system retrieves needed Java classes in a location-independent manner from various class servers in the system. Initially, the client queries a naming service of the distributed object computing system to determine the class server that contains the base class needed. A connection through an object request broker is made from the client to the class server. The client then requests the code for the base class from the class server by using the object request broker. The class server retrieves the code by either reading a file from its own local file set, or if the code is not local, queries the naming service for another class server that has access to the code for the base class. This process of finding a class server and determining if the code is local may be recursive as classes may be moved or renamed. The class server then returns this code to the client by way of the object request broker. The client determines whether the returned code contains any unresolved classes, i.e., classes that are used but not yet defined or loaded. The client requests code for any unresolved class in a manner as above for the base class. The client incorporates Java software to run the applets and ORB binding software to enable the software to make calls to the object request broker. A network class loader enables the client to load and resolve classes over a distributed object system.

EP0817031A2, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Projected expiry passed 12 June 2017, 9.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

18 claims: 9 independent, 9 dependent

  1. 1
    In a distributed object computing system having clients, applet servers and an object request broker arranged to facilitate communication between said clients and said applet servers, a computer-implemented method of acquiring applet execution code within said distributed object computing system, compnsing the steps of:querying said object request broker by a client to determine a first applet server to obtain said applet execution code;requesting a portion of said applet execution code from said determined first applet server with said object request broker;retrieving at least said portion of said applet execution code with said first applet server;and returning said portion of said applet execution code retrieved by said first applet server to said client with said object request broker.
  2. 3
    A method as recited in any of claims 1-2 wherein said step of querying said object request broker includes querying a naming service of said distributed object computing system.
  3. 7
    A method as recited in any of claims 1-6 wherein said portion of said applet execution code corresponds to a Java class.
  4. 8
    A method as recited in any of claims 1-7 further comprising the steps of:determining whether said portion of said applet execution code returned to said client by said applet server contains any unresolved references to said applet execution code;and requesting additional applet execution code corresponding to said unresolved reference from said first applet server through said object request broker when it is determined that said portion of said applet execution code contains an unresolved reference.
  5. 9
    In a distributed object computing system having clients, applet servers and an object request broker arranged to facilitate communication between said clients and said applet servers, a computer-implemented method of acquiring applet execution code within said distributed object computing system comprising the steps of:querying a naming service of said distributed object computing system by a client to determine a first applet server to obtain said applet execution code;requesting a portion of said applet execution code from said determined first applet server with said object request broker;retrieving at least said portion of said applet execution code with said first applet server;and returning said portion of said applet execution code retrieved by said first applet server to said client with said object request broker.
  6. 13
    A method as recited in any of claims 9-12 wherein said portion of said applet execution code corresponds to a Java class.
  7. 14
    In a distributed object computing system having clients, applet servers and an object request broker arranged to facilitate communication between said clients and said applet servers, a computer-implemented method of acquiring applet execution code within said distributed object computing system comprising the steps of:querying said object request broker by a client to determine a first applet server to obtain said applet execution code;requesting a portion of said applet execution code from said determined first applet server with said object request broker;retrieving at least said portion of said applet execution code with said first applet server;and returning said portion of said applet execution code retrieved by said first applet server to said client with said object request broker;determining whether said portion of said applet execution code returned to said client by said applet server contains any unresolved references to said applet execution code;and requesting additional applet execution code corresponding to said unresolved reference from said first applet server through said object request broker when it is determined that said portion of said applet execution code contains an unresolved reference.
  8. 15
    A computer apparatus for use in acquiring applet execution code within a distributed object computing system having clients and applet servers, said computer apparatus comprising:a processing unit;an input/output device coupled to said processing unit;a storage device in communication with said processing unit;an object request broker arranged to facilitate communication between said clients and said applet servers, said object request broker being further arranged to receive a request for applet execution code from a client enabled to receive said applet execution code;and a first applet server being arranged to retrieve said applet execution code in response to said request from said client and to return said applet execution code to said client.
  9. 18
    A computer apparatus as recited in any of claims 15-17 further comprising:a mass storage unit in communication with said central processing unit, said mass storage unit including files containing said applet execution code. wherein said first applet server is further arranged to retrieve said applet execution code from said files.