Dynamic class loading
First Claim
1. Method for dynamic class loading in an object oriented computing environment, in which a first computer program unit is executable by a first data processing unit and is remotely invokable by a second computer program unit that is executable by a second data processing unit, where the first program unit is able to return a software object to the second program unit after being remotely invoked, and where a class of the returned object is not known to the second program unit, characterized in that the method comprises the following steps of a) a publisher of a Java Message System publishing a class file containing a class description of the returned object, and b) the second program unit acting as a subscriber of the Java Message System and receiving the class file.
1 Assignment
0 Petitions
Accused Products
Abstract
In the inventive method for dynamic class loading, a first computer program unit is remotely invokable by a second program unit, and the first program unit is able to return a software object to the second program unit after being remotely invoked. For the case that a class of the returned object is not known to the second program unit, the inventive method comprises the steps of
a) a publisher of a Java Message System publishing a class file containing a class description of the returned object, and
b) the second program unit acting as a subscriber of the Java Message System and receiving the class file.
This makes it possible that the second program unit receives the class file without having to know from where the class file originates. Furthermore, since the method uses the Java Message System, no internet protocol (IP) addresses and internet communication means are required for communicating with the second program unit.
-
Citations
10 Claims
-
1. Method for dynamic class loading in an object oriented computing environment, in which a first computer program unit is executable by a first data processing unit and is remotely invokable by a second computer program unit that is executable by a second data processing unit, where the first program unit is able to return a software object to the second program unit after being remotely invoked, and where a class of the returned object is not known to the second program unit, characterized in that the method comprises the following steps of
a) a publisher of a Java Message System publishing a class file containing a class description of the returned object, and b) the second program unit acting as a subscriber of the Java Message System and receiving the class file.
-
8. Method for dynamic class loading in an object oriented computing environment, in which a first computer program unit is executable by a first data processing unit and is remotely invokable by a second computer program unit that is executable by a second data processing unit, where the first program unit is able to return a software object to the second program unit after being remotely invoked, and where a class of the returned object is not known to the second program unit, characterized in that the method comprises the following steps being performed by the second program unit:
-
a) subscribing to a Java Message System, b) receiving a class file containing a class description of the returned object, c) deserializing the class file and storing a representation of the corresponding class.
-
-
9. Computer program for dynamic class loading which is executable on a data processing unit and comprises a class loader program unit for deserializing and loading class files that describe a software object and which computer program is able to remotely invoke another program unit and to receive a returned software object from the other program unit, characterized in that the computer program, when being executed,
a) subscribes to at least one topic of a Java Message System, b) is able to receive a class file through the Java Message System, c) upon receiving the class file through the Java Message System, deserializes it and stores a representation of the corresponding class.
Specification