Method and apparatus for subclassing system object model...

Electrical computers and digital processing systems: multicomput – Computer-to-computer data routing – Least weight routing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S116000

Reexamination Certificate

active

06405263

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to data processing systems, and more particularly, to subclassing objects across dynamic language boundaries using a System Object Model (SOM).
BACKGROUND OF THE INVENTION
After years of debate and discussion, object-oriented programming languages (or OOP) are becoming mainstream programming technologies. The OOP languages offer improved programmer productivity, reusable code and easier maintenance. The IBM System Object Model (SOM) product, which is manufactured by the IBM Corporation, is a language neutral object-oriented object model that can be used to create user toolkits (System Object Model is a trademark of the IBM Corporation). An important requirement for such a user toolkit is the ability to subclass objects included in the toolkit. An object, as used in this invention, has the properties of encapsulation, inheritance, and polymorphism. Encapsulation refers to the hiding of an object's implementation details. Inheritance refers to a technique of specifying the shape and behavior of a class of objects, called a derived class, or a subclass, as incremental differences from another class, called a parent class or superclass. Polymorphism refers to the ability to hide different implementations behind a common interface, simplifying the communications among the objects. The subclassing of objects provides a mechanism to create completely new application objects that can cooperate with the objects in the toolkit. This allows the objects to be used in an application builder that can be offered with the toolkit. Early object-oriented object models allowed subclassing only for static languages such as C/C++. However, recent efforts have concentrated on providing subclassing for dynamic object-oriented languages such as Smalltalk, REXX and Common LISP (CLOS).
One method discloses: a procedure for permitting classes written in a dynamic language to be exported to SOM. The procedure consists of writing a class definition file that describes the interfaces of the dynamic language methods. The class definition file contains all the prototypes for the dynamic language method. Next, a class implementation file is created containing method bodies, which are special stubs that pass control to a dynamic language method dispatcher. A class object is passed as a parameter to the dynamic language method dispatcher which starts method lookup for the class. A SOM compiler processes the class definition file and creates an include file. Instances and send messages are created using the class object. Subclassing is accomplished using the include files generated by the SOM compiler.
Another procedure discloses a dynamic language that creates a SOM proxy object to represent real SOM objects. The proxy object has an instance variable which points to the real SOM object, and is used by the dynamic language to send messages to the SOM objects. The concept relies upon the implementation of a generic method by the dynamic language which allows “unknown” methods, that are called when the object receives a message that is not recognized by the dynamic language. Since SOM messages are foreign to the dynamic language, the “unknown” methods enables redirection of messages to the SOM objects.
Therefore, it is desirable to have a mechanism that provides subclassing of objects in a System Object Model toolkit for an object-oriented dynamic language.
SUMMARY OF THE INVENTION
This invention relates to a method and apparatus for subclassing System Object Model (SOM) objects for a dynamic object-oriented language. Subclassing permits a user to change the default behavior of the objects using the dynamic language. A proxy class object is created using the dynamic language that points to the SOM class object. The proxy class object contains a stub method for each of the SOM classes. Activation of the stub method causes the corresponding SOM method to be invoked. Next, a dynamic language subclass is created. This is followed by the creation of a SOM class object using the SOM interface “somCreateDynamicClass”, which causes certain SOM methods to be overridden by dynamic language redispatch stubs. The dynamic language causes the “somDispatch” interface to be overridden and replaced with its own dispatch procedures. The new dispatch procedure searches for a method in the dynamic language class object method table first, and if not found, redirects the message to the SOM environment.


REFERENCES:
patent: 4635208 (1987-01-01), Coleby et al.
patent: 4791550 (1988-12-01), Stevenson et al.
patent: 4821211 (1989-04-01), Torres
patent: 4821220 (1989-04-01), Duisberg
patent: 4853843 (1989-08-01), Ecklund
patent: 4885717 (1989-12-01), Beck et al.
patent: 4953080 (1990-08-01), Dysart et al.
patent: 4989132 (1991-01-01), Mellender et al.
patent: 5093914 (1992-03-01), Coplien et al.
patent: 5179703 (1993-01-01), Evans
patent: 5583983 (1996-12-01), Schmitter
patent: 5640550 (1997-06-01), Coker
Margaret Ellis & Bjourne Stroustrup, The Annotated C ++ Reference Manaual, pp. 166-168 195-197, 1990.*
IBM Technical Disclosure Bulletin, vol. 33, No. 9 Feb. 1991, Interactive Schema Diagram To Visually Represent Tables of Related Data and Meaningful Joins Between Tables.
A Device Management Framework For an Object-Oriented Operating System, Panagiotis Kougiouris, Dipl, University of Patras, 1989, Urbana, Illinois, 1991.
Considerations of Persistence and Security in Choices, an Object-Orieneted Operating System, Roy H. Campbell and Peter W. Madany, Mar. 1991, Department of Computer Science, Urbana, Illinois, p. 1-14.
View Specification and Manipulation For A Semantic Data Model, Mar. 15, 1991, Bogdan Czejdo and David W. Embley, pp. 585-612, Copyright 1991.
Extending Semantic Object Model: Towards More Unified View of Information Objects. Jun. 19, 1990, 1991 Butterworth-Heinemann Ltd.
A Reflexive Object-Oriented Logic Language for Distributed Computering, J. Malenfant Equipe mixte Rank-Xerox France—LITP, G. Lapalme, J. Vaucher, Nov. 1990, pp. 78-81.
IBM TDB, “Link Class Hierarchy Design”, Vol. 34, No. 9, Feb. 1992, pp. 166-167.
IBM TDB, Code Independent Message Framing Format, vol. 18, No. 1, Jun. 1975, pp. 211-212.
IBM TDB, “Large Character Strings For Segmented Memory Architectures”, vol. 34, No. 4A, Sep. 1991, pp. 248-250.
IBM TDB, “Smalltalk/V Presentation Manager Officevision/2 Release 2 Developer's Tookit”, Vol. 34, No. 6, Nov. 1991, pp. 397-400.
IBM TDB, “Method To Intercept Dynamically Loaded Subroutine Calls On The IBM RISC System/6000 AIX Operating System”, vol. 34, No. 10A, Mar. 1992, pp. 382-387.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for subclassing system object model... 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 apparatus for subclassing system object model..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for subclassing system object model... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2951717

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.