Patent
1996-01-16
1998-09-01
Oberley, Alvin E.
G06F 940
Patent
active
058023674
ABSTRACT:
A method and system for transparently executing code using a surrogate process is provided. In a preferred embodiment, the underlying system provides a surrogate program that can execute server dynamic-link libraries. When a client program wishes to access an object of a sharable class or a class factory object, the client program requests a service control manager to execute the server code for the sharable class. In response, the service control manager determines from a registration database whether the server code is available in the form of a server executable or a server dynamic-link library. If the server code is implemented as a server dynamic-link library, the service control manager either returns the location of the server dynamic-link library to the client program to be run in the execution context of the client program or the service control manager launches the surrogate program and requests it to load the server dynamic-link library, thereby isolating the server dynamic-link library from the client program execution context. When the surrogate process is launched, the surrogate process loads the requested server dynamic-link library and instantiates class factory objects corresponding to the sharable classes implemented by the server dynamic-link library. In one embodiment, multiple server dynamic-link libraries can be loaded within the same surrogate process. According to this embodiment, when the client program requests access to an object of a sharable class or to a class factory object, the service control manager determines whether the server code that implements the object can be loaded in a surrogate process that is already executing or whether a new surrogate process needs to be launched. Once the server dynamic-link library is loaded in the surrogate process and a reference to a server object returned to the client program, the client program can communicate with the server code in the same manner as if the server code had been loaded into the execution context of the client program.
REFERENCES:
patent: 5253297 (1993-10-01), Press
patent: 5606493 (1997-02-01), Duscher et al.
patent: 5625823 (1997-04-01), Debenedictis et al.
Finnegan, James, "Building Window NT-Based Client/Server Applications Using Remote Procedure Calls", Microsoft Systems Journal, pp. (25), Oct. 1994.
Goodman, Kevin J., "Windows NT: A Developer's Guide", M&T Books, pp. (3), Chapter 7, 1994.
Prosise, Jeff, "Integrate Your Applications with he Windows 95 User Interface Using Shell Extensions", Microsoft Systems Journal, pp. (56), Mar. 1995.
"Microsoft Win32 Preliminary SDK for Windows NT Programmer's Guide," Microsoft Corporation , pp. 1-32, 1992.
Custer, Helen "Inside Windows NT," Microsoft Press, pp. 315-320, 1993.
Brown Nathaniel S.
Held Andrew F.
Jung Edward K.
Leach Paul
Misra Pradyumna K.
Courtenay III St. John
Microsoft Corporation
Oberley Alvin E.
LandOfFree
Method and system for transparently executing code using a surro does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Method and system for transparently executing code using a surro, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and system for transparently executing code using a surro will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-282103