Method of constructing an object remotely across a computer network
First Claim
1. A method for remote construction of a Java object and communicating therewith, comprising:
- identifying a set of original methods of an original Java class located in a first host address and port number for which to perform remote construction;
generating a virtual Java class of the original Java class in the first host address and port number, the virtual Java class having the set of methods and additionally a set of enhanced interface methods for interfacing with a remote object instance of the original Java class;
creating a local virtual Java object from the virtual Java class in the first host address and port number; and
creating a remote Java object from the original Java class and the local virtual Java object in a second host address and port number.
8 Assignments
0 Petitions
Accused Products
Abstract
A method for remote constructing a Java object (114) and communicating therewith, includes the steps of first identifying a set of original methods of a Java class located in a first host address and port number (102), and generating a virtual Java class of the Java class having the set of methods and additionally a set of enhanced interface methods in the first host address and port number (102). Then a local virtual Java object (100) is created from the virtual Java class in the first host address and port number (102), and a remote Java object (114) is created from the virtual Java class by specifying the address of a second host address and port number (110) in which the created object is to reside. This method is also applicable to the remote creation of an agent, where an agent is a specialized object with mobility characteristics.
19 Citations
15 Claims
-
1. A method for remote construction of a Java object and communicating therewith, comprising:
-
identifying a set of original methods of an original Java class located in a first host address and port number for which to perform remote construction;
generating a virtual Java class of the original Java class in the first host address and port number, the virtual Java class having the set of methods and additionally a set of enhanced interface methods for interfacing with a remote object instance of the original Java class;
creating a local virtual Java object from the virtual Java class in the first host address and port number; and
creating a remote Java object from the original Java class and the local virtual Java object in a second host address and port number. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
sending a message to the remote Java via the local virtual object.
-
-
8. The method, as set forth in claim 1, wherein the remote Java object creating step includes constructing a reference to the address of the second host address and port number associated with the remote Java object.
-
9. The method, as set forth in claim 8, wherein the remote Java object creating step includes constructing a messenger for delivering an initializing message from the first host address and port number to the second host address and port number, where the initializing message includes construction arguments.
-
10. The method, as set forth in claim 9, wherein the remote Java object creating step includes:
-
conducting an encounter between an invoker of the original Java class and the messenger;
providing the initializing message containing construction arguments to the invoker; and
creating the remote object at the second host address and port number by the invoker.
-
-
11. The method, as set forth in claim 10, wherein the remote Java object creating step includes locating an invoker of the original Java class at the second host address and port number.
-
12. The method, as set forth in claim 10, wherein the remote Java object creating step includes constructing an invoker of the original Java class at the second host address and port number.
-
13. The method, as set forth in claim 12, wherein the invoker constructing step includes remote loading of a class closure of the original Java class to the second host address and port number.
-
14. The method, as set forth in claim 8, wherein the remote Java object creating step includes constructing a reply messenger for delivering a return value or thrown exception message from the second host address and port number to the first host address and port number.
-
15. The method, as set forth in claim 14, wherein the remote Java object creating step includes conveying the update data to the reference to update its reference to the remote Java object.
Specification