Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Use of System Object-Model Objects from Dynamic Languages

IP.com Disclosure Number: IPCOM000105603D
Original Publication Date: 1993-Aug-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 2 page(s) / 86K

Publishing Venue

IBM

Related People

Conner, MH: AUTHOR [+3]

Abstract

Disclosed is a System Object Model (SOM) providing a language neutral object model that can be used to create user toolkits. One important requirement for such a user toolkit is to provide the ability to send messages to the objects provided by the toolkit. This type of functionality is essential if the user wants to change the default behavior of the obejcts. This type of technology can be used in an application builder that can be offered with these toolkits. A combination of user toolkit, an application builder and a dynamic language can be used to offer obejcts that can be easily tailored according to the requirements of the application

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Use of System Object-Model Objects from Dynamic Languages

      Disclosed is a System Object Model (SOM) providing a language
neutral object model that can be used to create user toolkits.  One
important requirement for such a user toolkit is to provide the
ability to send messages to the objects provided by the toolkit.
This type of functionality is essential if the user wants to change
the default behavior of the obejcts.  This type of technology can be
used in an application builder that can be offered with these
toolkits.  A combination of user toolkit, an application builder and
a dynamic language can be used to offer obejcts that can be easily
tailored according to the requirements of the application

      System Object Model, provides a language neutral object model
that can be used to create user toolkits.  One important requirement
for such a user toolkit is to provide the ability to send messages to
the objects included in the toolkit.  A dynamic language can be used
for this purpose.  The algorithm described below implemented in two
dynamic languages OREXX, Object Oriented REXX and SOMTL, SOM Test
Language.  Both of these dynamic languages are internal IBM tools.
However the solutions that are found are language independent and the
same ideas can be used to integrate SOM with other dynamic languages
like Smalltalk and CLOS(Common Lisp).

SOM objects can be provided to a dynamic language environment in at
least three ways:

1.  Dynamic language gets the address of a SOM object through an
    external programming interfaces to be used by the user toolkits.
    For example they have interfaces that can be called to interpret
    a piece of code with corresponding parameters.

2.  Dynamic language has to create a new SOM object.  SOM provides
    application programming interfaces that can be used by the
    dynamic languages to create new SOM objects.

3.  Dynamic language gets a SOM object handle through a return value
    or output parameter of a SOM method call.

Dynamic language will use the following algorithm to send messages to
the SOM objects:

o   Dynamic language will create a SOM proxy object to represent real
    SOM object.  This proxy object is an object that is consistent
    with the object model of the dynamic language.  This SOM proxy
    object has an instance variable which points to the real SOM
    object and will be used by the dynamic language to send messages
    to the SOM objects.

o  ...