JP3449256B2 - Method and apparatus for creating client / server application and information recording medium - Google Patents

Method and apparatus for creating client / server application and information recording medium

Info

Publication number
JP3449256B2
JP3449256B2 JP30924898A JP30924898A JP3449256B2 JP 3449256 B2 JP3449256 B2 JP 3449256B2 JP 30924898 A JP30924898 A JP 30924898A JP 30924898 A JP30924898 A JP 30924898A JP 3449256 B2 JP3449256 B2 JP 3449256B2
Authority
JP
Japan
Prior art keywords
application
data
client
source code
server
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.)
Expired - Fee Related
Application number
JP30924898A
Other languages
Japanese (ja)
Other versions
JP2000137600A (en
Inventor
勲 岡田
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 JP30924898A priority Critical patent/JP3449256B2/en
Publication of JP2000137600A publication Critical patent/JP2000137600A/en
Application granted granted Critical
Publication of JP3449256B2 publication Critical patent/JP3449256B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、単独で動作するア
プリケーションを分割してクライアント/サーバシステ
ムにおけるクライアントアプリケーション及びサーバア
プリケーションを作成し、特に、単独で動作するアプリ
ケーションのソースコードを入力するのみでクライアン
トアプリケーション及びサーバアプリケーションを作成
するクライアント/サーバアプリケーション作成方法及
びその装置並びに情報記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention divides an application that operates independently to create a client application and a server application in a client / server system, and in particular, only needs to input the source code of the application that operates independently. The present invention relates to a client / server application creating method and an apparatus and an information recording medium for creating an application and a server application.

【0002】[0002]

【従来の技術】近時の開発者が使用するクライアント/
サーバシステムの開発環境(ソフトウェア)としては、
独自開発又は汎用(市販)として提供される「Visi
genic社のVisiBroker」、「日本ユニシ
ス社のSYSTEMv」、「IONA社のOrbix」
などが知られている。これらの独自開発又は汎用ソフト
ウェアを使用してクライアント/サーバシステムにおけ
るクライアントアプリケーション及びサーバアプリケー
ションを作成している。
2. Description of the Related Art Clients used by recent developers /
As a server system development environment (software),
"Visi" provided as a proprietary or general-purpose (commercial)
Genic's VisiBroker "," Nihon Unisys' SYSTEMv ","IONA's Orbix "
Are known. The client application and the server application in the client / server system are created by using these independently developed or general-purpose software.

【0003】図7は従来のクライアントアプリケーショ
ン及びサーバアプリケーションの作成手順を示すフロー
チャートである。この作成手順では、まず、サーバアプ
リケーションに示される処理関数のインタフェースをユ
ーザが作成する(ステップS71)。次に、ユーザは、
作成したインタフェースをソフトウェア(開発環境)が
提供するコンパイラに適用することによって、サーバア
プリケーションで使用するサーバ用処理ソースコード
(適宜、サーバスケルトンと記載する)と、クライアン
トアプリケーションで使用するクライアント用処理ソー
スコード(適宜、クライアントスタブと記載する)を作
成する(ステップS72)。次に、ユーザは、サーバス
ケルトンを用いてサーバアプリケーションを作成し(ス
テップS73)、更に、クライアントスタブを用いてク
ライアントアプリケーションを作成する(ステップS7
4)。
FIG. 7 is a flowchart showing a conventional procedure for creating a client application and a server application. In this creating procedure, the user first creates the interface of the processing function shown in the server application (step S71). Then the user
By applying the created interface to the compiler provided by software (development environment), the server processing source code used in the server application (referred to as server skeleton as appropriate) and the client processing source code used in the client application (Described appropriately as client stub) is created (step S72). Next, the user creates a server application using the server skeleton (step S73), and further creates a client application using the client stub (step S7).
4).

【0004】このような作成手順では、クライアントア
プリケーションからサーバアプリケーションに対して、
実行を要求する処理関数の抽出方法について、その考慮
が行われていないため、ユーザがインタフェース定義を
行う必要がある。また、開発者は、独自開発又は汎用
(市販)アプリケーションソースコードを、サーバアプ
リケーションとクライアントアプリケーションで再利用
できるように、適切に分割した後に、この分割したコー
ドに開発環境で作成したサーバスケルトン及びクライア
ントスタブに組み込むための作業が必要になる。したが
って、インタフェースからサーバスケルトン及びクライ
アントスタブを作成した後に、クライアントアプリケー
ション及びサーバアプリケーションを作成し直す作業が
必要になり、その開発工数が増加する。
In such a creation procedure, the client application requests the server application
Since the method of extracting the processing function that requires execution has not been taken into consideration, the user needs to define the interface. In addition, the developer appropriately divides the independently developed or general-purpose (commercial) application source code so that it can be reused in the server application and the client application, and then the server skeleton and client created in the development environment in this divided code. Work is required to incorporate it into the stub. Therefore, it is necessary to recreate the client application and the server application after creating the server skeleton and the client stub from the interface, which increases the number of development steps.

【0005】このようなクライアント/サーバシステム
の作成として、特開平6−51968号及び特開平6−
67865号の「遠隔手続き呼び出しプログラム生成装
置」が知られている。この従来例では、効率的な遠隔手
続き呼び出し処理を実現している。これと同時にユーザ
が共有データ領域を追加するための余分な作業を必要と
しない遠隔手続き呼び出しプログラムを生成している。
As a method of creating such a client / server system, Japanese Patent Laid-Open Nos. 6-51968 and 6-
The "Remote Procedure Call Program Generator" of 67865 is known. In this conventional example, efficient remote procedure call processing is realized. At the same time, a remote procedure call program is created that does not require extra work for the user to add the shared data area.

【0006】[0006]

【発明が解決しようとする課題】このように上記従来例
では、インタフェースからクライアントスタブ及びサー
バスケルトンを作成した後に、クライアントアプリケー
ション及びサーバアプリケーションを作成し直す必要が
あり、開発工数が増大するという欠点があった。また、
公報例も開発工数の低減の視点からの改善の余地があ
る。
As described above, in the above-mentioned conventional example, it is necessary to recreate the client application and the server application after creating the client stub and the server skeleton from the interface, which is a drawback that the number of development steps increases. there were. Also,
There is room for improvement from the viewpoint of reducing the development man-hours in the publication examples as well.

【0007】本発明は、このような従来の技術における
課題を解決するものであり、単独で動作するアプリケー
ションのソースコードを入力するのみで、クライアント
アプリケーション及びサーバアプリケーションが自動的
に作成できるようになり、アプリケーションから移行し
て作成されるクライアント/サーバシステム用のクライ
アントアプリケーション及びサーバアプリケーションを
作成する際の開発工数が削減できるクライアント/サー
バアプリケーション作成方法及びその装置並びに情報記
録媒体の提供を目的とする。
The present invention solves the problems in the prior art as described above, and the client application and the server application can be automatically created only by inputting the source code of an application that operates independently. It is an object of the present invention to provide a client / server application creating method, an apparatus thereof, and an information recording medium that can reduce the development man-hours when creating a client application and a server application for a client / server system created by migrating from an application.

【0008】[0008]

【課題を解決するための手段】上記課題を達成するため
に、本発明は、単独で動作するアプリケーションからク
ライアント/サーバシステムにおけるクライアントアプ
リケーション及びサーバアプリケーションを作成する
コンピュータによるクライアント/サーバアプリケーシ
ョン作成方法であって、データ解析手段が、前記アプリ
ケーションのソースコードに含まれるグラフィカルユー
ザインタフェース(GUI)画面を検索し、当該GUI
画面で発生するイベント処理で呼び出される処理関数の
データを抽出する処理と、データ解析手段が、前記アプ
リケーションのソースコードから前記GUI画面のデー
タを抽出する処理と、アプリケーション作成手段が、
出された前記処理関数のデータから、当該処理関数のイ
ンタフェースを作成する処理と、アプリケーション作成
手段が、作成された前記インタフェースから、サーバ用
処理ソースコード及びクライアント用処理ソースコード
を作成する処理と、アプリケーション作成手段が、前記
クライアント用処理ソースコード及び前記GUI画面の
データから、前記処理関数の実行要求を行うクライアン
トアプリケーションを生成する処理と、アプリケーショ
ン作成手段が、前記サーバ用処理ソースコード及び前記
アプリケーションのソースコードから、前記クライアン
トアプリケーションの処理関数の実行要求に応答するサ
ーバアプリケーションを生成する処理とを有している。
In order to achieve the above object, the present invention creates a client application and a server application in a client / server system from an application that operates independently .
A method for creating a client / server application by a computer , wherein the data analysis means searches a graphical user interface (GUI) screen included in the source code of the application, and the GUI is displayed.
The process of extracting the data of the processing function called by the event process generated on the screen, the process of the data analysis unit extracting the data of the GUI screen from the source code of the application, and the application creating unit of the extracted Process to create the interface of the processing function from the processing function data and application creation
Means for creating a server processing source code and a client processing source code from the created interface; and an application creating means for creating the processing function from the client processing source code and the GUI screen data. The process of generating a client application that makes an execution request and the application
And a process for generating a server application that responds to an execution request of a processing function of the client application from the server processing source code and the source code of the application.

【0009】前記コンピュータによるクライアント/サ
ーバアプリケーション作成方法に、データ解析手段が、
前記アプリケーションのソースコードに含まれるすべて
のGUI画面のデータを抽出する処理と、データ解析手
段が、当該アプリケーションのソースコードに含まれる
すべてのGUI画面間の遷移データを抽出する処理と、
データ解析手段が、抽出されたすべてのGUI画面のう
ち、前記クライアントアプリケーションで用いられる二
以上のGUI画面を選択する処理と、を有し、前記クラ
イアントアプリケーションが、前記クライアント用処理
ソースコードと、選択された前記二以上のGUI画面の
データ及び当該二以上のGUI画面間の遷移データから
生成される処理とを更に含んでいる。
In the method for creating a client / server application by the computer , data analysis means is provided,
A process of extracting data of all GUI screens included in the source code of the application, and a data analysis procedure.
A step of extracting transition data between all GUI screens included in the source code of the application,
The data analysis means selects, from among all the extracted GUI screens, two or more GUI screens used in the client application, and the client application selects the processing source code for the client and the selection. It further includes the generated data of the two or more GUI screens and a process generated from the transition data between the two or more GUI screens.

【0010】本発明のクライアント/サーバアプリケー
ション作成装置は、単独で動作するアプリケーションか
らクライアント/サーバシステムにおけるクライアント
アプリケーション及びサーバアプリケーションを作成す
るクライアント/サーバアプリケーション作成装置であ
って、前記アプリケーションのソースコードを入力する
入力手段と、前記入力手段から入力されたアプリケーシ
ョンのソースコードに含まれるGUI画面を検索し、当
該GUI画面のデータ及び当該GUI画面で発生するイ
ベント処理で呼び出される処理関数のデータを抽出する
データ解析手段と、前記データ解析手段で抽出された
理関数データ及びGUI画面データを記憶するデータ記
憶手段と、前記データ記憶手段に記憶された処理関数デ
ータから当該処理関数のインタフェースを作成し、この
インタフェースからサーバ用処理ソースコード及びクラ
イアント用処理ソースコードを作成するとともに、作成
された前記クライアント用処理ソースコード及び前記G
UI画面データから、前記処理関数の実行要求を行うク
ライアントアプリケーションを生成し、さらに、作成さ
れた前記サーバ用処理ソースコード及び前記アプリケー
ションのソースコードから、前記クライアントアプリケ
ーションの処理関数の実行要求に応答するサーバアプリ
ケーションを生成するアプリケーション作成手段と、前
記アプリケーション作成手段で生成された前記クライア
ントアプリケーション及びサーバアプリケーションを出
力する出力手段とを備える構成としてある。
Is the client / server application creating apparatus of the present invention an application that operates independently?
In a client / server system
Create application and server application
Client / server application creation device
I, enter the source code of the application
Search the input means and the GUI screen included in the source code of the application input from the input means ,
The data of the GUI screen and the error generated on the GUI screen
Data analysis means for extracting the data of the processing function called in the vent processing, data storage means for storing the processing function data and GUI screen data extracted by the data analysis means, and the data storage means Stored processing function data
Create the interface of the processing function from the data
From the interface to the server processing source code and class
Create processing source code for client
The processed source code for the client and the G
From the UI screen data, click to request execution of the processing function.
Generate a client application and then create
Processing source code for the server and the application
From the application source code,
Server application that responds to the execution request of the transaction processing function
Application generating means for generating the application, and output means for outputting the client application and the server application generated by the application generating means.

【0011】前記データ解析手段として、前記アプリケ
ーションのソースコードを解析し、前記GUI画面で発
生するイベント処理で呼び出され処理関数の関数名,
戻り値の型,引数の型,引数名を含む処理関数データを
作成する処理関数データ抽出部と、前記アプリケーショ
ンのソースコードを解析し、前記GUI画面における
UI部品の種類,属性及び当該GUI部品で発生するイ
ベント処理で呼び出され処理と前記処理関数データ
の関係を含む情報からGUI画面データを作成するGU
I画面データ抽出部とを備える構成としてある。
[0011] As the data analysis means, said applique <br/> analyzes the source code of Shon, function names of the GUI screen processing functions Ru called in the event processing occurs, the
Return type, argument types, and the processing function data extracting unit for creating a processing function data including the argument name, analyzes the source code of the application <br/> down, G in the GUI screen
Type of UI components, and attributes and the GUI component the called has processing in the event processing for generating and processing function data
GUI that creates GUI screen data from information including the relationship
An I screen data extraction unit is provided.

【0012】前記データ記憶手段として、前記処理関数
データ抽出部で作成された処理関数データを記憶する処
理関数データ記憶部と、前記GUI画面データ抽出部で
作成されたGUI画面データを記憶するGUI画面デー
タ記憶部とを備える構成としてある。
[0012] As the data storage unit, a processing function data storage unit that stores processing function data generated by the processing function data extracting unit, a GUI screen for storing GUI screen data generated by the GUI screen data extractor And a data storage unit.

【0013】前記アプリケーション作成手段は、前記
ータ記憶手段に記憶された処理関数データから、GUI
画面で発生するイベント処理で呼び出され処理関数の
インタフェースを作成するインタフェース作成部と、前
記インタフェース作成部で作成されたインタフェースに
基づいてサーバ用処理ソースコードを作成するサーバス
ケルトン作成部と、前記インタフェース作成部で作成さ
れたインタフェースに基づいてクライアント用処理ソー
スコードを作成するクライアントスタブ作成部と、前記
アプリケーションのソースコード及び前記サーバスケル
トン作成部で作成されたサーバ用処理ソースコードから
サーバアプリケーションを作成するサーバアプリケーシ
ョン作成部と、前記データ記憶手段に記憶されたGUI
画面データ及び前記クライアントスタブ作成部で作成さ
れたクライアント用処理ソースコードからクライアント
アプリケーションを作成するクライアントアプリケーシ
ョン作成部とを備える構成としてある。
[0013] The application creating means, from the stored processing functions data to the de-<br/> over data storage means, GUI
An interface creation unit that creates an interface processing function Ru called in the event processing that occurs on the screen, the interface created by the interface creation unit
Based on the server skeleton creation unit that creates the processing source code for the server based on
To create a client stub creation unit that creates, the <br/> application source code and the server application from the server for processing source code created by the server skeleton creation unit of the processing source code for the client based on the interface a server application creation unit, GUI stored in said data storage means
It is configured to include a client application creating unit that creates a client application from the screen data and the client processing source code created by the client stub creating unit.

【0014】前記出力手段として、アプリケーション作
成手段で作成されたサーバアプリケーションソースコー
ドを記憶装置に送出するサーバアプリケーション出力部
と、アプリケーション作成手段で作成されたクライアン
トアプリケーションソースコードを記憶装置に送出する
クライアントアプリケーション出力部とを備える構成と
してある。
As the output means, a server application output section for sending the server application source code created by the application creating means to the storage device, and a client application for sending the client application source code created by the application creating means to the storage device. And an output unit.

【0015】前記データ解析手段が、前記アプリケーシ
ョンソースコードに含まれるすべてのGUI画面を抽
出するGUI画面抽出部と前記アプリケーションのソ
ースコードに含まれるすべてのGUI画面間の遷移関係
を抽出してGUI画面遷移データを作成するGUI画面
遷移データ抽出手段と、抽出されたすべてのGUI画面
のうち、前記クライアントアプリケーションで用いられ
る二以上のGUI画面を選択する画面選択手段と、を備
え、前記データ記憶手段が、前記データ解析手段で作成
されたGUI画面遷移データを記憶するGUI画面遷移
データ記憶部を備え、前記アプリケーション作成手段
が、前記クライアントアプリケーションを、前記クライ
アント用処理ソースコードと、選択された前記二以上の
GUI画面のデータ及び当該二以上のGUI画面間の遷
移データから生成する構成としてある。
[0015] The data analysis means, a GUI screen extractor for extracting all of the GUI screens in the source code of the Apurikeshi <br/> tio down, source of the application
Transition relationship between all GUI screens included in the source code
The extracted and GUI screen to create a GUI screen transition data
Transition data extraction means and all extracted GUI screens
Used by the client application
Screen selection means for selecting two or more GUI screens.
For example, GUI screen transition said data storage means, for storing a GUI screen transition data generated by the data analysis means
A data storage unit, and the application creating means
The client application
Ant processing source code, and the above two or more selected
GUI screen data and transition between two or more GUI screens
It is configured to be generated from the transferred data .

【0016】前記GUI画面遷移データ抽出手段が、前
記GUI画面データ間の遷移関係を抽出し、遷移元,イ
ベント処理,遷移先を含むGUI画面遷移データを作成
する構成としてある。
The GUI screen transition data extracting means is
The transition relationship between GUI screen data is extracted and
Create GUI screen transition data including vent processing and transition destination
It is configured to do so.

【0017】本発明の情報記録媒体は、単独で動作する
アプリケーションに含まれるグラフィカルユーザインタ
フェース(GUI)画面を検索し、当該GUI画面で発
生するイベント処理で呼び出される処理関数のデータを
抽出し、前記アプリケーションのソースコードから前記
GUI画面のデータを抽出し、抽出された前記処理関数
のデータから、当該処理関数のインタフェースを作成
し、このインタフェースから、サーバ用処理ソースコー
ド及びクライアント用処理ソースコードを作成し、前記
クライアント用処理ソースコード及び前記GUI画面の
データから、前記処理関数の実行要求を行うクライアン
トアプリケーションを生成し、前記サーバ用処理ソース
コード及び前記アプリケーションのソースコードから、
前記クライアントアプリケーションの処理関数の実行要
求に応答するサーバアプリケーションを生成する制御を
実行させるためのプログラムを格納している。
The information recording medium of the present invention searches for a graphical user interface (GUI) screen included in an application that operates independently, extracts data of a processing function called by an event process generated on the GUI screen, The data of the GUI screen is extracted from the source code of the application, the interface of the processing function is created from the extracted data of the processing function, and the processing source code for the server and the processing source code for the client are created from this interface. Then, a client application that requests execution of the processing function is generated from the processing source code for the client and the data of the GUI screen, and from the processing source code for the server and the source code of the application,
A program for executing control for generating a server application that responds to the execution request of the processing function of the client application is stored.

【0018】前記情報記録媒体に、更に、前記アプリケ
ーションのソースコードに含まれるすべてのGUI画面
のデータを抽出し、前記アプリケーションソースコード
に含まれるすべてのGUI画面間の遷移データを抽出
し、抽出されたすべてのGUI画面のうち、前記クライ
アントアプリケーションで用いられる二以上のGUI画
面が選択されることにより、前記クライアントアプリケ
ーションを、前記クライアント用処理ソースコードと、
選択された前記二以上のGUI画面のデータ及び当該二
以上のGUI画面間の遷移データから生成する制御を実
行させるためのプログラムを格納している。
Data of all GUI screens included in the source code of the application is extracted into the information recording medium, and transition data between all GUI screens included in the application source code is extracted and extracted. From among all the GUI screens, two or more GUI screens used in the client application are selected, so that the client application is processed by the client processing source code,
A control is executed that is generated from the data of the selected two or more GUI screens and the transition data between the two or more GUI screens.
Stores the program to execute.

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】このような本発明のクライアント/サーバ
アプリケーション作成方法及びその装置は、クライアン
トアプリケーションからサーバアプリケーションに対し
て実行を要求する処理関数のインタフェースを抽出し、
アプリケーションソースコードから、クライアントアプ
リケーションのソースコードとサーバアプリケーション
のソースコードとを自動作成する。そして、処理関数の
実行を要求する処理をクライアントアプリケーションに
自動的に組み込み、かつ、クライアントアプリケーショ
ンから処理関数の実行要求に応答する処理をサーバアプ
リケーションに自動的に組み込んでいる。
The client / server application creating method and apparatus thereof according to the present invention extracts the interface of the processing function requested to be executed from the client application to the server application,
The source code of the client application and the source code of the server application are automatically created from the application source code. Then, the processing requesting the execution of the processing function is automatically incorporated into the client application, and the processing responding to the execution request of the processing function from the client application is automatically incorporated into the server application.

【0023】この結果、単独で動作するアプリケーショ
ンのソースコードを入力するのみで、サーバアプリケー
ション及びクライアントアプリケーションが自動的に作
成できるようになり、独自開発又は既存のアプリケーシ
ョン(汎用ソフトウェア)を移行してクライアント/サ
ーバシステム用のサーバアプリケーション及びクライア
ントアプリケーションを作成する際の開発工数が削減さ
れる。
As a result, the server application and the client application can be automatically created only by inputting the source code of the application that operates independently, and the client application can be created by migrating an independently developed or existing application (general-purpose software). / Development man-hours when creating a server application and a client application for a server system are reduced.

【0024】また、本発明のクライアント/サーバアプ
リケーション作成方法及びその装置は、クライアントア
プリケーションへ移行するグラフィカルユーザインタフ
ェース画面を選択し、また、クライアントアプリケーシ
ョンにおけるグラフィカルユーザインタフェース画面の
遷移を実行している。
Further, the client / server application creating method and the apparatus thereof according to the present invention select the graphical user interface screen to be transferred to the client application, and execute the transition of the graphical user interface screen in the client application.

【0025】この結果、前記した開発工数の削減が可能
になるとともに、例えば、クライアント/サーバシステ
ムの開発環境として用いられる独自開発又は汎用アプリ
ケーションにおいて、グラフィカルユーザインタフェー
ス画面を選択し、また、クライアントアプリケーション
におけるグラフィカルユーザインタフェース画面の遷移
実行中に、その画面表示が可能になり、よりクライアン
トアプリケーション及びサーバアプリケーションに移行
する作業が容易になる。
As a result, it is possible to reduce the above-mentioned development man-hours, and select a graphical user interface screen in an originally developed or general-purpose application used as a development environment of a client / server system, and in the client application. During the transition of the graphical user interface screen, the screen can be displayed, and the work of shifting to the client application and the server application becomes easier.

【0026】また、本発明の情報記録媒体は、単独で動
作するアプリケーションを分割してクライアント/サー
バシステムにおけるクライアントアプリケーション及び
サーバアプリケーションの作成を実行するプログラムを
格納している。この結果、特に、汎用小型コンピュータ
(例えば、パーソナルコンピュータ/ワークステーショ
ン等)で、本発明を実施できるようになる。
Further, the information recording medium of the present invention stores a program that divides an application that operates independently and creates a client application and a server application in a client / server system. As a result, in particular, the present invention can be implemented in a general-purpose small computer (eg, personal computer / workstation, etc.).

【0027】また、本発明の情報記録媒体は、前記の情
報記録媒体に、更に、クライアントアプリケーションへ
移行するグラフィカルユーザインタフェース画面を選択
し、また、クライアントアプリケーションにおけるグラ
フィカルユーザインタフェース画面の遷移を実行するプ
ログラムを格納している。
Further, the information recording medium of the present invention is a program for selecting a graphical user interface screen to be transferred to a client application on the information recording medium and executing a transition of the graphical user interface screen in the client application. Is stored.

【0028】この結果、特に、汎用小型コンピュータ
で、本発明を実施できるようになるとともに、グラフィ
カルユーザインタフェース画面を選択し、また、クライ
アントアプリケーションにおけるグラフィカルユーザイ
ンタフェース画面の遷移実行中に、その画面表示が可能
になり、よりクライアントアプリケーション及びサーバ
アプリケーションに移行する作業が容易になる。
As a result, in particular, the general-purpose small computer can be used to implement the present invention, and while the graphical user interface screen is being selected and the transition of the graphical user interface screen in the client application is being executed, the screen display is displayed. It becomes possible and the work of migrating to the client application and the server application becomes easier.

【0029】[0029]

【発明の実施の形態】次に、本発明のクライアント/サ
ーバアプリケーション作成方法及びその装置並びに情報
記録媒体の実施の形態を図面を参照して詳細に説明す
る。図1は本発明のクライアント/サーバアプリケーシ
ョン作成方法及びその装置並びに情報記録媒体の第1実
施形態における構成を示すブロック図である。このクラ
イアント/サーバアプリケーション作成装置は、アプリ
ケーションのソースコードを入力するための入力装置1
と、制御プログラムを実行するデータ解析装置2と、デ
ータを一時的に記憶するデータ記憶装置3と、アプリケ
ーションを作成するアプリケーション作成装置4と、作
成したアプリケーションソースコードをハードディスク
装置などに送出する出力装置5とを備えている。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of a client / server application creating method, an apparatus thereof and an information recording medium of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a client / server application creating method and apparatus and an information recording medium according to the first embodiment of the present invention. This client / server application creating device is an input device 1 for inputting a source code of an application.
A data analysis device 2 that executes a control program, a data storage device 3 that temporarily stores data, an application creation device 4 that creates an application, and an output device that sends the created application source code to a hard disk device or the like. 5 and.

【0030】データ解析装置2は、処理関数データ抽出
部21及びグラフィカルユーザインタフェース(GU
I)画面データ抽出部22とを備えている。処理関数デ
ータ抽出部21は、入力装置1からのアプリケーション
のソースコードを解析し、GUI画面で発生するイベン
ト処理で呼び出されている処理関数の関数名、戻り値の
型、引数の型、引数名を抽出して処理関数データを作成
する。GUI画面データ抽出部22は、入力装置1から
のアプリケーションのソースコードを解析し、GUI画
面に位置されているGUI部品の種類、属性、部品で発
生するイベント処理で呼び出される処理と処理関数デー
タ抽出部21で作成された処理関数データとの関係を抽
出してGUI画面データを作成する。
The data analysis device 2 includes a processing function data extraction unit 21 and a graphical user interface (GU).
I) A screen data extraction unit 22 is provided. The processing function data extraction unit 21 analyzes the source code of the application from the input device 1, and the function name of the processing function called in the event processing that occurs on the GUI screen, the return value type, the argument type, and the argument name. To create processing function data. The GUI screen data extraction unit 22 analyzes the source code of the application from the input device 1 and extracts the types and attributes of GUI parts located on the GUI screen and the processes and process function data that are called in the event process that occurs in the parts. The relationship with the processing function data created by the unit 21 is extracted to create GUI screen data.

【0031】データ記憶装置3は、処理関数データ抽出
部21で作成された処理関数データを記憶する処理関数
データ記憶部31と、GUI画面データ抽出部22で作
成したGUI画面データを記憶するGUI画面データ記
憶部32とを備えている。
The data storage device 3 includes a processing function data storage unit 31 for storing the processing function data created by the processing function data extraction unit 21 and a GUI screen for storing the GUI screen data created by the GUI screen data extraction unit 22. And a data storage unit 32.

【0032】アプリケーション作成装置4は、インタフ
ェース作成部41と、サーバスケルトン(サーバ用処理
ソースコード)作成部42と、クライアントスタブ(ク
ライアント用処理ソースコード)作成部43と、サーバ
アプリケーション作成部44と、クライアントアプリケ
ーション作成部45とを有している。
The application creating apparatus 4 includes an interface creating section 41, a server skeleton (server processing source code) creating section 42, a client stub (client processing source code) creating section 43, and a server application creating section 44. It has a client application creation unit 45.

【0033】このアプリケーション作成装置4における
インタフェース作成部41は、処理関数データ記憶部3
1に記憶している処理関数データの入力によって、GU
I画面で発生するイベント処理で呼び出される処理関数
のインタフェースを作成する。サーバスケルトン作成部
42は、インタフェース作成部41で作成したインタフ
ェースを通じてクライアントアプリケーションの処理関
数実行の要求を受け取るサーバスケルトン(サーバ用処
理ソースコード)を作成する。クライアントスタブ作成
部43は、インタフェース作成部41で作成したインタ
フェースを通じてサーバアプリケーションの処理関数実
行の要求を行うクライアントスタブ(クライアント用処
理ソースコード)を作成する。
The interface creating section 41 of the application creating apparatus 4 includes a processing function data storage section 3
By inputting the processing function data stored in 1, the GU
Create the interface of the processing function called by the event processing that occurs on the I screen. The server skeleton creating unit 42 creates a server skeleton (server processing source code) that receives a request to execute a processing function of a client application through the interface created by the interface creating unit 41. The client stub creation unit 43 creates a client stub (client processing source code) for requesting execution of a processing function of the server application through the interface created by the interface creation unit 41.

【0034】また、アプリケーション作成装置4のサー
バアプリケーション作成部44は、入力装置1からのア
プリケーションのソースコードとサーバスケルトン作成
部42で作成されたサーバスケルトンとからサーバアプ
リケーションを作成する。クライアントアプリケーショ
ン作成部45は、GUI画面データ記憶部32に記憶し
ているGUI画面データ及びクライアントスタブ作成部
43で作成されたクライアントスタブからクライアント
アプリケーションを作成する。
Further, the server application creating section 44 of the application creating apparatus 4 creates a server application from the source code of the application from the input apparatus 1 and the server skeleton created by the server skeleton creating section 42. The client application creation unit 45 creates a client application from the GUI screen data stored in the GUI screen data storage unit 32 and the client stub created by the client stub creation unit 43.

【0035】出力装置5は、サーバアプリケーション作
成部44で作成されたサーバアプリケーションソースコ
ードを、ハードディスク装置などに送出して記憶するた
めのサーバアプリケーション出力部51と、クライアン
トアプリケーション作成部45で作成されたクライアン
トアプリケーションソースコードを、ハードディスク装
置などに送出して記憶するためのクライアントアプリケ
ーション出力部52とを備えている。
The output device 5 is created by the server application output unit 51 for sending the server application source code created by the server application creating unit 44 to the hard disk device for storage and the client application creating unit 45. A client application output section 52 for transmitting the client application source code to a hard disk device or the like for storage is provided.

【0036】なお、この図1に示す構成は、汎用小型コ
ンピュータ(パーソナルコンピュータ)やワークステー
ションで実現できる。また、以下の本発明の実施形態に
かかる動作を実行するためのプログラムは、汎用小型コ
ンピュータ用のソフトウェア(情報記録媒体/フロッピ
ーディスク、ハードディスク、メモリ等)として提供可
能である。
The structure shown in FIG. 1 can be realized by a general-purpose small computer (personal computer) or a workstation. Further, the program for executing the operation according to the embodiment of the present invention described below can be provided as software (information recording medium / floppy disk, hard disk, memory, etc.) for a general-purpose small computer.

【0037】次に、この第1実施形態の動作について説
明する。図2は第1実施形態の動作の処理手順を示すフ
ローチャートである。図1及び図2において、入力装置
1からのソースコードが、データ解析装置2の処理関数
データ抽出部21に入力される。処理関数データ抽出部
21では、GUI画面のソースコードを検索し、このソ
ースコード中にGUI画面で発生するイベント処理で呼
び出している処理関数を抽出する(ステップS1)。こ
こで、抽出した処理にGUI画面に対する処理以外の処
理が含まれているかを判断する(ステップS2)。この
判断でGUI画面に対する処理以外の処理が含まれてい
ない場合(No)、GUI画面が他の処理と関連してい
ないためアプリケーションの分割を行わない。したがっ
て、エラーメッセージを出力し、その表示を行って処理
終了となる(ステップS10)。
Next, the operation of the first embodiment will be described. FIG. 2 is a flowchart showing the processing procedure of the operation of the first embodiment. 1 and 2, the source code from the input device 1 is input to the processing function data extraction unit 21 of the data analysis device 2. The processing function data extraction unit 21 searches the source code of the GUI screen, and extracts the processing function called in the event processing generated on the GUI screen from the source code (step S1). Here, it is determined whether the extracted process includes a process other than the process for the GUI screen (step S2). If the process other than the process for the GUI screen is not included in this determination (No), the application is not divided because the GUI screen is not related to other processes. Therefore, an error message is output, the error message is displayed, and the process ends (step S10).

【0038】ステップS2でGUI画面に対する処理以
外の処理が含まれている場合(Yes)、この処理関数
を抽出する。この処理関数の宣言を、入力装置1から付
与されるソースコードから検索する。この関数宣言から
「関数名」、「戻り値の型」、「引数の型」、「引数
名」を取り出して処理関数データを作成し、処理関数デ
ータ記憶部31に記憶する(ステップS3)。この処理
関数データ記憶部31に記憶している処理関数データに
は、それぞれに番号を割り当てる。
When the processing other than the processing for the GUI screen is included in step S2 (Yes), this processing function is extracted. The declaration of this processing function is searched from the source code provided from the input device 1. The "function name", "return value type", "argument type", and "argument name" are extracted from this function declaration to create processing function data, which is stored in the processing function data storage unit 31 (step S3). A number is assigned to each of the processing function data stored in the processing function data storage unit 31.

【0039】次に、入力装置1からのソースコードは、
GUI画面データ抽出部22に入力される。GUI画面
データ抽出部22では、GUI画面のソースコードを検
索して、GUI画面の属性を抽出する(ステップS
4)。また、処理関数データ記憶部31に記憶している
処理関数をGUI画面で発生するイベント処理で使用し
ている場合は、GUI画面と処理関数データ記憶部31
のデータとの関係を抽出する。この抽出した情報からG
UI画面データを作成し、GUI画面データ記憶部32
に記憶する。
Next, the source code from the input device 1 is
It is input to the GUI screen data extraction unit 22. The GUI screen data extraction unit 22 searches the source code of the GUI screen and extracts the attributes of the GUI screen (step S
4). When the processing function stored in the processing function data storage unit 31 is used in the event processing generated on the GUI screen, the GUI screen and the processing function data storage unit 31 are used.
Extract the relationship with the data. G from this extracted information
UI screen data is created, and the GUI screen data storage unit 32 is created.
Remember.

【0040】次に、インタフェース作成部41は、処理
関数データ記憶部31に記憶されている処理関数データ
の入力によって、GUI画面で発生するイベント処理で
呼び出される処理関数のインタフェースを作成する(ス
テップS5)。次に、サーバスケルトン作成部42は、
インタフェース作成部41で作成されたインタフェース
から、サーバスケルトンを作成する(ステップS6)。
このサーバスケルトンには、クライアントアプリケーシ
ョンからの処理関数実行の要求を受け取って所定の適切
な処理関数を実行し、処理関数の戻り値をクライアント
アプリケーションに返送するための処理が記述されてい
る。
Next, the interface creating section 41 creates the interface of the processing function called by the event processing generated on the GUI screen by inputting the processing function data stored in the processing function data storage section 31 (step S5). ). Next, the server skeleton creating unit 42
A server skeleton is created from the interface created by the interface creating unit 41 (step S6).
This server skeleton describes processing for receiving a request for execution of a processing function from a client application, executing a predetermined appropriate processing function, and returning a return value of the processing function to the client application.

【0041】次に、クライアントスタブ作成部43は、
インタフェース作成部41で作成されたインタフェース
からクライアントスタブを作成する(ステップS7)。
このクライアントスタブは、処理関数データ記憶部31
に記憶されている処理関数と同一の「関数名」「戻り
値」「引数を持つ関数」とから構成され、かつ、サーバ
アプリケーションに対して処理関数の実行を要求する処
理が記述されている。
Next, the client stub creating section 43
A client stub is created from the interface created by the interface creating unit 41 (step S7).
This client stub is the processing function data storage unit 31.
A processing function that is composed of the same "function name", "return value", and "function having an argument" as the processing function stored in the above, and that requests the server application to execute the processing function is described.

【0042】また、サーバアプリケーション作成部44
は、入力装置1からのソースコードとサーバスケルトン
作成部42で作成されたサーバスケルトンから、サーバ
アプリケーションを作成する(ステップS8)。具体的
には、入力装置1からのソースコードに、アプリケーシ
ョン起動時にサーバスケルトンを初期化する処理を加え
る。
Further, the server application creating section 44
Creates a server application from the source code from the input device 1 and the server skeleton created by the server skeleton creating unit 42 (step S8). Specifically, a process of initializing the server skeleton when the application is started is added to the source code from the input device 1.

【0043】次に、クライアントアプリケーション作成
部45では、GUI画面データ記憶部32に記憶してい
るGUI画面データとクライアントスタブ作成部43で
作成したクライアントスタブとから、クライアントアプ
リケーションを作成する(ステップS9)。具体的に
は、GUI画面データからGUI画面のソースコードと
GUI画面で発生するイベント処理で実行される処理関
数のソースコードを作成する。作成した処理関数のソー
スコードにおいて、サーバアプリケーションの処理関数
を実行する処理では、クライアントスタブに定義されて
いる処理関数を呼び出すためのコードが記述されてい
る。
Next, the client application creating section 45 creates a client application from the GUI screen data stored in the GUI screen data storage section 32 and the client stub created by the client stub creating section 43 (step S9). . Specifically, the source code of the GUI screen and the source code of the processing function executed in the event process generated on the GUI screen are created from the GUI screen data. In the source code of the created processing function, the code for calling the processing function defined in the client stub is described in the processing for executing the processing function of the server application.

【0044】最後に、サーバアプリケーション出力部5
1に対して、サーバアプリケーション作成部44で作成
されたソースコードが付与され、このソースコードがハ
ードディスク装置などに保存される。同様に、クライア
ントアプリケーション出力部52に対して、クライアン
トアプリケーション作成部45で作成されたソースコー
ドが付与され、このソースコードがハードディスク装置
などに保存される。
Finally, the server application output section 5
The source code created by the server application creating unit 44 is added to the file No. 1, and the source code is stored in the hard disk device or the like. Similarly, the source code created by the client application creating unit 45 is added to the client application output unit 52, and the source code is stored in the hard disk device or the like.

【0045】次に、具体例を挙げて第1実施形態の要部
動作について説明する。図3は第1実施形態の具体例の
要部動作を説明するための図である。図3において、
「画面B11」、「関数click_Search(
)」(B12)、「関数SearchID from
Name(…)」(B13)などから構成されるアプ
リケーションが、入力ソースコード(B1)として与え
られる。このソースコードは、「画面B11」のSea
rchボタンをクリック(選択)すると「関数clic
k_Search( )」が呼び出されるように関連付
けられている。
Next, the operation of the essential parts of the first embodiment will be described by giving a specific example. FIG. 3 is a diagram for explaining the operation of the main parts of the specific example of the first embodiment. In FIG.
"Screen B11", "function click_Search (
) ”(B12),“ Function SearchID from
An application composed of "Name (...)" (B13) and the like is given as the input source code (B1). This source code is Sea of "Screen B11"
If you click (select) the rch button, you will see "Function click
k_Search () ”is called.

【0046】以下、このアプリケーションを入力した場
合の処理について説明する。アプリケーションのソース
コードを入力装置1に与えると、処理関数データ抽出部
21は、「画面B11」のSearchボタンに関連付
けられている「関数click_Search( )」
(B12)内の「関数SearchID from N
ame(…)」を抽出する(ステップS1,S2)。こ
の関数の宣言「string SearchID fr
om Name(string Name)」(B1
3)から、関数名:SearchID from Na
me、戻り値:string、引数の型:strin
g、引数名:name」という処理関数データを作成
し、この処理関数データを関数番号1として図3中の
(B12)に示す内容を、処理関数データ記憶部31に
記憶する(ステップS3)。
The processing when this application is input will be described below. When the source code of the application is given to the input device 1, the processing function data extraction unit 21 causes the “function click_Search ()” associated with the Search button of the “screen B11”.
In "(B12)", "Function SearchID from N"
“Ame (...)” is extracted (steps S1 and S2). Declaration of this function "string SearchID fr
om Name (string Name) "(B1
From 3), the function name: SearchID from Na
me, return value: string, argument type: string
g, argument name: name "is created, and the content shown in (B12) in FIG. 3 is stored in the processing function data storage unit 31 with this processing function data as the function number 1 (step S3).

【0047】次に、GUI画面データ抽出部22では、
「画面B11」のソースコードを解析して、GUI画面
に配置しているGUI部品や属性を抽出する。また、
「画面B11」で発生するイベント処理によって実行さ
れる処理関数を解析し、Searchボタンのイベント
処理が発生するとclick_Search( )関数
が実行される。この関数で「関数番号1の関数を呼び出
している」という情報を抽出する。そして、抽出した情
報からGUI画面データを作成し、図3中に示す(B3
1)(B32)に示す内容をGUI画面データ記憶部3
2に保存する(ステップS4)。
Next, in the GUI screen data extraction unit 22,
The source code of the "screen B11" is analyzed to extract the GUI parts and attributes arranged on the GUI screen. Also,
The processing function executed by the event processing generated on the “screen B11” is analyzed, and when the event processing of the Search button occurs, the click_Search () function is executed. Information that "the function number 1 is called" is extracted by this function. Then, GUI screen data is created from the extracted information and shown in FIG. 3 (B3
1) The contents shown in (B32) are added to the GUI screen data storage unit 3
2 (step S4).

【0048】次に、インタフェース作成部41では、処
理関数データ記憶部31に保存されている処理関数デー
タ「関数名:SearchID from Name、
戻り値:string、引数の型:string、引数
名:nameから図3中の(B4)に示すインタフェー
スを作成する(ステップS5)。サーバスケルトン作成
部42は、インタフェース作成部41で作成されたイン
タフェースを用いて、サーバスケルトン(B52)を作
成する(ステップS6)。クライアントスタブ作成部4
3は、クライアントスタブ(B63)を作成する(ステ
ップS7)。
Next, in the interface creating unit 41, the processing function data “function name: SearchID from Name” stored in the processing function data storage unit 31 is stored.
The interface shown in (B4) in FIG. 3 is created from the return value: string, the argument type: string, and the argument name: name (step S5). The server skeleton creating unit 42 creates a server skeleton (B52) using the interface created by the interface creating unit 41 (step S6). Client stub creation part 4
3 creates a client stub (B63) (step S7).

【0049】サーバアプリケーション作成部44では、
サーバスケルトン作成部42で作成されたサーバスケル
トン(B52)と入力装置1からのアプリケーションソ
ースコード(B51)とを組み合わせることによって、
クライアントアプリケーションからの処理関数実行の要
求を受け取るためのサーバアプリケーションソースコー
ドを作成する(ステップS8)。クライアントアプリケ
ーション作成部45では、GUI画面データ記憶部32
に記憶されているGUI画面データ(B3)とクライア
ントスタブ作成部43で作成されたクライアントスタブ
(B63)から、クライアントアプリケーションソース
コード(B6)を作成する。
In the server application creating section 44,
By combining the server skeleton (B52) created by the server skeleton creating unit 42 and the application source code (B51) from the input device 1,
A server application source code for receiving a processing function execution request from a client application is created (step S8). In the client application creation unit 45, the GUI screen data storage unit 32
A client application source code (B6) is created from the GUI screen data (B3) stored in the file and the client stub (B63) created by the client stub creating unit 43.

【0050】このソースコードにおいて、Search
ボタンがクリックされた際に呼び出される「関数cli
ck_Search( )」(B62)の中で、更に呼
び出される「関数SearchID from Nam
e(…)」が、クライアントスタブ(B63)で定義さ
れている関数となる(ステップS9)。
In this source code, Search
"Function cli called when the button is clicked
ck_Search () ”(B62) is further called in“ function SearchID from Nam ”.
e (...) ”is the function defined in the client stub (B63) (step S9).

【0051】最後に、サーバアプリケーション作成部4
4で作成されたサーバアプリケーションソースコード
(B5)が、サーバアプリケーション出力部51へ送出
され、ここからハードディスク装置などに出力される。
また、クライアントアプリケーション作成部45で作成
されたクライアントアプリケーションソースコード(B
6)もクライアントアプリケーション出力部52に送出
されて、ここからハードディスク装置などに出力され
る。
Finally, the server application creating section 4
The server application source code (B5) created in 4 is sent to the server application output unit 51, and is output from there to a hard disk device or the like.
In addition, the client application source code (B
6) is also sent to the client application output unit 52, and is output from there to a hard disk device or the like.

【0052】このように,この第1実施形態では、単独
のアプリケーションを分割する際に、クライアントアプ
リケーションからサーバアプリケーションに対して実行
を要求する処理関数のインタフェースを、アプリケーシ
ョンのソースコードから自動作成している。そして、処
理関数の実行を要求する処理をクライアントアプリケー
ションに自動的に組み込み、クライアントアプリケーシ
ョンから処理関数の実行要求に応答する処理をサーバア
プリケーションに自動的に組み込んでいる。
As described above, in the first embodiment, when a single application is divided, the interface of the processing function that the client application requests the server application to execute is automatically created from the source code of the application. There is. Then, the process requesting the execution of the processing function is automatically incorporated in the client application, and the process responding to the execution request of the processing function from the client application is automatically incorporated in the server application.

【0053】この結果、単独で動作するアプリケーショ
ンのソースコードを入力するのみで、クライアントアプ
リケーション及びサーバアプリケーションを自動的に作
成できるようになる。したがって、既存のアプリケーシ
ョンを移行してクライアント/サーバシステム用のクラ
イアントアプリケーション及びサーバアプリケーション
を作成する際の開発工数を削減できるようになる。
As a result, the client application and the server application can be automatically created only by inputting the source code of the application that operates independently. Therefore, it is possible to reduce the development man-hour when migrating the existing application and creating the client application and the server application for the client / server system.

【0054】次に、第2実施形態について説明する。図
4は第2実施形態の構成を示すブロック図である。この
第2実施形態では、図4中のデータ解析装置6に、図1
中の第1実施形態におけるデータ解析装置2の構成に追
加して、GUI画面抽出部23及びGUI画面遷移デー
タ抽出部24が設けられている。また、図4中のデータ
記憶装置7には、図1中の第1実施形態におけるデータ
記憶装置3の構成に追加して、GUI画面遷移データ記
憶部33が設けられている。更に、この第2実施形態に
は画面選択装置8が、図1中の第1実施形態に追加して
設けられている。
Next, the second embodiment will be described. FIG. 4 is a block diagram showing the configuration of the second embodiment. In the second embodiment, the data analysis device 6 in FIG.
In addition to the configuration of the data analysis device 2 in the first embodiment, a GUI screen extraction unit 23 and a GUI screen transition data extraction unit 24 are provided. Further, the data storage device 7 in FIG. 4 is provided with a GUI screen transition data storage unit 33 in addition to the configuration of the data storage device 3 in the first embodiment in FIG. Further, in the second embodiment, a screen selection device 8 is provided in addition to the first embodiment in FIG.

【0055】図4中のデータ解析装置6におけるGUI
画面抽出部23は、入力装置1からのアプリケーション
ソースコードから全てのGUI画面を抽出する処理を行
う。また、GUI画面遷移データ抽出部24は、GUI
画面データ記憶部32に記憶されているGUI画面デー
タ間の遷移関係を、入力装置1からのアプリケーション
ソースコードから抽出し、「遷移元」「イベント処理」
「遷移先」からなるGUI画面遷移データを作成する。
GUI in the data analysis device 6 in FIG.
The screen extraction unit 23 performs a process of extracting all GUI screens from the application source code from the input device 1. In addition, the GUI screen transition data extraction unit 24
The transition relation between the GUI screen data stored in the screen data storage unit 32 is extracted from the application source code from the input device 1, and the "transition source" and "event processing" are performed.
GUI screen transition data consisting of "transition destination" is created.

【0056】また、図4中のGUI画面遷移データ記憶
部33は、GUI画面遷移データ抽出部24で作成され
たGUI画面遷移データを記憶する。
Further, the GUI screen transition data storage unit 33 in FIG. 4 stores the GUI screen transition data created by the GUI screen transition data extraction unit 24.

【0057】更に、図4中の画面選択装置8では、GU
I画面抽出部23で抽出したGUI画面中から、クライ
アントアプリケーションで用いるGUI画面をユーザが
選択する。この第2実施形態では、複数のGUI画面が
アプリケーションソースコードに含まれている場合に
は、これらのGUI画面の全てをユーザに提示し、クラ
イアントアプリケーションに移行するGUI画面を選択
させる。このGUI画面は複数の選択が可能である。
Furthermore, in the screen selection device 8 in FIG.
The user selects a GUI screen used by the client application from among the GUI screens extracted by the I screen extraction unit 23. In the second embodiment, when a plurality of GUI screens are included in the application source code, all of these GUI screens are presented to the user and the GUI screen to be transferred to the client application is selected. This GUI screen allows multiple selections.

【0058】次に、第2実施形態の動作について説明す
る。図5は第2実施形態の動作の処理手順を示すフロー
チャートである。なお、このフローチャートでは、図2
に示す第1実施形態のフローチャートと同一の処理に同
一のステップ符号を付した。前記の第1実施形態では、
クライアントアプリケーションに使用するGUI画面
を、入力装置1から与えられたソースコードに存在する
一つのGUI画面としていたが、この第2実施形態で
は、図4及び図5において、GUI画面抽出部23が、
入力装置1から与えられたソースコードを解析してGU
I画面を抽出する(ステップS11)。
Next, the operation of the second embodiment will be described. FIG. 5 is a flowchart showing the processing procedure of the operation of the second embodiment. In addition, in this flowchart, FIG.
The same steps as those in the flowchart of the first embodiment shown in FIG. In the first embodiment described above,
Although the GUI screen used for the client application is one GUI screen existing in the source code given from the input device 1, in the second embodiment, the GUI screen extracting unit 23 in FIG. 4 and FIG.
GU analyzes the source code given from the input device 1
The I screen is extracted (step S11).

【0059】画面選択装置8では、GUI画面抽出部2
3で抽出したGUI画面を受け取ってユーザに提示し、
クライアントアプリケーションへ移行するGUI画面を
選択させる(ステップS12)。ここでGUI画面が一
つ以上選択されたか否かを判断する(ステップS1
3)。この判断でGUI画面が一つ以上選択されていな
い場合(No)、エラーメッセージを表示し、その処理
を終了する(ステップS10)。GUI画面が選択され
た場合の処理中にあって、ステップS1からステップS
4までの処理は、図2に示す第2実施形態の場合と同様
である。
In the screen selection device 8, the GUI screen extraction unit 2
Receive the GUI screen extracted in 3 and present it to the user,
The GUI screen to be transferred to the client application is selected (step S12). Here, it is determined whether or not one or more GUI screens are selected (step S1).
3). If one or more GUI screens are not selected in this determination (No), an error message is displayed and the process ends (step S10). During the process when the GUI screen is selected, from step S1 to step S
Processing up to 4 is the same as in the case of the second embodiment shown in FIG.

【0060】GUI画面データの作成及び記憶(ステッ
プS4)が終了した場合、GUI画面遷移データ抽出部
24は、GUI画面データ記憶部32に記憶しているG
UI画面データ間の遷移を抽出し、GUI画面遷移デー
タを作成して、GUI画面遷移データ記憶部33に記憶
する(ステップS14)。また、図5中のステップS6
からステップS8までの処理は、図2の第2実施形態と
同様である。
When the creation and storage of GUI screen data (step S4) is completed, the GUI screen transition data extraction unit 24 stores the G screen data stored in the GUI screen data storage unit 32.
Transitions between UI screen data are extracted, GUI screen transition data is created, and stored in the GUI screen transition data storage unit 33 (step S14). In addition, step S6 in FIG.
The processes from step S8 to step S8 are the same as those in the second embodiment of FIG.

【0061】クライアントアプリケーション作成部45
では、クライアントスタブ作成部43で作成されたクラ
イアントスタブと、GUI画面データ記憶部32に記憶
しているGUI画面データとGUI画面遷移データ記憶
部33に記憶されているGUI画面遷移データとから、
クライアントアプリケーションを作成する(ステップS
9)。最後に、サーバアプリケーションソースコードと
クライアントアプリケーションソースコードとが、それ
ぞれサーバアプリケーション出力部51及びクライアン
トアプリケーション出力部52に送出され、ここからハ
ードディスク装置などに出力される。
Client application creating section 45
Then, from the client stub created by the client stub creation unit 43, the GUI screen data stored in the GUI screen data storage unit 32, and the GUI screen transition data stored in the GUI screen transition data storage unit 33,
Create a client application (step S)
9). Finally, the server application source code and the client application source code are sent to the server application output unit 51 and the client application output unit 52, respectively, and are output from there to a hard disk device or the like.

【0062】図6は第2実施形態の具体例の要部動作を
説明するための図である。図6では、図3に示した第1
実施形態におけるアプリケーションソースコードに「画
面B14」を加えたソースコードを用いている。この
「画面B14」は二つのボタンを有しており、この中の
一つのSearchIDボタンには、クリック(指示)
した際に、「画面B11」を表示するためのコードが記
述されている。なお、「画面B11」の動作は、図3の
第1実施形態の場合と同様である。
FIG. 6 is a diagram for explaining the operation of the main part of the concrete example of the second embodiment. In FIG. 6, the first shown in FIG.
The source code obtained by adding the "screen B14" to the application source code in the embodiment is used. This "screen B14" has two buttons, and one SearchID button among them has a click (instruction).
When this is done, a code for displaying the "screen B11" is described. The operation of "screen B11" is the same as in the case of the first embodiment of FIG.

【0063】このアプリケーションを入力装置1に与え
るとGUI画面抽出部23では、「画面B11」及び
「画面B14」を抽出する(ステップS11)。画面選
択装置8は、ユーザに「画面B11」及び「画面B1
4」を提示して、クライアントアプリケーションとして
使用する画面を選択させる(ステップS12)。ここで
は、「画面B11」及び「画面B14」が選択される。
二つのGUI画面が選択され、その処理を続行する(ス
テップS13)。処理関数データ抽出部21では、「画
面B11」及び「画面B14」から「関数Search
ID from Name(…)」を抽出し(ステップ
S1,S2)、図6中の(B2)に示すデータを処理関
数データ記憶部31に記憶する。
When this application is given to the input device 1, the GUI screen extracting section 23 extracts "screen B11" and "screen B14" (step S11). The screen selection device 8 prompts the user to select “screen B11” and “screen B1”.
4 ”is presented and a screen to be used as a client application is selected (step S12). Here, "screen B11" and "screen B14" are selected.
Two GUI screens are selected and the processing is continued (step S13). In the processing function data extraction unit 21, from the “screen B11” and the “screen B14” to the “function search”.
ID from Name (...) ”is extracted (steps S1 and S2), and the data shown in (B2) in FIG. 6 is stored in the processing function data storage unit 31.

【0064】GUI画面データ抽出部22では、「画面
B11」のデータと「画面B11」で発生するイベント
処理によって実行される処理関数とを解析して、「関数
click_Search( )」を抽出し、図6中の
(B31)(B32)に示す内容をGUI画面データ記
憶部32が記憶する。また、「画面B14」のデータも
解析され、図6の(B33)に示すようにGUI画面デ
ータをGUI画面データ記憶部32に記憶する(ステッ
プS4)。次に、GUI画面遷移データ抽出部24おい
て、GUI画面データ記憶部32に記憶されているGU
I画面データ間のGUI画面遷移データを得るために、
入力装置1からのソースコードを解析する。
The GUI screen data extraction unit 22 analyzes the data of the "screen B11" and the processing function executed by the event processing that occurs in the "screen B11", extracts the "function click_Search ()", and The GUI screen data storage unit 32 stores the contents shown in (B31) and (B32) in FIG. Further, the data of "screen B14" is also analyzed, and the GUI screen data is stored in the GUI screen data storage unit 32 as shown in (B33) of FIG. 6 (step S4). Next, the GUI screen transition data extraction unit 24 stores the GUI stored in the GUI screen data storage unit 32.
To obtain GUI screen transition data between I screen data,
The source code from the input device 1 is analyzed.

【0065】このソースコードには、「画面B14」の
SearchIDボタンをクリックした際に「画面B1
1」を表示する内容が記述されている。更に、GUI画
面データ記憶部32では、「画面B11」が(B3
1)、「画面B14」が(B33)として記憶されてい
るため、(B10)に示す内容のGUI画面データが、
GUI画面遷移データ記憶部33に記憶される(ステッ
プS14)。この後に処理されるステップS5からステ
ップS8までの具体例は、図3に示した場合と同様であ
る。
This source code includes "Screen B1" when the SearchID button on "Screen B14" is clicked.
The content for displaying "1" is described. Further, in the GUI screen data storage unit 32, the "screen B11" is (B3
1), since the "screen B14" is stored as (B33), the GUI screen data having the content shown in (B10) is
It is stored in the GUI screen transition data storage unit 33 (step S14). A specific example of steps S5 to S8 to be processed thereafter is the same as that shown in FIG.

【0066】クライアントアプリケーション作成部45
では、クライアントスタブ作成部43で作成されたクラ
イアントスタブ(B63)と、GUI画面データ記憶部
32に保存されているデータ(B31)(B32)(B
33)及びGUI画面遷移データ記憶部33に記憶され
ているGUI画面遷移データ(B10)から(B9)に
示すクライアントアプリケーションを作成する(ステッ
プS9)。(B9)において、「画面B61」への遷移
を行うソースコードは、(B10)のGUI画面遷移デ
ータを用いて作成される。これ以降の出力装置5におけ
る処理は、図3に示す具体的例と同様である。
Client application creating section 45
Then, the client stub (B63) created by the client stub creation unit 43 and the data (B31) (B32) (B) saved in the GUI screen data storage unit 32.
33) and the GUI screen transition data (B10) to (B9) stored in the GUI screen transition data storage unit 33 are created (step S9). In (B9), the source code for transitioning to the “screen B61” is created using the GUI screen transition data in (B10). Subsequent processing in the output device 5 is the same as the specific example shown in FIG.

【0067】このように、この第2実施形態では、入力
されたソースコードからGUI画面を抽出してユーザに
選択させるとともに、GUI画面遷移データを抽出し、
また、GUI画面遷移データを記憶することにより、ユ
ーザがクライアントアプリケーションへ移行するGUI
画面を選択できるようになる。また、クライアントアプ
リケーションへ移行するGUI画面を選択できるととも
に、クライアントアプリケーションにおけるGUI画面
の遷移が出来るようになる。
As described above, in the second embodiment, the GUI screen is extracted from the input source code and the user is allowed to select it, and the GUI screen transition data is extracted.
Further, by storing the GUI screen transition data, the GUI for the user to shift to the client application.
You will be able to select the screen. Further, it is possible to select the GUI screen to be transferred to the client application and to change the GUI screen in the client application.

【0068】この結果、第1実施形態と同様に開発工数
の削減が可能になるとともに、グラフィカルユーザイン
タフェース画面を選択し、また、クライアントアプリケ
ーションにおけるグラフィカルユーザインタフェース画
面の遷移実行中に、その画面表示が可能になり、よりク
ライアントアプリケーション及びサーバアプリケーショ
ンに移行する作業が容易になる。
As a result, the development man-hours can be reduced as in the first embodiment, the graphical user interface screen is selected, and the screen display is changed during the transition of the graphical user interface screen in the client application. It becomes possible and the work of migrating to the client application and the server application becomes easier.

【0069】[0069]

【発明の効果】以上の説明から明らかなように、本発明
のクライアント/サーバアプリケーション作成方法及び
その装置によれば、クライアントアプリケーションから
サーバアプリケーションに対して実行を要求する処理関
数のインタフェースを抽出し、アプリケーションソース
コードから、クライアントアプリケーションのソースコ
ードとサーバアプリケーションのソースコードとを自動
作成する。そして、処理関数の実行を要求する処理をク
ライアントアプリケーションに自動的に組み込み、か
つ、クライアントアプリケーションから処理関数の実行
要求に応答する処理をサーバアプリケーションに自動的
に組み込んでいる。
As is apparent from the above description, according to the client / server application creating method and the apparatus thereof of the present invention, the interface of the processing function requested to be executed from the client application to the server application is extracted, The source code of the client application and the source code of the server application are automatically created from the application source code. Then, the processing requesting the execution of the processing function is automatically incorporated into the client application, and the processing responding to the execution request of the processing function from the client application is automatically incorporated into the server application.

【0070】この結果、単独で動作するアプリケーショ
ンのソースコードを入力するのみで、サーバアプリケー
ション及びクライアントアプリケーションが自動的に作
成できるようになる。したがって、独自開発又は既存の
アプリケーションの移行してクライアント/サーバシス
テム用のサーバアプリケーション及びクライアントアプ
リケーションを作成する際の開発工数を削減できるよう
になる。
As a result, the server application and the client application can be automatically created only by inputting the source code of the application that operates independently. Therefore, it is possible to reduce the development man-hour when creating a server application and a client application for the client / server system by migrating an independently developed or existing application.

【0071】また、本発明のクライアント/サーバアプ
リケーション作成方法及びその装置によれば、クライア
ントアプリケーションへ移行するグラフィカルユーザイ
ンタフェース画面を選択し、また、クライアントアプリ
ケーションにおけるグラフィカルユーザインタフェース
画面の遷移を実行している。
Further, according to the client / server application creating method and the apparatus thereof of the present invention, the graphical user interface screen to be transferred to the client application is selected, and the transition of the graphical user interface screen in the client application is executed. .

【0072】この結果、前記の開発工数の削減が可能に
なるとともに、独自開発又は汎用アプリケーションにお
いて、グラフィカルユーザインタフェース画面を選択
し、また、クライアントアプリケーションにおけるグラ
フィカルユーザインタフェース画面の遷移実行中に、そ
の画面表示が可能になり、よりクライアントアプリケー
ション及びサーバアプリケーションに移行する作業が容
易になる。
As a result, it is possible to reduce the development man-hours described above, select a graphical user interface screen in an independently developed or general-purpose application, and perform transition of the graphical user interface screen during execution of the graphical user interface screen in the client application. The display becomes possible, and the work of migrating to the client application and the server application becomes easier.

【0073】また、本発明の情報記録媒体によれば、単
独で動作するアプリケーションを分割してクライアント
/サーバシステムにおけるクライアントアプリケーショ
ン及びサーバアプリケーションの作成を実行するプログ
ラムを格納している。この結果、特に、汎用小型コンピ
ュータで、本発明を実施できるようになる。
Further, according to the information recording medium of the present invention, the program which executes the creation of the client application and the server application in the client / server system by dividing the application which operates independently is stored. As a result, the present invention can be implemented by a general-purpose small computer.

【0074】また、本発明の情報記録媒体は、前記した
情報記録媒体に、更に、クライアントアプリケーション
へ移行するグラフィカルユーザインタフェース画面を選
択し、また、クライアントアプリケーションにおけるグ
ラフィカルユーザインタフェース画面の遷移を実行する
プログラムを格納している。
The information recording medium of the present invention is a program for selecting a graphical user interface screen to be further transferred to the client application on the above-mentioned information recording medium and executing a transition of the graphical user interface screen in the client application. Is stored.

【0075】この結果、特に、汎用小型コンピュータ
で、本発明を実施できるようになるとともに、グラフィ
カルユーザインタフェース画面を選択し、また、クライ
アントアプリケーションにおけるグラフィカルユーザイ
ンタフェース画面の遷移実行中に、その画面表示が可能
になり、よりクライアントアプリケーション及びサーバ
アプリケーションに移行する作業が容易に出来るように
なる。
As a result, in particular, the general-purpose small computer can be used to implement the present invention, and while the graphical user interface screen is selected and the graphical user interface screen is being transitioned in the client application, the screen display is displayed. It becomes possible, and the work of migrating to the client application and the server application becomes easier.

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

【図1】本発明のクライアント/サーバアプリケーショ
ン作成方法及びその装置並びに情報記録媒体の第1実施
形態における構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a client / server application creating method and apparatus and an information recording medium according to a first embodiment of the present invention.

【図2】第1実施形態の動作の処理手順を示すフローチ
ャートである。
FIG. 2 is a flowchart showing a processing procedure of an operation of the first embodiment.

【図3】第1実施形態の具体例の要部動作を説明するた
めの図である。
FIG. 3 is a diagram for explaining an operation of a main part of a specific example of the first embodiment.

【図4】第2実施形態の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of a second embodiment.

【図5】第2実施形態の動作の処理手順を示すフローチ
ャートである。
FIG. 5 is a flowchart showing a processing procedure of an operation of the second embodiment.

【図6】第2実施形態の具体例の要部動作を説明するた
めの図である。
FIG. 6 is a diagram for explaining an operation of a main part of a concrete example of the second embodiment.

【図7】従来例にあってクライアントアプリケーション
及びサーバアプリケーションの作成手順を示すフローチ
ャートである。
FIG. 7 is a flowchart showing a procedure for creating a client application and a server application in a conventional example.

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

1 入力装置 2 データ解析装置 3 データ記憶装置 4 アプリケーション作成装置 5 出力装置 8 画面選択装置 21 処理関数データ抽出部 22 GUI画面データ抽出部 23 GUI画面抽出部 24 GUI画面遷移データ抽出部 31 処理関数データ記憶部 32 GUI画面データ記憶部 33 GUI画面遷移データ記憶部 41 インタフェース作成部 42 サーバスケルトン作成部 43 クライアントスタブ作成部 44 サーバアプリケーション作成部 45 クライアントアプリケーション作成部 51 サーバアプリケーション出力部 52 クライアントアプリケーション出力部 1 input device 2 Data analysis device 3 data storage 4 Application creation device 5 Output device 8 screen selection device 21 Processing function data extraction unit 22 GUI screen data extraction unit 23 GUI screen extraction unit 24 GUI screen transition data extraction unit 31 processing function data storage 32 GUI screen data storage unit 33 GUI screen transition data storage unit 41 Interface creation section 42 Server Skeleton Creation Department 43 Client Stub Creation Department 44 Server application creation section 45 Client application creation section 51 Server application output section 52 Client application output section

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/44 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 9/44

Claims (11)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 単独で動作するアプリケーションからク
ライアント/サーバシステムにおけるクライアントアプ
リケーション及びサーバアプリケーションを作成する
コンピュータによるクライアント/サーバアプリケーシ
ョン作成方法であって、データ解析手段が、 前記アプリケーションのソースコー
ドに含まれるグラフィカルユーザインタフェース(GU
I)画面を検索し、当該GUI画面で発生するイベント
処理で呼び出される処理関数のデータを抽出する処理
と、データ解析手段が、 前記アプリケーションのソースコー
ドから前記GUI画面のデータを抽出する処理と、アプリケーション作成手段が、 抽出された前記処理関数
のデータから、当該処理関数のインタフェースを作成す
る処理と、アプリケーション作成手段が、 作成された前記インタフ
ェースから、サーバ用処理ソースコード及びクライアン
ト用処理ソースコードを作成する処理と、アプリケーション作成手段が、 前記クライアント用処理
ソースコード及び前記GUI画面のデータから、前記処
理関数の実行要求を行うクライアントアプリケーション
を生成する処理と、アプリケーション作成手段が、 前記サーバ用処理ソース
コード及び前記アプリケーションのソースコードから、
前記クライアントアプリケーションの処理関数の実行要
求に応答するサーバアプリケーションを生成する処理
と、 を有することを特徴とするクライアント/サーバアプリ
ケーション作成方法。
1. A client application and a server application in a client / server system are created from an application that operates independently .
A method for creating a client / server application by a computer , wherein the data analysis means is a graphical user interface (GU) included in the source code of the application.
I) A process of searching a screen and extracting data of a processing function called in an event process that occurs on the GUI screen, and a process of extracting data of the GUI screen from a source code of the application by a data analysis unit , Application creating means creates a processing function interface from the extracted processing function data, and application creating means creates a server processing source code and a client processing source code from the created interface. a process of creating an application creation means, from the data of the client for processing source code and the GUI screen, and generating a client application to perform an execution request of the processing function, an application creation means, for said server process Sosuko From De and the source code of the application,
A method of creating a client / server application, comprising: a process of generating a server application that responds to an execution request of a processing function of the client application.
【請求項2】 前記請求項1記載のコンピュータによる
クライアント/サーバアプリケーション作成方法が、データ解析手段が、 前記アプリケーションのソースコー
ドに含まれるすべてのGUI画面のデータを抽出する処
理と、データ解析手段が、 当該アプリケーションのソースコー
ドに含まれるすべてのGUI画面間の遷移データを抽出
する処理と、データ解析手段が、 抽出されたすべてのGUI画面のう
ち、前記クライアントアプリケーションで用いられる二
以上のGUI画面を選択する処理と、を有し、 前記クライアントアプリケーションが、前記クライアン
ト用処理ソースコードと、選択された前記二以上のGU
I画面のデータ及び当該二以上のGUI画面間の遷移デ
ータから生成されることを特徴とするクライアント/サ
ーバアプリケーション作成方法。
2. A method for creating a client / server application by the computer according to claim 1 , wherein the data analysis unit extracts data of all GUI screens included in the source code of the application, data analysis means, a process of extracting the transition data between all of the GUI screen in the source code of the application, the data analysis means, of all the GUI screen is extracted, two or more used in the client application Selecting a GUI screen of the client application, the client application processing source code for the client, and the two or more selected GUs.
A method for creating a client / server application, which is generated from data of an I screen and transition data between the two or more GUI screens.
【請求項3】 単独で動作するアプリケーションからク
ライアント/サーバシステムにおけるクライアントアプ
リケーション及びサーバアプリケーションを作成するク
ライアント/サーバアプリケーション作成装置であっ
て、 前記 アプリケーションのソースコードを入力する入力手
段と、 前記入力手段から入力されたアプリケーションのソース
コードに含まれるGUI画面を検索し、当該GUI画面
のデータ及び当該GUI画面で発生するイベント処理で
呼び出される処理関数のデータを抽出するデータ解析手
段と、 前記データ解析手段で抽出された処理関数データ及びG
UI画面データを記憶するデータ記憶手段と、 前記データ記憶手段に記憶された処理関数データから当
該処理関数のインタフェースを作成し、このインタフェ
ースからサーバ用処理ソースコード及びクライアント用
処理ソースコードを作成するとともに、作成された前記
クライアント用処理ソースコード及び前記GUI画面デ
ータから、前記処理関数の実行要求を行うクライアント
アプリケーションを生成し、さらに、作成された前記サ
ーバ用処理ソースコード及び前記アプリケーションのソ
ースコードから、前記クライアントアプリケーションの
処理関数の実行要求に応答するサーバアプリケーション
を生成するアプリケーション作成手段と、 前記アプリケーション作成手段で生成された前記クライ
アントアプリケーション及びサーバアプリケーションを
出力する出力手段と、 を備えることを特徴とするクライアント/サーバアプリ
ケーション作成装置。
3.From an application that operates independently
Client application in client / server system
Applications and server applications
A client / server application creation device
hand, The above Enter the application source codeInput hand
Dan, From the input meansEnteredApplication source
In the codeSearch for the included GUI screen, and
Data and event processing that occurs on the GUI screen
Extract the data of the called processing functionData analysis hands
Dan, With the data analysis meansExtractedProcessing function data and G
Data storage means for storing UI screen data, Stored in the data storage meansFrom the processing function data
Create an interface for the processing function and
Source to server processing source code and client
The processing source code is created and the created
Client processing source code and GUI screen data
Client that requests execution of the processing function from the data
Generate the application and then
Server processing source code and the application software
From the source code of the client application
Server application that responds to the processing function execution request
Generate aApplication creation means to With the application creation meansGenerated saidCry
Ant application and server application
Output means for outputting, Client / server application characterized by comprising
Application creation device.
【請求項4】 前記データ解析手段前記 アプリケーションのソースコードを解析し、前記
UI画面で発生するイベント処理で呼び出され処理関
数の関数名,戻り値の型,引数の型,引数名を含む処理
関数データを作成する処理関数データ抽出部と、前記 アプリケーションのソースコードを解析し、前記
UI画面におけるGUI部品の種類,属性及び当該GU
部品で発生するイベント処理で呼び出され処理と前
記処理関数データとの関係を含む情報からGUI画面デ
ータを作成するGUI画面データ抽出部と、 を備える請求項3記載のクライアント/サーバアプリケ
ーション作成装置。
Wherein said data analyzing means analyzes the source code of the application, the G
Function name of processing functions Ru called in the event happens to the UI screen, the return type, argument types, and the processing function data extracting unit for creating a processing function data including the argument name, analyzes the source code of the application And the above G
Type of GUI components in the UI screen, the attribute and the GU
GUI screen data extraction unit and a client / server application creating system of claim 3, further comprising a creating GUI screen data from the information including the relationship between the processing and the processing function data that is called in the event happens to the I component .
【請求項5】 前記データ記憶手段前記 処理関数データ抽出部で作成された処理関数データ
を記憶する処理関数データ記憶部と、前記 GUI画面データ抽出部で作成されたGUI画面デ
ータを記憶するGUI画面データ記憶部と、 を備える請求項4記載のクライアント/サーバアプリケ
ーション作成装置。
Wherein said data storage means, a processing function data storage unit that stores processing function data generated by the processing function data extracting section, and stores the GUI screen data generated by the GUI screen data extractor The client / server application creation device according to claim 4 , further comprising: a GUI screen data storage unit.
【請求項6】 前記アプリケーション作成手段前記 データ記憶手段に記憶された処理関数データから、
GUI画面で発生するイベント処理で呼び出され処理
関数のインタフェースを作成するインタフェース作成部
と、 前記インタフェース作成部で作成されたインタフェース
基づいてサーバ用処理ソースコードを作成するサーバ
スケルトン作成部と、 前記インタフェース作成部で作成されたインタフェース
基づいてクライアント用処理ソースコードを作成する
クライアントスタブ作成部と、前記 アプリケーションのソースコード及び前記サーバス
ケルトン作成部で作成されたサーバ用処理ソースコード
からサーバアプリケーションを作成するサーバアプリケ
ーション作成部と、 前記データ記憶手段に記憶されたGUI画面データ及び
前記クライアントスタブ作成部で作成されたクライアン
ト用処理ソースコードからクライアントアプリケーショ
ンを作成するクライアントアプリケーション作成部と、 を備える請求項3,4又は5記載のクライアント/サー
バアプリケーション作成装置。
Wherein said application creating means, from the stored processing functions data in the data storage device,
An interface creation unit that creates an interface processing function Ru called in the event happens to the GUI screen, the server skeleton creation unit for creating a processing source code server based on the interface created by the interface creation unit, wherein creating and client stubs creation unit for creating a processing source code for the client based on the interface that is created, the server application from the processing source code for the server that is created by the source code and the server skeleton creation unit of the application at the interface creation unit A server application creating unit that executes the client application application from the GUI screen data stored in the data storage unit and the client processing source code created by the client stub creating unit. Client / server application creating system according to claim 3, 4 or 5, further comprising a client application creating unit, a creating Shon.
【請求項7】 前記出力手段、 前記アプリケーション作成手段で作成されたサーバアプ
リケーションソースコードを記憶装置に送出するサーバ
アプリケーション出力部と、 前記アプリケーション作成手段で作成されたクライアン
トアプリケーションソースコードを記憶装置に送出する
クライアントアプリケーション出力部と、 を備える請求項3,4,5又は6記載のクライアント/
サーバアプリケーション作成装置。
Wherein said output means, and a server application output unit for sending the server application source code created by the application creating means to the storage device, the client application source code created by the application creating means in the storage device and a client application output unit for sending, according to claim 3, 4, 5 or 6 wherein comprises a client /
Server application creation device.
【請求項8】 前記データ解析手段が、前記 アプリケーションソースコードに含まれるすべて
のGUI画面を抽出するGUI画面抽出部と前記アプリケーションのソースコードに含まれるすべて
のGUI画面間の遷移関係を抽出して GUI画面遷移デ
ータを作成するGUI画面遷移データ抽出手段と、 抽出されたすべてのGUI画面のうち、前記クライアン
トアプリケーションで用いられる二以上のGUI画面を
選択する画面選択手段と、を備え、 前記 データ記憶手段が、 前記データ解析手段で作成されたGUI画面遷移データ
を記憶するGUI画面遷移データ記憶部を備え、 前記アプリケーション作成手段が、前記クライアントア
プリケーションを、前記クライアント用処理ソースコー
ドと、選択された前記二以上のGUI画面のデータ及び
当該二以上のGUI画面間の遷移データから生成する請
求項3,4,5,6又は7記載の クライアント/サーバ
アプリケーション作成装置。
8.The aboveData analysis meansThe above applicationofIn source codeAll included
The GUI screen ofGUI screen extractor,All included in the source code of the application
Extract the transition relationship between GUI screens GUI screen transition data
Create dataGUI screen transition data extracting means, Of all the extracted GUI screens, the client
Two or more GUI screens used in
Screen selection means for selecting, The above Data storage means GUI screen transition data created by the data analysis means
RememberA GUI screen transition data storage unit is provided, The application creating means is configured to execute the client application.
Application to the client processing source code
And data of the selected two or more GUI screens and
Contract generated from transition data between the two or more GUI screens
According to claim 3, 4, 5, 6 or 7 Client / server
Application creation device.
【請求項9】 前記GUI画面遷移データ抽出手段が、 前記GUI画面データ間の遷移関係を抽出し、遷移元,
イベント処理,遷移先を含むGUI画面遷移データを作
成する請求項8 記載のクライアント/サーバアプリケー
ション作成装置。
9.The GUI screen transition data extraction means, The transition relationship between the GUI screen data is extracted,
Create GUI screen transition data including event processing and transition destination
Claim 8 Described client / server application
Creation device.
【請求項10】 単独で動作するアプリケーションに含
まれるグラフィカルユーザインタフェース(GUI)画
面を検索し、当該GUI画面で発生するイベント処理で
呼び出される処理関数のデータを抽出し、 前記アプリケーションのソースコードから前記GUI画
面のデータを抽出し、 抽出された前記処理関数のデータから、当該処理関数の
インタフェースを作成し、 このインタフェースから、サーバ用処理ソースコード及
びクライアント用処理ソースコードを作成し、 前記クライアント用処理ソースコード及び前記GUI画
面のデータから、前記処理関数の実行要求を行うクライ
アントアプリケーションを生成し、 前記サーバ用処理ソースコード及び前記アプリケーショ
ンのソースコードから、前記クライアントアプリケーシ
ョンの処理関数の実行要求に応答するサーバアプリケー
ションを生成する制御を実行させるためのプログラムを
格納したことを特徴とする情報記録媒体。
10. A graphical user interface (GUI) screen included in an independently operating application is searched, data of a processing function called in event processing generated in the GUI screen is extracted, and the source code of the application is used to extract the data. GUI screen data is extracted, an interface of the processing function is created from the extracted data of the processing function, a server processing source code and a client processing source code are created from this interface, and the client processing is performed. A client application that requests execution of the processing function is generated from the source code and the data of the GUI screen, and the client application processing is performed from the server processing source code and the source code of the application. Information recording medium characterized by storing a program for executing a control to generate a server application that responds to the function execution request.
【請求項11】 前記請求項10記載の情報記録媒体
が、 前記アプリケーションのソースコードに含まれるすべて
のGUI画面のデータを抽出し、 前記アプリケーションソースコードに含まれるすべての
GUI画面間の遷移データを抽出し、 抽出されたすべてのGUI画面のうち、前記クライアン
トアプリケーションで用いられる二以上のGUI画面が
選択されることにより、前記クライアントアプリケーシ
ョンを、前記クライアント用処理ソースコードと、選択
された前記二以上のGUI画面のデータ及び当該二以上
のGUI画面間の遷移データから生成する制御を実行さ
せるためのプログラムを格納したことを特徴とする情報
記録媒体。
11. The information recording medium according to claim 10, wherein data of all GUI screens included in the source code of the application is extracted, and transition data between all GUI screens included in the application source code is extracted. By selecting two or more GUI screens used in the client application from among all extracted GUI screens, the client application is selected as the client processing source code and the selected two or more GUI screens. Control that is generated from the data of the GUI screen and the transition data between the two or more GUI screens.
An information recording medium having a program for storing the information stored therein.
JP30924898A 1998-10-29 1998-10-29 Method and apparatus for creating client / server application and information recording medium Expired - Fee Related JP3449256B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30924898A JP3449256B2 (en) 1998-10-29 1998-10-29 Method and apparatus for creating client / server application and information recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30924898A JP3449256B2 (en) 1998-10-29 1998-10-29 Method and apparatus for creating client / server application and information recording medium

Publications (2)

Publication Number Publication Date
JP2000137600A JP2000137600A (en) 2000-05-16
JP3449256B2 true JP3449256B2 (en) 2003-09-22

Family

ID=17990723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30924898A Expired - Fee Related JP3449256B2 (en) 1998-10-29 1998-10-29 Method and apparatus for creating client / server application and information recording medium

Country Status (1)

Country Link
JP (1) JP3449256B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002109088A (en) * 2000-10-03 2002-04-12 Matsushita Electric Ind Co Ltd Energy analysis order reception system and software order reception system
KR101049718B1 (en) * 2008-12-29 2011-07-19 에스케이 텔레콤주식회사 How to perform software separation, device, and computer-readable recording media
JP5414633B2 (en) * 2010-07-05 2014-02-12 三菱電機株式会社 Application execution apparatus and application execution method
KR101301606B1 (en) * 2010-10-28 2013-08-29 삼성에스디에스 주식회사 Apparatus and method for generating applications automatically
WO2015045108A1 (en) * 2013-09-27 2015-04-02 三菱電機株式会社 Client/server program generation device and client/server program generation program
KR102150545B1 (en) * 2013-10-07 2020-10-26 에스케이플래닛 주식회사 Apparatus, method and computer-readable medium for development web application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
クライアント/サーバーにCASEツールの対応進む,日経コンピュータ,日本,日経BP社,1994年 1月10日,第328号,113−122

Also Published As

Publication number Publication date
JP2000137600A (en) 2000-05-16

Similar Documents

Publication Publication Date Title
US6651240B1 (en) Object-oriented software development support apparatus and development support method
US5917730A (en) Computer implemented object oriented visualization system and method
US5274801A (en) Artifical intelligence delivery system
US5485544A (en) History sensitive help control method and system
RU2347262C2 (en) Method and system for record of macroses in syntax independent of language
US7603624B2 (en) System and method for styling content in a graphical user interface control
JPH06266521A (en) System and device for customizing user interface
JPH11191062A (en) Application image development support system
CA2089842C (en) Language processing system using object networks
US5781905A (en) Program generating method combining data item part with database manipulation part
JP3449256B2 (en) Method and apparatus for creating client / server application and information recording medium
CN113971037A (en) Application processing method and device, electronic equipment and storage medium
CN115701299A (en) Combined local and server context menu
US7606717B2 (en) Isolating user interface design from business object design using Java interface concepts
JP3294691B2 (en) Object-oriented system construction method
JP2001265726A (en) Automated application and procedure capable of performing high speed recovery and rearrangement of computer work load
JP2004362343A (en) Source code conversion apparatus, source code conversion method, and program
JPH08101766A (en) Method and device for operation of computer
JPH113217A (en) Communication service development supporting device and method, and recording medium for communication service development supporting program
JP3305782B2 (en) Software standardization method and software product analysis method
JP2000020296A (en) Program change support device
JPH07200233A (en) Graphic parts management device
JP2002140193A (en) Information processing unit, its method and computer- readable memory
JP2024057728A (en) JOB DEFINITION CREATION SYSTEM AND JOB DEFINITION CREATION METHOD
JP2878159B2 (en) Transaction processing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees