Browse Prior Art Database

Sharing Information among Software Components by using Instruction Stream

IP.com Disclosure Number: IPCOM000114725D
Original Publication Date: 1995-Jan-01
Included in the Prior Art Database: 2005-Mar-29
Document File: 4 page(s) / 82K

Publishing Venue

IBM

Related People

Yasuda, K: AUTHOR

Abstract

Disclosed is a method of sharing information among software components. Using this method, information extracted from its sources by a software component (information retriever) is easily utilized by other software components (information consumers).

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

Sharing Information among Software Components by using Instruction
Stream

      Disclosed is a method of sharing information among software
components.  Using this method, information extracted from its
sources by a software component (information retriever) is easily
utilized by other software components (information consumers).

      In this method, information is passed from its retriever to its
consumer in the form of a stream of instructions each of which
conveys a
unit of information and corresponds to a procedure in the consumer.

      As for the information retriever, outputting the information is
generating a stream of instructions, and it is an equal job to
calling corresponding procedures of the information consumer one by
one.  In the consumer component, each procedure corresponding to an
instruction processes the information conveyed by the instruction
properly.  Fig. 1 illustrates the mechanism simply.

      When it is necessary to store the information in a file
temporarily, adding only two components to the system is sufficient:
a simple consumer component that contains the procedures each of
which receives a corresponding instruction and writes it to a file
(File Writer), and a simple retriever component which reads the file
and translates its content to a sequence of procedure calls (File
Reader).  By using these two components, the original retriever and
the consumer components don't have to be changed.  Fig. 2 illustrates
the mech...