JPH06301526A - Program development supporting system for client/ server model - Google Patents

Program development supporting system for client/ server model

Info

Publication number
JPH06301526A
JPH06301526A JP5107183A JP10718393A JPH06301526A JP H06301526 A JPH06301526 A JP H06301526A JP 5107183 A JP5107183 A JP 5107183A JP 10718393 A JP10718393 A JP 10718393A JP H06301526 A JPH06301526 A JP H06301526A
Authority
JP
Japan
Prior art keywords
client
server
definition
interface
server model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5107183A
Other languages
Japanese (ja)
Inventor
Hitoshi Inai
均 井内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP5107183A priority Critical patent/JPH06301526A/en
Publication of JPH06301526A publication Critical patent/JPH06301526A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To dispense with being aware of description language by generating an interface definition by IDL, and generating a client stub and a server stub from this definition. CONSTITUTION:By a client/server model definition generating means 1, information required for defining an interface is designated, and a client/server model definition is generated. By an interface definition generating means 3, the interface definition by IDL is generated from the information required for defining an interface, in this client/server model definition. By an interface definition language processor 5, a client stub and a server stub are generated from this interface definition. It becomes unnecessary that a user generates the interface definition discribed by IDL. In such a way, at the time of generating the interface definition described by the interface definition language IDL, it is possible to dispense with being aware of description language of a program of a client/ server model.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、リモートプロシージャ
コールRPCを利用したクライアント/サーバモデルの
プログラム開発支援方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client / server model program development support system using remote procedure call RPC.

【0002】[0002]

【従来の技術】従来のCASE(コンピュータ支援ソフ
トウェアエンジニアリング)システムでは、専門開発ツ
ールであるアプリケーションツールのCASEシステム
への統合化が行われている。その例として、特開平3−
34018号、コンピュータプログラムのカプセル化方
法及びその装置を参照することができる。
2. Description of the Related Art In a conventional CASE (Computer Aided Software Engineering) system, application tools, which are specialized development tools, are integrated into the CASE system. As an example, JP-A-3-
No. 34018, Computer program encapsulation method and apparatus therefor.

【0003】図3は従来のコンピュータプログラムのカ
プセル化方法及びその装置におけるカプセル化システム
のブロック図であり、アプリケーションツールをCAS
Eシステムに統合するカプセル化プログラムは、入力を
アプリケーションツール42へ送り出力をアプリケーシ
ョンツール42から受けとる実行時間インタフェースプ
ログラム40を有している。インターフェースプログラ
ム40は、CASEシステムの標準ツールである、プロ
グラム編集ツール、構築ツール、デバッグツール等と同
じ様式でCASEシステムと通信が可能であって、ユー
ザインタフェース44を介してX−ウインドウシステム
34と通信を行い、メッセージインタフェース46を介
してメッセージサーバ36と通信を行い、システム信号
47を介してオペレーティングシステムと通信を行う。
FIG. 3 is a block diagram of a conventional computer program encapsulation method and an encapsulation system in the apparatus thereof.
The encapsulation program integrated into the E system has a runtime interface program 40 which receives input to the application tool 42 and receives output from the application tool 42. The interface program 40 can communicate with the CASE system in the same manner as a program editing tool, a construction tool, a debug tool, etc., which are standard tools of the CASE system, and communicate with the X-window system 34 via the user interface 44. Communication with the message server 36 via the message interface 46 and with the operating system via the system signal 47.

【0004】インタフェースプログラム40は、インタ
フエース記述言語IDLを利用して容易に発生させるこ
とができる。このインタフェース記述言語IDLによれ
ばユーザはアプリケーションツールや、他のツールとの
通信を規定しアプリケーションツールとのインタフェー
スを規定することができるものであり、インタフェース
記述言語IDLは特定のアプリケーションツールに特有
のインタフェース記述ファイルIDF48を開発するの
に利用することができる。ユーザはインタフェース記述
言語IDLを使用して、インタフェースプログラムによ
って行うべき機能を指定する。インタフェース記述言語
IDLはインタフェースプログラムにより利用される記
述ファイルを構成するC類似言語である。また、インタ
フェース記述言語IDLは、対象属性および対象事象を
作成する構文を規定し制御構文を備え、「属性、論理、
事象、整数、ロケーション、対象、ストリング」のよう
な簡単なデータ形式を備えている。
The interface program 40 can be easily generated using the interface description language IDL. According to this interface description language IDL, the user can specify the communication with the application tool and other tools to define the interface with the application tool, and the interface description language IDL is unique to the specific application tool. It can be used to develop the interface description file IDF48. The user uses the interface description language IDL to specify the function to be performed by the interface program. The interface description language IDL is a C-like language that constitutes a description file used by the interface program. Further, the interface description language IDL defines a syntax for creating a target attribute and a target event, and has a control syntax.
It has simple data formats such as "event, integer, location, object, string".

【0005】このようにして、まずユーザはインタフェ
ース記述ファイル48を作成する。インタフェース記述
ファイル48は、専門コンパイラ50によりコンパイル
されて、中間レベルコード(記号テーブル52、命令文
テーブル54)を作る。インタプリタ58がこれを評価
して対象テーブル60を作成し、事象ハンドラ62は入
力事象を受けとり出力をX−ウインドウシステム34を
通してユーザに供給する処理を行う。事象ハンドラ62
はメッセージサーバ36に対して送受されるメッセージ
事象を介して、CASEシステム内の他のツールとも通
信を行い、オペレーティングシステムからはシステム事
象がシステム信号の形で事象ハンドラ62に送られる。
アプリケーションツール42との通信はサブプロセス制
御器68を通して行い統合する。事象ハンドラ62はユ
ーザ事象、メッセージ事象、システム事象、アプリケー
ション事象に応答してインタプリタ58を呼び出し、対
象テーブル60に規定されている機能を実行する。
In this way, the user first creates the interface description file 48. The interface description file 48 is compiled by a specialized compiler 50 to create intermediate level code (symbol table 52, statement table 54). The interpreter 58 evaluates this and creates a target table 60, and the event handler 62 receives the input event and supplies the output to the user through the X-window system 34. Event handler 62
Communicates with other tools in the CASE system via message events sent to and from the message server 36, and system events are sent from the operating system to the event handler 62 in the form of system signals.
Communication with the application tool 42 is performed and integrated through the sub-process controller 68. The event handler 62 calls the interpreter 58 in response to a user event, a message event, a system event, or an application event, and executes the function defined in the target table 60.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、多数の
WS(ワークステーション)が回路網上に相互に接続さ
れている分散協働環境を、CASEシステムが支援する
ような形式による、従来のクライアント/サーバモデル
のプログラム開発支援方式は、ユーザがインタフェース
定義言語IDLで記述されたインタフェース定義を作成
し、それによってクライアントスタブあるいはサーバス
タブの生成が行われ、クライアント/サーバモデルのプ
ログラムから、APIコール等のリモートプロシージャ
コールRPCのライブラリを呼び出し、リモートプロシ
ージャコールRPCの初期処理が行われている。
However, the conventional client / server is of a form in which the CASE system supports a distributed collaborative environment in which a large number of WSs (workstations) are interconnected on a network. In the model program development support method, a user creates an interface definition described in the interface definition language IDL, and a client stub or a server stub is generated by the user, and a client / server model program remotely executes API calls and the like. The procedure call RPC library is called to perform the remote procedure call RPC initial processing.

【0007】従って、クライアント/サーバモデルのプ
ログラムは特定の記述言語(「記述言語A」とする)で
記述されることが前提であり、クライアント/サーバモ
デルのプログラムを特定の記述言語以外の記述言語
(「記述言語B」とする)で記述するような場合、ユー
ザはインタフェース定義言語IDLで記述されたインタ
フェース定義を作成するとき、あるいはクライアント/
サーバモデルのプログラムからリモートプロシージャコ
ールRPCのライブラリを呼び出すときに、「記述言語
A」と「記述言語B」の言語仕様の違いを意識する必要
があり、クライアント/サーバモデルのプログラムの生
産性が低下するという問題があった。
Therefore, it is premised that the client / server model program is written in a specific description language (referred to as "description language A"), and the client / server model program is described in a description language other than the specific description language. In the case of description in (description language B), the user creates the interface definition described in the interface definition language IDL, or
When calling a remote procedure call RPC library from a server model program, it is necessary to be aware of the difference in the language specifications of "description language A" and "description language B", and the productivity of the client / server model program decreases. There was a problem of doing.

【0008】本発明は上述の問題点に鑑みて、インタフ
ェース定義言語IDLで記述されたインタフェース定義
を作成するとき、あるいはクライアント/サーバモデル
のプログラムからリモートプロシージャコールRPCの
ライブラリを呼び出すとき、クライアント/サーバモデ
ルのプログラムの記述言語を意識する必要のないクライ
アント/サーバモデルのプログラム開発支援方式を提供
することを目的としている。
In view of the above problems, the present invention provides a client / server when an interface definition written in the interface definition language IDL is created, or when a remote procedure call RPC library is called from a client / server model program. It is an object of the present invention to provide a client / server model program development support method that does not require consideration of the description language of the model program.

【0009】[0009]

【課題を解決するための手段】本発明のクライアント/
サーバモデルのプログラム開発支援方式は、利用者がイ
ンタフェース定義に必要な情報を指定してクライアント
/サーバモデル定義を作成するクライアント/サーバモ
デル定義作成手段と、前記クライアント/サーバモデル
定義作成手段によって作成されるクライアント/サーバ
モデル定義と、前記クライアント/サーバモデル定義の
うち、インタフェース定義に必要な情報からインタフェ
ース定義言語IDLで記述されたインタフェース定義を
生成するインタフェース定義生成手段と、前記インター
フェース定義生成手段によって生成されるインターフェ
ース定義言語IDLで記述されたインタフェース定義
と、前記インタフェース定義からクライアントスタブお
よびサーバスタブを生成するインタフェース定義言語プ
ロセッサと、前記インタフェース定義言語プロセッサに
よって生成され、出力パラメータのデータ変換およびプ
ロセス間通信を用いたサーバスタブとの通信を行うクラ
イアントスタブと、前記インタフェース定義言語プロセ
ッサによって生成され、入力パラメータのデータ変換お
よびプロセス間通信を用いたクライアントスタブとの通
信を行うサーバスタブを有している。
Clients of the present invention /
The server model program development support method is created by a client / server model definition creating means for creating a client / server model definition by a user by specifying information necessary for an interface definition, and the client / server model definition creating means. A client / server model definition, and an interface definition generating means for generating an interface definition described in the interface definition language IDL from the information necessary for the interface definition of the client / server model definition; and the interface definition generating means. An interface definition language described in IDL, an interface definition language processor that generates a client stub and a server stub from the interface definition, and Interface definition language processor, and a client stub that performs output parameter data conversion and communication with the server stub using interprocess communication; and an interface definition language processor that generates input parameter data conversion and interprocess communication. It has a server stub that communicates with the client stub used.

【0010】また、利用者がリモートプロシージャコー
ルRPCの初期処理を行うために必要な情報を指定し
て、クライアント/サーバモデル定義を作成するクライ
アント/サーバモデル定義作成手段と、前記クライアン
ト/サーバモデル定義作成手段によって作成されるクラ
イアント/サーバモデル定義と、前記クライアント/サ
ーバモデル定義のうち、リモートプロシージャコールR
PCの初期処理を行うために必要な情報からクライアン
ト初期プログラムを生成するクライアント/初期プログ
ラム生成手段と、前記クライアント初期プログラム生成
手段によって生成され、リモートプロシージャーコール
RPCのライブラリを呼び出してリモートプロシージャ
コールRPCの初期処理を行うクライアント初期プログ
ラムと、前記クライアント/サーバモデル定義のうち、
リモートプロシージャコールRPCの初期処理を行うた
めに必要な情報からサーバ初期プログラムを生成するサ
ーバ初期プログラム生成手段と、前記サーバ初期プログ
ラム生成手段によって生成され、リモートプロシージャ
コールRPCのライブラリを呼び出してリモートプロシ
ージャコールRPCの初期処理を行うサーバ初期プログ
ラムを有している。
Further, a client / server model definition creating means for creating a client / server model definition by designating information necessary for a user to perform remote procedure call RPC initial processing, and the client / server model definition. The client / server model definition created by the creating means, and the remote procedure call R of the client / server model definition.
A client / initial program generating means for generating a client initial program from the information necessary for performing the initial processing of the PC, and a remote procedure call RPC library generated by the client initial program generating means to call the remote procedure call RPC. Of the client initial program that performs initial processing and the client / server model definition,
Remote procedure call A server initial program generating means for generating a server initial program from information necessary for performing an initial process of RPC, and a remote procedure call by calling a remote procedure call RPC library generated by the server initial program generating means. It has a server initial program for initializing the RPC.

【0011】[0011]

【作用】上記構成によれば、クライアント/サーバモデ
ル定義作成手段によって、利用者がインタフェース定義
に必要な情報を指定しクライアント/サーバモデル定義
を作成する。インタフェース定義作成手段により、該ク
ライアント/サーバモデル定義のうちのインタフェース
定義に必要な情報から、インタフェース定義言語IDL
で記述されたインタフェース定義を生成し、そのインタ
フェース定義からインタフェース定義言語プロセッサに
より、クライアントスタブおよびサーバスタブを生成す
る。
According to the above structure, the client / server model definition creating means allows the user to specify the information necessary for the interface definition and create the client / server model definition. An interface definition language IDL is created by the interface definition creating means from the information necessary for the interface definition of the client / server model definition.
The interface definition described by is generated, and the client definition stub and the server stub are generated from the interface definition by the interface definition language processor.

【0012】あるいは、クライアント/サーバモデル定
義作成手段により、利用者はリモートプロシージャコー
ルRPCの初期処理を行うために必要な情報を指定しク
ライアント/サーバモデル定義を作成する。クライアン
ト初期プログラム作成手段により、該クライアント/サ
ーバモデル定義のうち、リモートプロシージャコールR
PCの初期処理に必要な情報から、クライアント初期プ
ログラムを生成し、サーバ初期プログラム生成手段によ
り、該クライアント/サーバモデル定義のうちリモート
プロシージャコールRPCの初期処理に必要な情報か
ら、サーバ初期プログラムを生成するので、利用者はイ
ンタフェース定義言語IDLで記述されるインタフェー
ス定義を作成する必要がなくなり、記述言語の仕様の違
いを意識しない処理が可能になる。
Alternatively, the client / server model definition creating means creates the client / server model definition by designating the information required for initializing the remote procedure call RPC by the user. The remote procedure call R of the client / server model definition is created by the client initial program creating means.
A client initial program is generated from the information necessary for the initial processing of the PC, and the server initial program generation means generates the server initial program from the information necessary for the initial processing of the remote procedure call RPC in the client / server model definition. Therefore, the user does not need to create the interface definition described in the interface definition language IDL, and the processing can be performed without being aware of the difference in the description language specifications.

【0013】[0013]

【実施例】以下、本発明の実施例について図を参照して
説明する。図1は本発明の実施例によるクライアント/
サーバモデルのプログラム開発支援方式のブロック図で
ある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 illustrates a client / client according to an embodiment of the present invention.
It is a block diagram of the program development support system of a server model.

【0014】図1において、1は利用者(ユーザ)の指
定によりクライアント/サーバモデル定義を作成するク
ライアント/サーバモデル定義作成手段、2はクライア
ント/サーバモデル定義作成手段1によって作成される
クライアント/サーバモデル定義、3はインタフェース
定義言語IDLによって記述される、インタフェース定
義を生成するインタフェース定義生成手段、4はインタ
フェース定義言語IDLで記述されたインタフェース定
義である。
In FIG. 1, 1 is a client / server model definition creating means for creating a client / server model definition by designation of a user (user), and 2 is a client / server created by the client / server model definition creating means 1. A model definition, 3 is an interface definition generating means for generating an interface definition, which is described in the interface definition language IDL, and 4 is an interface definition described in the interface definition language IDL.

【0015】5はインタフェース定義4からクライアン
トスタブ、サーバスタブを生成するインタフェース定義
言語IDLプロセッサ、6はインタフェース定義言語I
DLプロセッサ5により生成されて、出力パラメータの
データ変換、プロセス間通信を用いたサーバスタブとの
通信を行うクライアントスタブ、7はインタフェース定
義言語IDLプロセッサ5により生成されて、入力パラ
メータのデータ変換、クライアントスタブ6との通信を
行うサーバスタブである。
Reference numeral 5 is an interface definition language IDL processor for generating a client stub and server stub from the interface definition 4, and 6 is an interface definition language I.
A client stub that is generated by the DL processor 5 and performs data conversion of output parameters and communication with the server stub using inter-process communication. Reference numeral 7 is generated by the interface definition language IDL processor 5 and performs data conversion of input parameters and clients. It is a server stub that communicates with the stub 6.

【0016】8はクライアント/サーバモデル定義中の
リモートプロシージャコールRPC(以降、RPCと略
す)の初期処理を行うために必要な情報から、クライア
ント初期プログラムを生成するクライアント初期プログ
ラム生成手段、9はクライアント初期プログラム生成手
段8により生成され、RPCの初期処理を行うクライア
ント初期プログラム、10はサーバ初期プログラム11
を生成するサーバ初期プログラム生成手段、12はクラ
イアントプログラム、13はサーバプログラムである。
Reference numeral 8 is a client initial program generating means for generating a client initial program from information necessary for performing initial processing of a remote procedure call RPC (hereinafter abbreviated as RPC) in the client / server model definition, and 9 is a client. A client initial program 10 which is generated by the initial program generating means 8 and performs RPC initial processing is a server initial program 11.
Is a server initial program generating means, 12 is a client program, and 13 is a server program.

【0017】つぎに動作について説明する。Next, the operation will be described.

【0018】クライアント/サーバモデルのプログラム
開発手順として、利用者(ユーザ)はクライアント/サ
ーバモデル定義作成手段1を用いて、インタフェース定
義あるいはRPCの初期処理を行うためのAPIコール
・リターン等の情報を指定して、クライアント/サーバ
モデル定義2を作成する。続いて、インタフェース定義
生成手段3を用いてクライアント/サーバモデル定義2
のうち、インタフェース定義4に必要な情報からインタ
フェース定義言語IDL(以降IDLと略す)で記述さ
れたインタフェース定義4を生成する。
As a client / server model program development procedure, the user (user) uses the client / server model definition creating means 1 to provide information such as an API call / return for initializing interface definition or RPC. Designate and create the client / server model definition 2. Subsequently, the client / server model definition 2 is generated by using the interface definition generation means 3.
Of these, the interface definition 4 described in the interface definition language IDL (hereinafter abbreviated as IDL) is generated from the information necessary for the interface definition 4.

【0019】次に利用者は、IDLプロセッサ5を用い
てIDLで記述されたインタフェース定義4から、クラ
イアントスタブ6とサーバスタブ7を生成する。続い
て、利用者はクライアント初期プログラム生成手段8を
用いて、クライアント/サーバモデル定義2のうちRP
Cの初期処理を行うために必要な情報から、クライアン
ト初期プログラム9を生成する。
Next, the user uses the IDL processor 5 to generate the client stub 6 and the server stub 7 from the interface definition 4 described in IDL. Then, the user uses the client initial program generation means 8 to make the RP of the client / server model definition 2.
The client initial program 9 is generated from the information necessary for performing the C initial processing.

【0020】次に利用者は、サーバ初期プログラム生成
手段10を用いて、クライアント/サーバモデル定義2
のうちRPCの初期処理を行うために必要な情報から、
サーバ初期プログラム11を生成する。続いて利用者
は、クライアントプログラム12、サーバプログラム1
3を作成する。なお、クライアントスタブ6、クライア
ント初期プログラム9、クライアントプログラム12は
クライアントのリンク時にリンクされ、サーバスタブ
7、サーバ初期プログラム11、サーバプログラム13
はサーバのリンク時にリンクされる。
Next, the user uses the server initial program generation means 10 to define the client / server model definition 2
From the information necessary to perform the initial processing of RPC,
The server initial program 11 is generated. Subsequently, the user is the client program 12 and the server program 1
Create 3. The client stub 6, the client initial program 9, and the client program 12 are linked at the time of linking the client, and the server stub 7, the server initial program 11, and the server program 13 are linked.
Is linked when the server is linked.

【0021】図2は本発明のクライアント/サーバモデ
ル・プログラムの動作手順を示すフローチャートであ
る。
FIG. 2 is a flow chart showing the operation procedure of the client / server model program of the present invention.

【0022】次に図1および図2を参照して、クライア
ント/サーバモデルのプログラム開発支援方式を用い
た、クライアント/サーバモデルのプログラムの動作手
順を説明する。
Next, with reference to FIGS. 1 and 2, an operation procedure of a client / server model program using the client / server model program development support method will be described.

【0023】まず、利用者はサーバを起動する(S−2
0)。サーバが起動されるとサーバ初期プログラム11
が呼び出される(S−21)。サーバ初期プログラム1
1はRPCのライブラリ(図示していない)を呼び出し
て、RPCの初期処理を行いクライアントからの要求を
待つ(S−22)。
First, the user activates the server (S-2).
0). When the server is started, the server initial program 11
Is called (S-21). Server initial program 1
1 calls an RPC library (not shown), performs RPC initial processing, and waits for a request from a client (S-22).

【0024】続いて、利用者はクライアントを起動する
(S−23)。クライアントが起動されると、クライア
ントプログラム12が呼び出される(S−24)。クラ
イアントプログラム12はRPCの初期処理を行うため
に、クライアント初期プログラム9を呼び出す(S−2
5)。クライアント初期プログラム9はRPCのライブ
ラリを呼び出して、RPCの初期処理を行い(S−2
6)、クライアントプログラム12に制御を戻す(S−
27)。
Then, the user activates the client (S-23). When the client is activated, the client program 12 is called (S-24). The client program 12 calls the client initial program 9 to perform the RPC initial processing (S-2).
5). The client initial program 9 calls the RPC library to perform RPC initial processing (S-2
6) Return control to the client program 12 (S-
27).

【0025】クライアントプログラム12はRPCを用
いてサービス要求を行うために、クライアントスタブ6
を呼び出す(S−28)。クライアントスタブ6はプロ
セス間通信(図示していない)を用いて、サーバスタブ
7を呼び出す(S−29)。サーバスタブ7は入力パラ
メータのデータ変換を行って、サーバプログラム13を
呼び出す、A、(S−30)。
The client program 12 uses the RPC to make a service request.
Is called (S-28). The client stub 6 calls the server stub 7 using interprocess communication (not shown) (S-29). The server stub 7 converts the input parameter data and calls the server program 13, A, (S-30).

【0026】サーバプログラム13はサービスの実行を
行って、サーバスタブ7に制御を戻す(S−31)。サ
ーバスタブ7はプロセス間通信によりクライアントスタ
ブ6に制御を戻すB。クライアントスタブ6は、出力パ
ラメータのデータ変換を行って、クライアントプログラ
ム12に制御を戻す。
The server program 13 executes the service and returns the control to the server stub 7 (S-31). The server stub 7 returns control to the client stub 6 by interprocess communication B. The client stub 6 performs data conversion of output parameters and returns control to the client program 12.

【0027】このように、本実施例においては、利用者
はクライアント/サーバモデル定義作成手段1を利用し
て、IDL記述によるインタフェース定義に必要な情報
を、例えば「言語B」の仕様で対話的に作成して、イン
タフェース定義生成手段3により、IDL記述によるイ
ンタフェース定義を自動的に生成し、また、利用者はク
ライアント/サーバモデル定義作成手段1により、RP
Cの初期処理に必要な情報を「言語B」の仕様で対話的
に作成して、クライアント初期プログラム9とサーバ初
期プログラム11を自動的に生成するので、従来例に比
較して、「言語A」と「言語B」の言語仕様の違いを意
識する必要がなくなる。
As described above, in this embodiment, the user uses the client / server model definition creating means 1 to interactively provide information necessary for the interface definition by the IDL description, for example, in the specification of "language B". And the interface definition generation means 3 automatically generates the interface definition in the IDL description, and the user uses the client / server model definition generation means 1 to generate the RP.
The information necessary for the initial processing of C is interactively created according to the specification of "language B", and the client initial program 9 and the server initial program 11 are automatically generated. It becomes unnecessary to be aware of the difference in the language specifications between "and" Language B ".

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
クライアント/サーバモデル定義作成手段により、利用
者はインタフェース定義に必要な情報を指定して、クラ
イアント/サーバモデル定義を作成し、インタフェース
定義生成手段によりクライアント/サーバモデル定義の
うち、インタフェース定義に必要な情報からIDLで記
述されたインタフェース定義を生成するため、利用者は
IDLで記述されたインタフェース定義を作成する必要
がなくなる。
As described above, according to the present invention,
By the client / server model definition creating means, the user specifies the information necessary for the interface definition to create the client / server model definition, and the interface definition creating means creates the client / server model definition that is necessary for the interface definition. Since the interface definition described in IDL is generated from the information, the user does not need to create the interface definition described in IDL.

【0029】また、クライアント/サーバモデル定義作
成手段により、利用者はRPCの初期処理を行うために
必要な情報を指定してクライアント/サーバモデル定義
を作成し、クライアント初期プログラム生成手段によっ
て、クライアント/サーバモデル定義のうちRPCの初
期処理に必要な情報からクライアント処理プログラムを
生成し、サーバ初期プログラム生成手段により、クライ
アント/サーバモデル定義のうちRPCの初期処理に必
要な情報からサーバ初期プログラムを生成するため、利
用者はクライアント/サーバモデルのプログラムからR
PCのライブラリを呼び出す必要がなくなる。
Also, the client / server model definition creating means allows the user to create a client / server model definition by designating the information necessary for performing the initial processing of the RPC, and the client initial program creating means creates the client / server model definition. A client processing program is generated from information necessary for initial processing of RPC in the server model definition, and a server initial program generation means generates a server initial program from information necessary for initial processing of RPC in the client / server model definition. Therefore, the user can execute R from the client / server model program.
There is no need to call the PC library.

【0030】この結果、クライアント/サーバモデルの
プログラムの記述言語を意識する必要がなくなり、クラ
イアント/サーバのプログラムの生産性が向上する効果
がある。
As a result, there is no need to be aware of the description language of the client / server model program, and the productivity of the client / server program is improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例のクライアント/サーバモデル
のプログラム開発支援方式のブロック図である。
FIG. 1 is a block diagram of a client / server model program development support system according to an embodiment of the present invention.

【図2】本発明のクライアント/サーバモデルのプログ
ラムの動作手順のフローチャートである。
FIG. 2 is a flowchart of an operation procedure of a client / server model program of the present invention.

【図3】従来のコンピュータプログラムのカプセル化シ
ステムのブロック図である。
FIG. 3 is a block diagram of a conventional computer program encapsulation system.

【符号の説明】[Explanation of symbols]

1 クライアント/サーバモデル定義作成手段 2 クライアント/サーバモデル定義 3 インタフェース定義生成手段 4 インタフェース定義 5 インタフェース定義言語プロセッサ 6 クライアントスタブ 7 サーバスタブ 8 クライアント初期プログラム生成手段 9 クライアント初期プログラム 10 サーバ初期プログラム生成手段 11 サーバ初期プログラム 12 クライアントプログラム 13 サーバプログラム 1 client / server model definition creating means 2 client / server model definition 3 interface definition creating means 4 interface definition 5 interface definition language processor 6 client stub 7 server stub 8 client initial program creating means 9 client initial program 10 server initial program creating means 11 Server initial program 12 Client program 13 Server program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 利用者がインターフェース定義に必要な
情報を指定してクライアント/サーバモデル定義を作成
するクライアント/サーバモデル定義作成手段と、 前記クライアント/サーバモデル定義作成手段によって
作成されるクライアント/サーバモデル定義と、 前記クライアント/サーバモデル定義のうち、インタフ
ェース定義に必要な情報からインタフェース定義言語I
DLで記述されたインタフェース定義を生成するインタ
フェース定義生成手段と、 前記インターフェース生成手段によって生成されるイン
ターフェース定義言語IDLで記述されたインタフェー
ス定義と、 前記インタフェース定義からクライアントスタブおよび
サーバスタブを生成するインタフェース定義言語プロセ
ッサと、 前記インタフェース定義言語プロセッサによって生成さ
れ、出力パラメータのデータ変換およびプロセス間通信
を用いたサーバスタブとの通信を行うクライアントスタ
ブと、 前記インタフェース定義言語プロセッサによって生成さ
れ、入力パラメータのデータ変換およびプロセス間通信
を用いたクライアントスタブとの通信を行うサーバスタ
ブを有することを特徴とするクライアント/サーバモデ
ルのプログラム開発支援方式。
1. A client / server model definition creating means for creating a client / server model definition by a user specifying information required for an interface definition, and a client / server created by the client / server model definition creating means. From the model definition and the information necessary for the interface definition of the client / server model definition, the interface definition language I
Interface definition generating means for generating an interface definition described in DL, interface definition described in the interface definition language IDL generated by the interface generating means, and interface definition for generating a client stub and a server stub from the interface definition A language processor, a client stub generated by the interface definition language processor, for performing data conversion of output parameters and communication with a server stub using interprocess communication, and a data conversion of input parameters generated by the interface definition language processor And a client / server model program development characterized by having a server stub for communicating with a client stub using interprocess communication Calling support method.
【請求項2】 利用者がリモートプロシージャコールR
PCの初期処理を行うために必要な情報を指定して、ク
ライアント/サーバモデル定義を作成するクライアント
/サーバモデル定義作成手段と、 前記クライアント/サーバモデル定義作成手段によって
作成されるクライアント/サーバモデル定義と、 前記クライアント/サーバモデル定義のうち、リモート
プロシージャコールRPCの初期処理を行うために必要
な情報からクライアント初期プログラムを生成するクラ
イアント初期プログラム生成手段と、 前記クライアント初期プログラム生成手段によって生成
され、リモートプロシージャコールRPCのライブラリ
を呼び出してリモートプロシージャコールRPCの初期
処理を行うクライアント初期プログラムと、 前記クライアント/サーバモデル定義のうち、リモート
プロシージャコールRPCの初期処理を行うために必要
な情報からサーバ初期プログラムを生成するサーバ初期
プログラム生成手段と、 前記サーバ初期プログラム生成手段によって生成され、
リモートプロシージャコールRPCのライブラリを呼び
出してリモートプロシージャコールRPCの初期処理を
行うサーバ初期プログラムを有することを特徴とするク
ライアント/サーバモデルのプログラム開発支援方式。
2. A user executes a remote procedure call R
Client / server model definition creating means for creating a client / server model definition by designating information necessary for initial processing of the PC, and client / server model definition created by the client / server model definition creating means. A client initial program generation means for generating a client initial program from information necessary for performing an initial process of a remote procedure call RPC in the client / server model definition; A client initial program that calls a procedure call RPC library to perform an initial process of a remote procedure call RPC, and a remote procedure code of the client / server model definition. A server initial program generation means for generating a server initial program from information necessary for performing the initial processing of the RRP, and the server initial program generation means,
A client / server model program development support method comprising a server initial program that calls a remote procedure call RPC library to perform an initial process of a remote procedure call RPC.
JP5107183A 1993-04-12 1993-04-12 Program development supporting system for client/ server model Pending JPH06301526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5107183A JPH06301526A (en) 1993-04-12 1993-04-12 Program development supporting system for client/ server model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5107183A JPH06301526A (en) 1993-04-12 1993-04-12 Program development supporting system for client/ server model

Publications (1)

Publication Number Publication Date
JPH06301526A true JPH06301526A (en) 1994-10-28

Family

ID=14452578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5107183A Pending JPH06301526A (en) 1993-04-12 1993-04-12 Program development supporting system for client/ server model

Country Status (1)

Country Link
JP (1) JPH06301526A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5887172A (en) * 1996-01-10 1999-03-23 Sun Microsystems, Inc. Remote procedure call system and method for RPC mechanism independent client and server interfaces interoperable with any of a plurality of remote procedure call backends

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5887172A (en) * 1996-01-10 1999-03-23 Sun Microsystems, Inc. Remote procedure call system and method for RPC mechanism independent client and server interfaces interoperable with any of a plurality of remote procedure call backends
US6446137B1 (en) 1996-01-10 2002-09-03 Sun Microsystems, Inc. Remote procedure call system and method for RPC mechanism independent client and server interfaces interoperable with any of a plurality of remote procedure call backends

Similar Documents

Publication Publication Date Title
US5974430A (en) Method for dynamically embedding objects stored in a web server within HTML for display by a web browser
EP1019853B1 (en) A method for extending the hypertext markup language (html) to support enterprise application data binding
US6157936A (en) Method for extending the hypertext markup language (HTML) to support a graphical user interface control presentation
EP0735467B1 (en) Compiler with generic front end and dynamically loadable back ends
US6470375B1 (en) System and method for managing the execution of system management tasks
US20040225995A1 (en) Reusable software controls
US6324576B1 (en) Management interworking unit and a method for producing such a unit
CA2119215A1 (en) Method and apparatus for linking object managers for cooperative processing in an object oriented computing environment
JP5192634B2 (en) Declaration order report parameterization
US20050246692A1 (en) Asynchronous compilation
JP2008171435A (en) Extending attribute of application generated using fourth generation programming tool
JPH08106390A (en) Data-processing system
JP4702835B2 (en) Web service customization system
JPH06301526A (en) Program development supporting system for client/ server model
US7853605B2 (en) Auxiliary data provider
US20030117417A1 (en) Generic application flow management system and method
KR100317227B1 (en) Open service creation environment device and control method for intelligent network service creation
JP2003140893A (en) Device and method for automatically creating user interface program, program and storage medium
JP2000039991A (en) Dynamic server connection system distributed object system
JP2002366514A (en) Method, system for generating display information and servlet engine
JPH0836486A (en) Distributed program description support device
JP2000315156A (en) Method for supporting object development, device for its implementation, and recording medium where processing program for same is recorded
Grieshaber A computer-aided software engineering toolkit for the integration of CAD/CAM application software in a network environment
JPH07152547A (en) Gui software designing support device
JPH08241189A (en) Designing device for communication service interface