JP6264487B2 - Information processing apparatus, processing method thereof, and program - Google Patents
Information processing apparatus, processing method thereof, and program Download PDFInfo
- Publication number
- JP6264487B2 JP6264487B2 JP2017045391A JP2017045391A JP6264487B2 JP 6264487 B2 JP6264487 B2 JP 6264487B2 JP 2017045391 A JP2017045391 A JP 2017045391A JP 2017045391 A JP2017045391 A JP 2017045391A JP 6264487 B2 JP6264487 B2 JP 6264487B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- definition information
- output definition
- web service
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、プログラムを生成するための情報処理装置と、その処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus for generating a program, a processing method thereof, and a program.
従来から、入出力定義やデータモデル定義などを設定し、Webアプリケーションのプログラムを生成するWebアプリケーション開発ツールが存在する。 Conventionally, there are Web application development tools that set an input / output definition, a data model definition, and the like and generate a Web application program.
そのWebアプリケーション開発ツールによって生成されたWebアプリケーションのビジネスロジックを外部アプリケーションから利用させるために、当該WebアプリケーションをWebサービス化したいという要望があった。また、当該Webアプリケーションのビジネスロジックと当該Webアプリケーション開発ツール以外で作成した画面レイアウトとを組み合わせてシステムを構築するために、当該WebアプリケーションをWebサービス化したいという要望もあった。 In order to use the business logic of a web application generated by the web application development tool from an external application, there has been a demand for making the web application a web service. In addition, there is a demand to convert the Web application to a Web service in order to construct a system by combining the business logic of the Web application and a screen layout created by other than the Web application development tool.
なお、Webサービスとして公開するためには、Webサービス定義情報(Webサービスの利用に必要なインタフェースの定義情報。例えば、WSDL(Web Services Description Language)で記述されたファイル。以下、WSDLファイルと記す。)を生成する必要があり、WSDLの記載方法に不慣れな開発者にとっては、WSDLファイルを生成することが難しかった。 In order to publish as a Web service, Web service definition information (interface definition information necessary for using the Web service. For example, a file described in WSDL (Web Services Description Language), hereinafter referred to as a WSDL file. It is difficult for a developer who is not familiar with the WSDL description method to generate a WSDL file.
特許文献1には、Webコンテンツの編集作業により生成されたXMLファイルを用いて、WSDLファイルを生成する仕組みが示されている。また、特許文献2には、Webアプリケーションのプログラムを自動生成するツールにおいて、GUIレイアウト画面と呼ばれるレイアウトエディタを用いて、Webアプリケーションの画面の入力項目(検索条件テキストボックスや検索ボタン等)及び出力項目(検索結果等)の配置レイアウト及び属性を定義し、その入出力定義情報に基づいてWebアプリケーションのプログラムを生成する仕組みが示されている。
しかし、特許文献1の仕組みは、Webコンテンツを用いてWSDLファイルを生成するのみである。よって、特許文献1の仕組みでは、Webアプリケーション開発ツールによって生成されたWebアプリケーションをWebサービス化したい場合、Webアプリケーション用の入出力定義情報を用いてWSDLファイルを生成することができないという問題がある。つまり、Webアプリケーション用の入出力定義情報とは別に、Webサービス用の入出力定義情報を新たに設定し、WSDLファイルを生成しなければならないため、開発作業が繁雑という問題がある。
However, the mechanism of
また、特許文献2の仕組みは、Webアプリケーションの画面の入出力定義情報を用いて、Webアプリケーションとして用いられるプログラムを生成する仕組みである。よって、特許文献2の仕組みでは、Webアプリケーションの画面の入出力定義情報を用いたとしても、Webサービス定義情報を生成することができないという問題がある。
The mechanism of
また、通常、入出力定義情報には複数の定義項目が存在するため、Webサービスの開発者がそれらを誤りなく設定しなければならないため設定ミスが生じやすく、Webアプリケーションとの整合性も取りづらいため、Webサービスの開発及び管理が大変という問題もある。 In general, since there are a plurality of definition items in the input / output definition information, a Web service developer must set them without error, so that setting errors are likely to occur and consistency with Web applications is difficult to achieve. Therefore, there is a problem that the development and management of the Web service is difficult.
また、WebアプリケーションとWebサービスとの両方から同じビジネスロジックを使用する場合、入出力定義情報も同じとなるケースが多く、Webアプリケーションの画面の入出力定義情報を用いて、Webサービス定義情報を生成することにより、Webアプリケーションを容易にWebサービス化したいという課題もある。 Also, when the same business logic is used from both the web application and the web service, the input / output definition information is often the same, and the web service definition information is generated using the input / output definition information on the screen of the web application. By doing so, there is also a problem of easily converting a Web application to a Web service.
そこで、本発明の目的は、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を容易に生成する仕組みを提供することである。 Accordingly, an object of the present invention is to provide a mechanism for easily generating Web service definition information using input / output definition information of a Web application.
Webアプリケーションとして用いられるプログラムを生成する情報処理装置であって、前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される入力定義情報と、前記画面に出力する項目を定義する出力定義情報とを入出力定義情報として管理する入出力定義管理手段と、Webアプリケーションとして用いられるプログラムの生成指示を受け付ける第1指示受付手段と、Webサービスとして用いられるプログラムの生成指示を受け付ける第2指示受付手段と、前記第1指示受付手段により生成指示を受け付けた場合は、前記入出力定義管理手段により管理されている入出力定義情報を用いて、前記Webアプリケーションとして用いられるプログラムを生成し、一方、前記第2指示受付手段により生成指示を受け付けた場合は、前記入出力定義管理手段により管理されている入出力定義情報を用いて、前記Webサービスのインターフェース定義情報及び当該Webサービスとして用いられるプログラムを生成することを制御する生成制御手段とを備えることを特徴とする情報処理装置。
An information processing apparatus that generates a program used as a Web application, and is information that can be used to generate the Web application, and includes input definition information input via a screen of the Web application, and the screen Input / output definition managing means for managing output definition information defining items to be output as input / output definition information, first instruction receiving means for receiving a generation instruction for a program used as a Web application, and a program used as a Web service a second instruction accepting means for accepting an instruction for generating, when receiving a generation instruction by the first instruction accepting means uses the input output definition information managed by the input definition managing means, the Web application Generate a program used as Write, wherein when accepting a generation instruction by the second instruction accepting means, with the input and output definition information managed by the input definition managing unit, used as an interface definition information and the Web service of the Web Service An information processing apparatus comprising generation control means for controlling generation of a program to be executed.
本発明によれば、Webアプリケーションの入出力定義情報を用いて、Webサービスの定義情報を容易に生成する仕組みを提供することができる。 According to the present invention, it is possible to provide a mechanism for easily generating Web service definition information using input / output definition information of a Web application.
以下、本発明の実施の形態を、図面を参照して詳細に説明するが、本発明の特徴の一例を表している箇所は、図33〜図35、図36、図37である。
〔第1の実施形態〕
図1は、本発明に係わるプログラム開発装置(開発者がWebアプリケーション生成のために使用する情報処理装置)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバの構成の一例を示すシステム(情報処理システム)構成図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The portions representing an example of the features of the present invention are FIGS. 33 to 35, 36, and 37.
[First Embodiment]
FIG. 1 shows an example of the configuration of a program development apparatus (information processing apparatus used by a developer for generating a Web application), a program development server, a database server, an application client (client apparatus), and an application server according to the present invention. 1 is a system (information processing system) configuration diagram.
プログラム開発装置101は、開発者の操作に従って画面レイアウト及びデータベース検索指示などを定義する。プログラム開発装置101単体では、開発者の入力受付を行い、後述するプログラム開発サーバ102に実際のプログラム生成処理、アプリケーション生成処理をさせてもよいし、プログラム開発装置101単体でプログラム生成、アプリケーション生成まで処理してもよい。
The
なお、この実施形態においては、プログラム開発装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。
In this embodiment, the application generated by the
プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。
The
データベースサーバ103a〜103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。
The
アプリケーションサーバ105a〜105b(情報処理装置)は、プログラム開発装置101で開発されたアプリケーションを実行する。LANなどのネットワーク106内に配置されてもよい(アプリケーションサーバ105a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションサーバ105b)。また、ネットワーク106、インターネット、クラウド上のデータベースサーバ103と接続して動作する可能である。
Application servers 105a to 105b (information processing apparatuses) execute applications developed by the
アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。携帯端末などの情報処理装置であってもよい。
The
図2は、本発明に係わるプログラム開発装置101、プログラム開発サーバ102、データベースサーバ103、アプリケーションクライアント104、アプリケーションサーバ105として適用可能な各ハードウェア構成の一例を示すブロック図である。
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the
In FIG. 2, the
また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
The
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The
入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
The
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The
外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
The
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
The communication I /
本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
A
図3は、本発明の実施の形態のソフトウェア構成を示すブロック図の一例である。
プログラム開発装置101は、以下の機能部を備える。
FIG. 3 is an example of a block diagram illustrating a software configuration according to the embodiment of this invention.
The
入出力定義管理部301は、プログラムへ引数として入力される項目を定義する入力定義情報と、プログラムから処理結果として出力する項目を定義する出力定義情報とを入出力定義情報として管理する機能部である。
The input / output
入出力定義管理部301は、Webアプリケーションの画面を介して入力される項目を定義する入力定義情報と、画面に出力する項目を定義する出力定義情報とを入出力定義情報として管理する機能部である。
The input / output
実行形態設定部302は、プログラムが実行される形態を設定する機能部である。 The execution form setting unit 302 is a functional part that sets the form in which the program is executed.
選択受付部313は、プログラムをWebサービスとして用いるかの選択を受け付ける機能部である。 The selection receiving unit 313 is a functional unit that receives selection of whether to use a program as a Web service.
プログラム生成制御部303は、実行形態設定部302により設定された実行形態に従って、入出力定義管理部301により管理されている入出力定義情報を用いて、Webアプリケーションとして用いられるプログラムを生成するかWebサービスとして用いられるプログラムを生成するかを制御する機能部である。
The program
プログラム生成制御部303は、入出力定義管理部301により管理されている入出力定義情報を用いて、選択受付部313により受け付けた選択に従って、Webアプリケーションとして用いられるプログラム及び当該Webアプリケーションの処理結果を表示するための画面を出力するプログラムを生成するか又はWebサービスの利用に必要なインタフェースの定義情報及び当該Webサービスとして用いられるプログラムを生成するかを制御する機能部である。
The program
設定受付部304は、入出力定義管理部301により管理されている入出力定義情報の設定を受け付ける機能部である。
The
設定受付部304により設定を受け付けた入力定義情報は、Webサービスを利用するユーザによって画面から入力される値を表す文字列を含む。
The input definition information whose setting is received by the
設定受付部304により設定を受け付けた出力定義情報は、Webサービスを利用した結果、取得される値を表す文字列を含む。
The output definition information whose setting is received by the
記憶部305は、Webアプリケーションに用いられるプログラムおよびWebサービスに用いられるプログラムを生成するルールを記憶する機能部である。
The
記憶部305は、Webアプリケーションとして用いられるプログラム及びWebサービスとして用いられるプログラムを生成するルールを記憶する機能部である。
The
プログラム生成制御部303は、実行形態設定部302により設定された実行形態がWebサービスである場合に、設定受付部304により設定を受け付けた入力定義情報に含まれるWebサービスを利用するユーザによって画面から入力される値を表す文字列、及び設定受付部304により設定を受け付けた出力定義情報に含まれるWebサービスを利用した結果、取得される値を表す文字列のうち少なくとも一方と、記憶部305に記憶されているルールを用いて、Webサービスの利用に必要なインタフェースとなるメッセージを生成し、当該メッセージを含むXMLファイルを生成する機能部である。
When the execution form set by the execution form setting unit 302 is a Web service, the program
プログラム生成制御部303は、選択受付部313により受け付けた選択に従って、設定受付部304により設定を受け付けた入力定義情報に含まれるWebサービスを利用するユーザによって画面から入力される値を表す文字列、及び設定受付部304により設定を受け付けた出力定義情報に含まれるWebサービスを利用した結果、取得される値を表す文字列のうち少なくとも一方と、記憶部305に記憶されているルールを用いて、Webサービスの利用に必要なインタフェースの定義情報を生成する機能部である。
The program
プログラム生成制御部303は、入出力定義管理部301により管理されている入力定義情報と出力定義情報のうち、Webサービスに必要な情報を用いて、Webサービスとして用いられるプログラムを生成する機能部である。
The program
プログラム生成制御部303は、入出力定義管理部301により管理されている入力定義情報と出力定義情報のうち、Webサービスに必要な情報を用いて、Webサービスの利用に必要なインタフェースの定義情報を生成する機能部である。
The program
入出力定義生成部306は、入出力定義管理部301により管理されている入出力定義情報に基づき、新たな入出力定義情報を生成する機能部である。
The input / output
対応付管理部307は、入出力定義生成部306により生成された入出力定義情報と、当該入出力定義情報の生成の基となった入出力定義情報とを関連付けて管理する機能部である。
The
設定変更受付部308は、入出力定義管理部301により管理されている入出力定義情報の設定の変更を受け付ける機能部である。、
通知部309は、設定変更受付部308により設定の変更を受け付けた入出力定義情報が対応付管理部307により他の入出力定義情報と対応付けて管理されている場合、ユーザに通知する機能部である。
The setting
The
指示受付部310は、Webサービスに用いられるプログラムの生成指示を受け付ける機能部である。、
指示受付部310は、Webサービスとして用いられるプログラムの生成指示を受け付ける機能部である。、
プログラム生成部311は、指示受付部310により受け付けた生成指示に従って、入出力定義管理部301により管理されている入力定義情報と出力定義情報とを用いて、Webサービスとして用いられるプログラムを生成する機能部である。
The instruction receiving unit 310 is a functional unit that receives a generation instruction for a program used for a Web service. ,
The instruction receiving unit 310 is a functional unit that receives a generation instruction for a program used as a Web service. ,
The program generation unit 311 generates a program used as a Web service using the input definition information and the output definition information managed by the input / output
プログラム生成部311は、指示受付部310により受け付けた生成指示に従って、入出力定義管理部301により管理されている入力定義情報と出力定義情報とを用いて、Webサービスの利用に必要なインタフェースの定義情報及び当該Webサービスとして用いられるプログラムを生成する機能部である。
The program generation unit 311 uses the input definition information and the output definition information managed by the input / output
判定部312は、入出力定義管理部301により管理されている入力定義情報と出力定義情報とを用いて、Webサービスとして用いられるプログラムを生成するか否かを判定する機能部である。
プログラム生成部311は、判定部312により、Webサービスとして用いられるプログラムを生成すると判定した場合は、Webアプリケーションとして用いられるプログラムとWebサービスとして用いられるプログラムとを生成し、Webサービスとして用いられるプログラムを生成しないと判定した場合は、Webアプリケーションとして用いられるプログラムを生成する機能部である。
The
When the determining
図4は、プログラム開発装置101の構成図である。プログラム開発装置101は、Webアプリケーションを開発する開発者が定義した定義ファイルをもとにWebアプリケーションを自動生成することを目的とした装置である。プログラム開発装置101は、リポジトリ定義部400、アプリケーション生成部410、Webアプリケーションコード生成部420、Webサービスコード生成部430、ソースコードコンパイル部440により構成される。
FIG. 4 is a configuration diagram of the
リポジトリ定義部400は、データベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405、Webサービス入出力定義406(以下、Webサービス用の入出力定義406と記す)を備える。これらのファイルは、Webアプリケーション開発ツールを介して開発者によって入力され、作成される。
The
すなわち、リポジトリ定義部400は、プログラムへ引数として入力される項目を定義する入力定義情報と、プログラムから処理結果として出力する項目を定義する出力定義情報とを入出力定義情報として管理する手段の一例である。
That is, the
なお、この入力定義情報は、生成されたWebアプリケーションの画面を介して当該Webアプリケーションのユーザが入力する入力項目を定義した情報であり、出力定義情報は、生成されたWebアプリケーションの画面として出力する出力項目を定義した情報である、と言い換えることができる。 The input definition information is information defining input items input by the user of the Web application via the generated Web application screen, and the output definition information is output as the generated Web application screen. In other words, the information defines the output items.
よって、リポジトリ定義部400は、生成されたプログラムの実行によって表示されるWebアプリケーションの画面を介して入力される項目を定義する入力定義情報と、画面に出力する項目を定義する出力定義情報とを入出力定義情報として管理する手段の一例である。
Therefore, the
そのため、Webアプリケーションの画面における入出力定義情報を、Webサービスとして用いられるプログラムにおける入出力定義情報として利用することができる。 Therefore, the input / output definition information on the screen of the Web application can be used as input / output definition information in a program used as a Web service.
これにより、Webアプリケーションの開発フェーズにおいてよくある、画面項目の追加・変更・削除は、Webアプリケーション開発ツールのレイアウトエディタ等を介して、Webアプリケーション画面の入出力項目を直感的に追加・変更・削除することで、Webアプリケーションとして用いられるプログラムだけでなく、Webサービスとして用いられるプログラムにも反映されるため、Webサービスとして用いられるプログラムを容易に生成することができる。 As a result, screen item additions / changes / deletions that are common in the Web application development phase are intuitively added / changed / deletion of input / output items on the Web application screen via the layout editor of the Web application development tool. By doing so, since it is reflected not only in the program used as the Web application but also in the program used as the Web service, the program used as the Web service can be easily generated.
また、Webアプリケーションの開発においては、Webアプリケーション画面を介してエンドユーザによって入力された値のクライアント端末におけるバリデーションチェック処理(例:JavaScript(登録商標))、その入力値をサーバが受信した際のバリデーションチェック処理(例:サーバサイドJava(登録商標))のように、2回チェック処理を行わなくてはならないケースが多い。
Further, in the development of a web application, a validation check process (for example, JavaScript (registered trademark)) at a client terminal of a value input by an end user via a web application screen, and validation when the server receives the input value In many cases, the check process must be performed twice as in the check process (eg, server-side Java (registered trademark)).
次に、Webアプリケーションコード生成部420について説明する。リポジトリ定義解析部421は、リポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を読み込み解析する。Webアプリケーションコード生成部422は、外部メモリ211に記憶されているコード生成ルールと、リポジトリ定義解析部421によって解析された内容とを用いて、ソースコードコンパイル部440を介し、Webアプリケーションモジュール454を生成する。すなわち、Webアプリケーションコード生成部422は、Webアプリケーションとして用いられるプログラムを生成するルールを記憶する手段の一例である。
Next, the web application
次に、Webサービスコード生成部430について説明する。Webサービス入出力定義解析部431は、リポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、ビジネスプロセス定義405、Webサービス用の入出力定義406を読み込み解析する。Webサービスインタフェースコード生成部432は、外部メモリ211に記憶されているコード生成ルールと、Webサービス入出力定義解析部431によって解析された内容とを用いて、ソースコードコンパイル部440を介し、Webアプリケーションモジュール454を生成する。また、WSDL生成部433は、Webサービス入出力定義解析部431によって解析された内容を用いて、Webサービスモジュール451を生成する。
すなわち、Webサービスコード生成部430は、Webサービスとして用いられるプログラムを生成するルールを記憶する手段の一例である。
Next, the Web service
That is, the Web service
図5は、Webアプリケーション/Webサービス生成のフローチャートの一例を示す図である。なお、以下のフローチャートの各ステップは、各装置のCPU201が実行する。
ステップS501において、プログラム開発装置101は、ユーザによるWebアプリケーション/Webサービス生成指示を受け付けると、外部メモリ211に記憶されているリポジトリ定義部400のアプリケーション定義402をRAM202に読み込む。すなわち、ステップS501は、Webサービスとして用いられるプログラムの生成指示を受け付ける処理の一例を示すステップである。
FIG. 5 is a diagram illustrating an example of a flowchart of Web application / Web service generation. Each step of the following flowchart is executed by the
In step S <b> 501, upon receiving a Web application / Web service generation instruction from the user, the
ステップS502において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のデータモデル定義403をRAM202に読み込む。
In step S <b> 502, the
ステップS503において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400の入出力定義404をRAM202に読み込む。
In step S <b> 503, the
ステップS504において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のビジネスプロセス定義405をRAM202に読み込む。
In step S <b> 504, the
ステップS505において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のデータベース定義401をRAM202に読み込む。
In step S <b> 505, the
ステップS506において、プログラム開発装置101は、RAM202に読み込んだリポジトリ定義部400の各定義・各ファイルから情報を取得し、ソースコードを生成する。
In step S506, the
なお、生成されたソースコードにはプログラミング言語が記載されたファイルに加え、HTML、JSP、JavaScript(登録商標)等のWebアプリケーションやWebサービスの提供に利用されるファイルも含まれる。ソースコード生成処理については、図6にて詳細を説明する。 The generated source code includes files used for providing web applications and web services such as HTML, JSP, Javascript (registered trademark), in addition to files describing a programming language. Details of the source code generation processing will be described with reference to FIG.
ステップS507において、プログラム開発装置101は、ステップS506にて生成したソースコードをアプリケーションサーバ105に配置(デプロイ)する。これにより、アプリケーションサーバ105上でWebアプリケーション又はWebサービスが動作するようになる。
In step S507, the
以上で、図5の説明を終了する。
This is the end of the description of FIG.
図6は、ソースコード生成のフローチャートの一例を示す図である。
ステップS601において、プログラム開発装置101は、RAM202から、Webアプリケーション又はWebサービスの生成を指示されたアプリケーション定義402に対応付けられている入出力定義404又はWebサービス用の入出力定義406を取得し、取得した入出力定義404又はWebサービス用の入出力定義406について、それぞれステップS602〜ステップS604を繰り返す。
FIG. 6 is a diagram illustrating an example of a source code generation flowchart.
In step S601, the
ステップS602において、プログラム開発装置101は、取得した入出力定義404又はWebサービス用の入出力定義406の実行形態(図17の入出力タイプ1701の値、又は図19の入出力タイプ1901の値)を判定し、入出力タイプ1701のように値が“IO”の場合はWebアプリケーション用の入出力定義404であると捉えてステップS603に進み、入出力タイプ1901のように値が“WEB SERVICE”の場合はWebサービス用の入出力定義406であると捉えてステップS604に進む。
In step S602, the
すなわち、入出力タイプ1701は、プログラムが実行される形態を設定する手段の一例である。また、プログラムをWebサービスとして用いるかの選択を受け付ける手段の一例である。
In other words, the input /
また、ステップS602は、設定された実行形態に従って、入出力定義情報を用いて、Webアプリケーションに用いられるプログラムを生成するかWebサービスに用いられるプログラムを生成するかを制御する処理の一例を示すステップである。 Step S602 is a step showing an example of processing for controlling whether to generate a program used for a Web application or a program used for a Web service using the input / output definition information according to the set execution form. It is.
また、ステップS602は、入出力定義情報を用いて、受け付けた選択に従って、Webアプリケーションとして用いられるプログラム及び当該Webアプリケーションの処理結果を表示するための画面を出力するプログラムを生成するか又はWebサービスの利用に必要なインタフェースの定義情報及び当該Webサービスとして用いられるプログラムを生成するかを制御する処理の一例を示すステップである。 In step S602, the input / output definition information is used to generate a program used as a Web application and a program for outputting a screen for displaying the processing result of the Web application, or a Web service according to the received selection. It is a step showing an example of processing for controlling whether interface definition information required for use and a program used as the Web service are generated.
また、図17〜図19の入出力定義画面は、入出力定義情報の設定を受け付ける手段の一例である。 Also, the input / output definition screens of FIGS. 17 to 19 are examples of means for accepting the setting of input / output definition information.
ステップS603において、プログラム開発装置101は、入出力定義404を用いて、Webアプリケーション用の入出力定義ソースコードを生成する。具体的には、入出力定義404から、入出力項目(図32の項目タイプ3201=IO(入出力)又はI(入力)の項目)、画面表示に必要なパラメータ(図32の初期値3202)、検索対象(図17の対象データモデル1702)、検索条件(図17の対象条件1703)を取得し解析し、図28の2801、2802のようなWebアプリケーション用の入出力定義ソースコードを生成する。
In step S603, the
なお、2801のメソッドの戻り値を、入出力定義コード名3203+“Disp”とする。また、入出力項目(図32の項目タイプ3201=IO(入出力)又はI(入力)の項目)は、2801のparamList及び2802のformに含まれることになる。よって、入出力定義404の項目タイプ3201の各設定は、ActionFormクラスのgetter/setterメソッド、JSPファイル内の対応する画面項目のIDやNAMEなどに反映されて、Webアプリケーション用の入出力定義ソースコードが生成される。
The return value of the
なお、図32は、Webアプリケーション用の入出力定義画面(項目一覧)3200の一例を示す図であり、ユーザによって表示タブ「入出力(図32の3204)」が押下されると、図17のWebサービス用の入出力定義画面(入出力)1700を表示する。 FIG. 32 is a diagram showing an example of an input / output definition screen (item list) 3200 for a Web application. When the display tab “input / output (3204 in FIG. 32)” is pressed by the user, FIG. An input / output definition screen (input / output) 1700 for the Web service is displayed.
ステップS604において、プログラム開発装置101は、Webサービス用の入出力定義406を用いて、Webサービス用の入出力定義ソースコードを生成する。すなわち、ステップS604は、受け付けたプログラム生成指示に従って、入力定義情報と出力定義情報とを用いて、Webサービスとして用いられるプログラムを生成する処理の一例を示すステップである。この処理については、後述する図7にて詳細を説明する。
In step S604, the
以上により、設定した入出力定義情報を用いて、WebアプリケーションやWebサービスなど開発者が所望する形態に応じたプログラムファイルを容易に生成することができるようになる。特に、アプリケーションかWebサービスを容易に切り替えさせ、所望の形態のプログラムファイルを生成することができるようになる。 As described above, it is possible to easily generate a program file according to a form desired by a developer, such as a Web application or a Web service, using the set input / output definition information. In particular, it is possible to easily switch between an application or a Web service and generate a program file in a desired form.
以上で、図6の説明を終了する。
This is the end of the description of FIG.
図7は、Webサービスソースコード生成のフローチャートの一例を示す図である。
ステップS701において、プログラム開発装置101は、Webサービス用の入出力定義406を解析する。具体的には、入出力定義404から、入出力項目(図18の項目タイプ1801=IO(入出力)又はI(入力)の項目)、画面表示に必要なパラメータ(図18の初期値1802)、検索対象(図19の対象データモデル1902)、検索条件(図19の対象条件1903)を取得し解析する。
FIG. 7 is a diagram illustrating an example of a flowchart of Web service source code generation.
In step S701, the
なお、図18は、Webサービス用の入出力定義画面(項目一覧)1800の一例を示す図であり、ユーザによって表示タブ「入出力(図18の1804)」が押下されると、図19のWebサービス用の入出力定義画面(入出力)1900を表示する。 FIG. 18 is a diagram showing an example of an input / output definition screen (item list) 1800 for a Web service. When the display tab “input / output (1804 in FIG. 18)” is pressed by the user, FIG. An input / output definition screen (input / output) 1900 for the Web service is displayed.
なお、図17と図19、図18と図32の画面構成は同じであり、図29で後述するが、入出力定義404は、既存の入出力定義をコピーして作成することができる。よって、Webサービス用の入出力定義406には、画面表示上の装飾等(例えば、ラジオボタンやセレクトボックス等、どのような画面部品を用いて表示するか等)、Webサービスに不要な設定も含まれる。そのため、ステップS701では、Webサービス用の入出力定義406の解析を行う際に、Webサービスに不要な設定を除き、解析を行う。これにより、解析処理をより短い時間で行うことができるようになる。
The screen configurations of FIGS. 17 and 19 and FIGS. 18 and 32 are the same, and will be described later with reference to FIG. 29. However, the input /
すなわち、ステップS701は、入力定義情報と出力定義情報のうち、Webサービスに必要な情報を用いて、Webサービスとして用いられるプログラムを生成する処理の一例を示すステップである。また、ステップS701は、入力定義情報と出力定義情報のうち、Webサービスに必要な情報を用いて、Webサービスの利用に必要なインタフェースの定義情報を生成する処理の一例を示すステップである。 That is, step S701 is a step showing an example of processing for generating a program used as a web service using information necessary for the web service out of the input definition information and the output definition information. Step S701 is a step showing an example of processing for generating interface definition information necessary for using the Web service using information necessary for the Web service out of the input definition information and the output definition information.
ステップS702において、プログラム開発装置101は、取得した入出力定義404の情報を基にして、図28の2803のようなデータ取得のWebサービスインタフェースコードを生成する。具体的には、図18の入出力定義コード名1803を用いて、戻り値を“WSIo”+ 入出力定義コード名1803 +“GetDataResult”とし、メソッド名を 入出力定義コード名1803+“_getData”として出力し、パラメータ(初期値1802及び対象条件1903に含まれる
In step S702, the
の個数分だけ)を引数とする。 As many as).
なお、このメソッドは、アプリケーションサーバ105から、getDataのWebサービスが呼び出されたときに実行される(図21のステップS2102〜ステップS2104)。 This method is executed when the getData Web service is called from the application server 105 (steps S2102 to S2104 in FIG. 21).
また、アクション項目(図27の2701)にBP(ビジネスプロセス)定義(加工式2703の“ In addition, in the action item (2701 in FIG. 27), the BP (business process) definition (
数字”を含む文字列)がある場合は、図28の2804のようなビジネスプロセスを呼び出すWebサービスインタフェースコードを生成する。具体的には、図18の入出力定義コード名1803を用いて、戻り値を“WSIoActionResult”、メソッド名を 入出力定義コード名1803 +“_exec”+ アクションのコード名(加工式2703から
When there is a character string including a number “), a Web service interface code for calling a business process such as 2804 in FIG. 28 is generated. Specifically, the input / output
を除いた文字列)として出力し、パラメータを引数とする。 (Character string excluding) and output the parameter as an argument.
なお、このメソッドは、アプリケーションサーバ105から、BP(ビジネスプロセス)のWebサービスが呼び出されたときに実行される(図21のステップS2102〜ステップS2104)。 This method is executed when a BP (business process) Web service is called from the application server 105 (steps S2102 to S2104 in FIG. 21).
ステップS703において、プログラム開発装置101は、ステップS701にて解析したWebサービス用の入出力定義406を用いて、WSDL生成(図8)を行う。この処理については、図8にて詳細を説明する。
In step S703, the
すなわち、ステップS702及びステップS703は、設定された実行形態がWebサービスである場合に、設定を受け付けた入力定義情報に含まれるWebサービスを利用するユーザによって画面から入力される値を表す文字列及び設定を受け付けた出力定義情報に含まれるWebサービスを利用した結果、取得される値を表す文字列のうち少なくとも一方と、記憶されているルールを用いて、Webサービスの利用に必要なインタフェースとなるメッセージを生成し、当該メッセージを含むXMLファイルを生成する処理の一例を示すステップである。 That is, in step S702 and step S703, when the set execution form is a web service, a character string representing a value input from the screen by a user who uses the web service included in the input definition information for which the setting has been received, and As a result of using the Web service included in the output definition information for which the setting has been accepted, an interface necessary for using the Web service is obtained using at least one of the character strings representing the acquired values and the stored rules. It is a step which shows an example of the process which produces | generates a message and produces | generates the XML file containing the said message.
また、ステップS702及びステップS703は、受け付けた選択に従って、設定を受け付けた入力定義情報に含まれるWebサービスを利用するユーザによって画面から入力される値を表す文字列及び設定を受け付けた出力定義情報に含まれるWebサービスを利用した結果、取得される値を表す文字列のうち少なくとも一方と、記憶されているルールを用いて、Webサービスの利用に必要なインタフェースの定義情報を生成する処理の一例を示すステップである。 Further, in steps S702 and S703, in accordance with the received selection, a character string representing a value input from the screen by the user using the Web service included in the input definition information that has received the setting and the output definition information that has received the setting are displayed. An example of processing for generating interface definition information necessary for using the Web service using at least one of the character strings representing the acquired values and the stored rules as a result of using the included Web service It is the step shown.
以上で、図7の説明を終了する。
Above, description of FIG. 7 is complete | finished.
図8は、WSDL生成のフローチャートの一例を示す図である。
ステップS801において、プログラム開発装置101は、getDataリクエスト生成(図9)を行う。この処理については、図9にて詳細を説明する。
FIG. 8 is a diagram illustrating an example of a flowchart of WSDL generation.
In step S801, the
ステップS802において、getDataレスポンス生成(図11)を行う。この処理については、図11にて詳細を説明する。 In step S802, a getData response is generated (FIG. 11). Details of this processing will be described with reference to FIG.
なお、getDataリクエスト/getDataレスポンスは対になっており、主に画面情報を取得するために利用される。 The getData request / getData response is a pair and is mainly used to acquire screen information.
ステップS803において、BPリクエスト生成(図13)を行う。この処理については、図13にて詳細を説明する。 In step S803, BP request generation (FIG. 13) is performed. This process will be described in detail with reference to FIG.
ステップS804において、BPレスポンス生成(図15)を行う。この処理については、図15にて詳細を説明する。 In step S804, BP response generation (FIG. 15) is performed. This process will be described in detail with reference to FIG.
なお、BPリクエスト/BPレスポンスは対になっており、それぞれアクション実行とアクション結果取得のために利用される。 The BP request / BP response is paired and used for action execution and action result acquisition, respectively.
以上で、図8の説明を終了する。
Above, description of FIG. 8 is complete | finished.
図9は、getDataリクエスト生成のフローチャートの一例を示す図である。
ステップS901において、プログラム開発装置101は、入出力定義404に対象条件1903の設定があるか否かを判定し、ある場合はステップS902に進み、ない場合は図9の処理を終了する。
FIG. 9 is a diagram illustrating an example of a flowchart for generating a getData request.
In step S901, the
ステップS902において、プログラム開発装置101は、WSDLにデータ取得処理のリクエストの記述を出力する(図10の1001)。具体的には、入出力定義コード名1803を用いて、 operation name= 入出力定義コード名1803+“_getData”、message= 入出力定義コード名1803+“_getDataRequest” のように出力する。これにより、「IO002_WSDL_getData」という検索処理がWebサービスとして公開され、外部アプリケーションから利用することができるようになる。
In step S902, the
ステップS903において、プログラム開発装置101は、入出力定義404にパラメータがあるか否かを判定し、ある場合はステップS904に進み、ない場合は図9の処理を終了する。具体的には、対象条件1903又は初期値1802に“
In step S903, the
数字”を含む文字列が含まれる場合は、図10の1002の記述を出力し、ステップS904に進む。1002の記述は、具体的には、入出力定義コード名1803を用いて、 element=“ns:”+ 入出力定義コード名1803 +“_getData” とする。これにより、検索処理「IO002_WSDL_getData」を呼び出す際に、パラメータを送ることができるようになる。
When a character string including “number” is included, the
ステップS904において、WSDLに図10の1003のような記述をパラメータ数だけ出力する。具体的に、1003の記述は、パラメータの通し番号N( In step S904, a description such as 1003 in FIG. 10 is output to the WSDL by the number of parameters. Specifically, the description of 1003 is a parameter serial number N (
数字の数字部)を用いて、 name=“param”+N とする。 Name = “param” + N using the numeric part).
以上で、図9の説明を終了する。
Above, description of FIG. 9 is complete | finished.
図10は、getDataリクエストWSDL1000の一例を示す図である。図10は、入出力定義404に対象条件1903の設定があり、かつ入出力定義404にパラメータがある場合のリクエストWSDLの一例である。
図11は、getDataレスポンス生成のフローチャートの一例を示す図である。
FIG. 10 is a diagram illustrating an example of the getData request WSDL1000. FIG. 10 is an example of a request WSDL when the
FIG. 11 is a diagram illustrating an example of a flowchart for generating a getData response.
ステップS1101において、プログラム開発装置101は、ステップS901と同様、入出力定義404に対象条件1903の設定があるか否かを判定し、ある場合はステップS1102に進み、ない場合は図11の処理を終了する。
In step S1101, the
ステップS1102において、プログラム開発装置101は、WSDLにデータ取得処理のレスポンスの記述を出力する(図12の1201)。具体的には、入出力定義コード名1803を用いて、 operation name= 入出力定義コード名1803+“_getData”、 message= 入出力定義コード名1803+“_getDataResponse” のように出力する。これにより、Webサービスとして公開された検索処理「IO002_WSDL_getData」の戻り値を公開することができるようになる。
In step S1102, the
ステップS1103において、プログラム開発装置101は、Webサービス用の入出力定義406から、入出力項目(図18の項目タイプ1801=IO(入出力)又はO(出力)の項目)を取得し、WSDLに項目定義を出力する(図12の1202)。具体的には、入出力定義画面(入出力)1900の対象データモデル1902に設定されたデータモデルの項目コード2001(図20)を用いて、 name=項目コード2001 とし、データタイプ2002(図20)に従ってデータの型名を決定し、 type=“xs:”+型名 とする。図12の1202の記述から、検索処理の結果として、String型の「item_key」と、String型の「item_value」という項目が出力されることがわかる。これにより、Webサービスの実行結果の戻り値に含まれる項目IDと型情報を公開できるようになる。
In step S1103, the
なお、図20は、Webアプリケーション開発ツールによって生成されたWebアプリケーション及びWebサービスが利用するデータモデル定義画面の一例を示す図である。この画面で定義する各項目はWebアプリケーション及びWebサービスが接続するデータベースのテーブルのカラム名と一致する。 FIG. 20 is a diagram illustrating an example of a data model definition screen used by the Web application and Web service generated by the Web application development tool. Each item defined on this screen matches the column name of the database table to which the Web application and Web service are connected.
以上で、図11の説明を終了する。
This is the end of the description of FIG.
図12は、getDataレスポンスWSDL1200の一例を示す図である。図12は、入出力定義404に対象条件1903の設定があり、かつ出力項目が存在する場合のレスポンスWSDLの一例である。
図13は、BP(ビジネスプロセス)リクエスト生成のフローチャートの一例を示す図である。
FIG. 12 is a diagram illustrating an example of the
FIG. 13 is a diagram illustrating an example of a flowchart for generating a BP (business process) request.
ステップS1301において、プログラム開発装置101は、図27の項目タイプ2701の定義を取得し、項目タイプ2701=「A:アクション」の項目にビジネスプロセス(図27の加工式2703)の定義があるか否か判定する。ある場合はステップS1302に進み、ない場合は図13の処理を終了する。
In step S1301, the
ステップS1302において、プログラム開発装置101は、WSDLにビジネスプロセス定義を出力する(図14の1401)。具体的には、入出力定義コード名1803とアクションの項目コード名2702を用いて、operation name= 入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 +message= 入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 +“Request” とする。これにより、「IO002_WSDL_execINSERT」という登録処理がWebサービスとして公開され、外部アプリケーションから利用することができるようになる。
In step S1302, the
ステップS1303において、プログラム開発装置101は、Webサービス用の入出力定義406に、入出力項目(図18の項目タイプ1801=IO(入出力)又はI(入力)の項目)の有無を判定する。ある場合はステップS1304に進み、ない場合は図13の処理を終了する。
In step S1303, the
ステップS1304において、プログラム開発装置101は、WSDLにビジネスプロセスへのパラメータを出力する(図14の1402)。具体的には、入出力定義コード名1803とアクションの項目コード名2702を用いて、element=入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 とする。これにより、登録処理「IO002_WSDL_execINSERT」の呼出し時に、外部アプリケーションからパラメータを与えることができるようになる。
In step S1304, the
ステップS1305において、プログラム開発装置101は、Webサービス用の入出力定義406から、入出力項目(図18の項目タイプ1801=IO(入出力)又はI(入力)の項目)を取得し、WSDLに項目定義を出力する(図14の1403)。具体的には、入出力定義画面(入出力)1900の対象データモデル1902に設定されたデータモデルの項目コード2001(図20)を用いて、 name=項目コード2001 とし、データタイプ2002(図20)に従ってデータの型名を決定し、 type=“xs:”+型名 とする。図14の1403の記述から、登録処理のパラメータは、String型の「item_key」、String型の「item_param」、String型の「item_value」であるということがわかる。これにより、Webサービスの実行時のパラメータを公開できるようになる。
In step S1305, the
以上で、図13の説明を終了する。
Above, description of FIG. 13 is complete | finished.
図14は、BPリクエストWSDL1400の一例を示す図である。図14は、入出力定義404にビジネスプロセスが定義されたアクション項目があり、かつ入出力項目にIO又はI項目が存在する場合のBPリクエストWSDLの一例である。
図15は、BPレスポンス生成のフローチャートの一例を示す図である。
FIG. 14 is a diagram illustrating an example of the BP request WSDL 1400. FIG. 14 is an example of a BP request WSDL when there is an action item in which a business process is defined in the input /
FIG. 15 is a diagram illustrating an example of a flowchart of BP response generation.
ステップS1501において、プログラム開発装置101は、図27の項目タイプ2701の定義を取得し、項目タイプ2701=「A:アクション」の項目にビジネスプロセス(図27の加工式2703)の定義があるか否か判定する。ある場合はステップS1502に進み、ない場合は図15の処理を終了する。
In step S1501, the
ステップS1502において、プログラム開発装置101は、WSDLにビジネスプロセス定義を出力する(図16の1601)。具体的には、入出力定義コード名1803とアクションの項目コード名2702を用いて、operation name= 入出力定義コード名1803 +“_exec”+アクションの項目コード名2702 +message= 入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 +“Response” とする。これにより、登録処理「IO002_WSDL_execINSERT」を外部アプリケーションから利用した時の戻り値を公開できるようになる。
In step S1502, the
ステップS1503において、プログラム開発装置101は、図27の次入出力2704の定義を取得し、WSDLに次画面情報を出力する(図16の1602)。具体的には、nextIoの値が空の場合は、画面遷移を行わずに自画面に遷移することを表すものとする。これにより、登録処理「IO002_WSDL_execINSERT」を利用した後に遷移する入出力を公開できるようになる。
In step S1503, the
ステップS1504において、プログラム開発装置101は、図27の次入出力パラメータ2705の定義を取得し、次入出力パラメータ2705に設定されている変数の数だけ、WSDLに次入出力パラメータ定義を出力する(図16の1603)。これにより、登録処理「IO002_WSDL_execINSERT」を利用した結果、次の画面へどのような引数が渡されるかを公開できるようになる。
In step S1504, the
以上で、図15の説明を終了する。
This is the end of the description of FIG.
以上の図9〜図15の処理によってWSDLファイルを生成することにより、プログラムへ引数として入力される項目を定義する入力定義情報やプログラムから処理結果として出力する項目を定義する出力定義情報を管理する必要があるWebアプリケーション開発ツールにおいて、それらの入出力定義情報を用いたWSDLファイルを生成することができないという問題を解決することができる。
つまり、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を容易に生成することができるようになる。
By generating a WSDL file by the processes of FIGS. 9 to 15 described above, input definition information that defines items to be input as arguments to the program and output definition information that defines items to be output as processing results from the program are managed. In a necessary Web application development tool, it is possible to solve the problem that a WSDL file using such input / output definition information cannot be generated.
That is, the Web service definition information can be easily generated using the input / output definition information of the Web application.
図16は、BPレスポンスWSDL1600の一例を示す図である。図16は、入出力定義404にビジネスプロセスが定義されたアクション項目があり、かつ次入出力パラメータ2705が設定されている場合のBPレスポンスWSDLの一例である。
FIG. 16 is a diagram illustrating an example of the BP response WSDL 1600. FIG. 16 is an example of a BP response WSDL when the input /
図21は、外部アプリケーションを実行している外部アプリケーションクライアントが、図5の処理により生成されたWebサービスを利用するフローチャートの一例を示す図である。図22は、Webサービスを利用する外部アプリケーションのINPUT画面2200の一例を示す図である。図25は、Webサービスを利用する外部アプリケーションのOUTPUT画面2500の一例を示す図である。
FIG. 21 is a diagram illustrating an example of a flowchart in which an external application client executing an external application uses the Web service generated by the processing in FIG. FIG. 22 is a diagram illustrating an example of an
ステップS2101において、外部アプリケーションクライアントは、外部アプリケーションのユーザによる検索条件(図22の商品コード2201)の入力を受け付け、検索ボタン2202の押下による処理実行指示を受け付ける。
In step S2101, the external application client accepts input of a search condition (
ステップS2102において、外部アプリケーションクライアントは、外部アプリケーションサーバにリクエストを送信する。 In step S2102, the external application client transmits a request to the external application server.
ステップS2103において、外部アプリケーションサーバは、リクエストを受信する。 In step S2103, the external application server receives the request.
ステップS2104において、外部アプリケーションサーバは、Webサービスサーバ(図1のアプリケーションサーバ105。つまり、図5の処理により生成されたWebサービスをデプロイしたサーバ。)にて公開されているgetData処理(図10の1001)を利用すべく、Webサービスサーバに図23のようなリクエストを送信する。具体的には、ステップS2101にて入力を受け付けた検索条件(商品コード2201)の値を用いたパラメータ2301を含むリクエストを送信する。
In step S2104, the external application server performs a getData process (FIG. 10) published on the Web service server (the application server 105 in FIG. 1, ie, the server on which the Web service generated by the process in FIG. 5 is deployed). 1001), a request as shown in FIG. 23 is transmitted to the Web service server. Specifically, a request including a
ステップS2105において、Webサービスサーバは、リクエストを受信する。 In step S2105, the Web service server receives the request.
ステップS2106において、Webサービスサーバは、受信したリクエストに含まれるパラメータを用いて、図20のデータモデル定義2000で定義されるテーブルを検索する。具体的には、Webサービスのプログラムに含まれる、Webサービス用の入出力定義画面(入出力)1900の対象データモデル1902と対象条件1903を用いて、検索処理を行う。
In step S2106, the Web service server searches the table defined by the
なお、検索対象となるテーブルのカラムは、Webサービスのプログラムに含まれる、データモデル定義2000(図20)に定義されている項目コード2001であり、テーブル(商品マスタテーブル2600)には図26のようなデータが記憶されているものとする。ここでは、対象条件1903に従って、ITEM_KEY=“C101”という検索条件で商品マスタテーブル2600を検索することにより、検索結果としてレコード2603を取得したとする。
The column of the table to be searched is the
ステップS2107において、Webサービスサーバは、外部アプリケーションサーバへ図24のようなレスポンス2400を送信する。具体的には、レスポンス2400には、ステップS2106の検索処理にて取得した検索結果である、item_key2401とitem_value2402の値が含まれる。
In step S2107, the Web service server transmits a
ステップS2108において、外部アプリケーションサーバは、レスポンス2400を受信する。
In step S2108, the external application server receives the
ステップS2109において、外部アプリケーションサーバは、受信したレスポンスを用いて、Webサービスの利用結果を表示する画面情報(例えば、HTML等)を生成し、外部アプリケーションクライアントへ画面情報を送信する。具体的には、画面情報には、レスポンス2400に含まれる検索結果が含まれる。
In step S2109, the external application server uses the received response to generate screen information (for example, HTML) that displays the usage result of the Web service, and transmits the screen information to the external application client. Specifically, the screen information includes a search result included in the
ステップS2110において、外部アプリケーションクライアントは、画面情報を受信する。 In step S2110, the external application client receives screen information.
ステップS2111において、外部アプリケーションクライアントは、画面情報を用いて、Webサービスの利用結果を表示する。具体的には、Webサービスの利用した結果、取得できたitem_value2402の値を外部アプリケーションのOUTPUT画面2500(図25)の商品名2501に表示する。
In step S2111, the external application client displays the use result of the Web service using the screen information. Specifically, the value of
また、外部アプリケーションクライアントは、図25の登録ボタン2502の押下を受け付けることにより、外部アプリケーションサーバにリクエストを送信し、外部アプリケーションサーバはWebサービスサーバにて公開されているexecINSERT処理(図14の1401)を利用すべく、Webサービスサーバにリクエストを送信する。この処理は、図21のフローチャートと同様の流れである。
Further, the external application client transmits a request to the external application server by accepting the pressing of the
以上により、外部アプリケーションを実行している外部アプリケーションクライアントが、図5の処理により生成されたWebサービスを利用することができる。 As described above, the external application client executing the external application can use the Web service generated by the processing of FIG.
以上で、図21の説明を終了する。
This is the end of the description of FIG.
図29は、入出力定義作成のフローチャートの一例を示す図である。この処理は、図17や図19のような入出力定義404を作成する処理である。
ステップS2901において、プログラム開発装置101は、入出力定義作成の指示を受け付け、その指示のタイプを判定する(不図示)。新規に作成する場合はステップS2902に進み、既存の入出力定義をコピーして作成する場合はステップS2903に進む。
FIG. 29 is a diagram illustrating an example of a flowchart for creating an input / output definition. This process is a process for creating the input /
In step S2901, the
ステップS2902において、プログラム開発装置101は、入出力定義404を新規に作成する。ここでは、図17のような入出力タイプ=“IO”の入出力定義404が作成されたとする。
In step S2902, the
ステップS2903において、プログラム開発装置101は、コピー元となる既存の入出力定義404の指示を受け付ける。ここでは、Webアプリケーション用の入出力定義404が選択されたとする。Webアプリケーション用の入出力定義404とは、図17のように入出力タイプ=“IO”の入出力定義404である。
In step S2903, the
ステップS2904において、プログラム開発装置101は、コピー元として指示された既存の入出力定義404の内容をコピーして、新規の入出力定義404を作成する。すなわち、ステップS2904は、入出力定義情報に基づき、新たな入出力定義情報を生成する処理の一例を示すステップである。
In step S 2904, the
ステップS2905において、プログラム開発装置101は、ステップS2903にて指示を受け付けたコピー元の入出力定義404と、ステップS2904にて作成したコピー先の入出力定義404とを関連付けて、外部メモリ211に記憶する。すなわち、ステップS2905は、生成された入出力定義情報と、当該入出力定義情報の生成の基となった入出力定義情報とを関連付けて管理する処理の一例を示すステップである。
In
ステップS2906において、プログラム開発装置101は、S2902又はS2904にて作成した入出力定義404の設定について、ユーザによる入力を受け付ける。ここでは、Webサービス用の入出力定義406に設定が変更されたとする。Webサービス用の入出力定義406とは、図19のように入出力タイプ1901=“WEB SERVICE”の入出力定義404である。
In step S2906, the
ステップS2907において、プログラム開発装置101は、ユーザによる入出力定義404の記憶指示を受け付ける。
In step S2907, the
ステップS2908において、プログラム開発装置101は、入出力定義404の設定を外部メモリ211に記憶する。
In step S2908, the
以上で、図29の説明を終了する。
This is the end of the description of FIG.
図30は、入出力定義編集のフローチャートの一例を示す図である。この処理は、図29にて作成した入出力定義404の設定を編集する処理である。
ステップS3001において、プログラム開発装置101は、入出力定義404の編集を受け付ける。具体的には、図17〜図19の各項目の値について、ユーザの編集を受け付ける。すなわち、ステップS3001は、入出力定義情報の設定の変更を受け付ける処理の一例を示すステップである。
FIG. 30 is a diagram illustrating an example of a flowchart of input / output definition editing. This process is a process for editing the setting of the input /
In step S3001, the
ステップS3002において、プログラム開発装置101は、ステップS3001にて編集を受け付けた入出力定義404の実行形態(入出力タイプ)の値を判定する。入出力タイプ=“IO”(Webアプリケーション用の入出力定義404を意味する)の場合はステップS3003に進み、入出力タイプ=“WEB SERVICE”(Webサービス用の入出力定義406を意味する)の場合はステップS3004に進む。
In step S3002, the
ステップS3003において、プログラム開発装置101は、ステップS3001にて編集を受け付けた入出力定義404に、コピー元又はコピー先として入出力タイプ=“WEB SERVICE”の入出力定義406との関連付けがあるか否かを判定する。ある場合はステップS3005に進み、ない場合は図30の処理を終了する。
In step S3003, the
ステップS3004において、プログラム開発装置101は、ステップS3001にて編集を受け付けた入出力定義406に、コピー元又はコピー先として入出力タイプ=“IO”の入出力定義404が関連付けられているかを判定する。関連付けがある場合はステップS3006に進み、関連付けがない場合は図30の処理を終了する。
In step S3004, the
ステップS3005において、プログラム開発装置101は、確認メッセージ3111(図31)又は確認メッセージ3112(図31)を表示し、ステップS3003にて関連付けられていると判定されたWebサービス用の入出力定義406を更新するか否かの指示を受け付ける。「OK」の場合はステップS3007に進み、「キャンセル」の場合は図30の処理を終了する。
In step S3005, the
ステップS3006において、プログラム開発装置101は、確認メッセージ3121(図31)又は確認メッセージ3122(図31)を表示し、ステップS3004にて関連付けられていると判定されたWebアプリケーション用の入出力定義404を更新するか否かの指示を受け付ける。「OK」の場合はステップS3008に進み、「キャンセル」の場合は図30の処理を終了する。
In step S3006, the
すなわち、ステップS3005及びステップS3006は、設定の変更を受け付けた入出力定義情報が他の入出力定義情報と対応づけて管理されている場合、ユーザに通知する処理の一例を示すステップである。 That is, step S3005 and step S3006 are steps showing an example of processing for notifying the user when the input / output definition information that has received a change in setting is managed in association with other input / output definition information.
ステップS3007において、プログラム開発装置101は、ステップS3003にて関連付けられていると判定されたWebサービス用の入出力定義406の設定を、ステップS3001にて受け付けた編集内容で更新し、外部メモリ211に記憶する。
In step S3007, the
ステップS3008において、プログラム開発装置101は、ステップS3004にて関連付けられていると判定されたWebアプリケーション用の入出力定義404の設定を、ステップS3001にて受け付けた編集内容で更新し、外部メモリ211に記憶する。
In step S3008, the
以上により、Webアプリケーション用の入出力定義404をコピーしてWebサービス用の入出力定義406を作成した場合、その一方の編集内容をもう一方に反映させることができる。
以上により、Webアプリケーション開発ツールにおいて、Webサービスとして用いられるプログラムを容易に生成する仕組みを提供することができる。
As described above, when the Web application I /
As described above, the web application development tool can provide a mechanism for easily generating a program used as a web service.
また、Webアプリケーション開発ツールに慣れ親しんでいた開発者にとって、これまでのWebアプリケーション開発と同様にレイアウトエディタ等を介してWebアプリケーション画面の入出力項目を直感的に追加・変更・削除した後、Webアプリケーション用の入出力定義404をコピーしてWebサービス用の入出力定義406を作成することで、Webサービスとして用いられるプログラムを容易に生成することができるため、Webサービスの開発又はWSDLの記載方法に不慣れな開発者にとってはメリットが大きい。
For developers who are familiar with web application development tools, after adding / changing / deleting input / output items on the web application screen intuitively via a layout editor, etc. By copying the input /
〔第2の実施形態〕
第1の実施形態は、入出力定義情報の実行形態に従って、Webアプリケーションの入出力定義情報又はWebサービスの入出力定義情報を生成することによって、Webアプリケーション開発ツールにおいて、Webサービスとして用いられるプログラムを容易に生成する仕組みであり、第2の実施形態は、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成することによって、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成する仕組みである。
[Second Embodiment]
The first embodiment generates a program used as a web service in a web application development tool by generating the input / output definition information of a web application or the input / output definition information of a web service according to the execution form of the input / output definition information. In the second embodiment, the Web service definition is generated using the input / output definition information of the Web application by generating the Web service definition information using the input / output definition information of the Web application. It is a mechanism for generating information.
図33〜図34を用いて、第2の実施形態を説明する。なお、第2の実施形態では、第1の実施形態における図6のフローチャートを図33に置き換え、第1の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。
図33は、第2の実施形態に係るソースコード生成のフローチャートの一例を示す図である。図34は、第2の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)3400の一例を示す図である。
The second embodiment will be described with reference to FIGS. 33 to 34. In the second embodiment, the flowchart of FIG. 6 in the first embodiment is replaced with FIG. 33, and the same processing as the steps in the first embodiment is assigned the same step number and description thereof is omitted.
FIG. 33 is a diagram showing an example of a source code generation flowchart according to the second embodiment. FIG. 34 is a diagram showing an example of an input / output definition screen (input / output) 3400 for a Web application according to the second embodiment.
ステップS3301において、プログラム開発装置101は、この入出力定義404を用いて、Webアプリケーション用の入出力定義ソースコードを生成したことを示すフラグをONにし、外部メモリ211に記憶する。
In step S <b> 3301, the
ステップS3302において、プログラム開発装置101は、この入出力定義404を用いて、Webサービス用の入出力定義ソースコードを生成するか否かを判定する。すなわち、ステップS3302は、入力定義情報と出力定義情報とを用いて、Webサービスとして用いられるプログラムを生成するか否かを判定する処理の一例を示すステップである。また、ステップS3302は、Webサービスとして用いられるプログラムを生成すると判定した場合は、Webアプリケーションとして用いられるプログラムとWebサービスとして用いられるプログラムとを生成し、Webサービスとして用いられるプログラムを生成しないと判定した場合は、Webアプリケーションとして用いられるプログラムを生成する処理の一例を示すステップである。
In step S3302, the
生成する場合はステップS604に進み、生成しない場合は図33の処理を終了する。なお、この判定は、図34のWebサービスを生成するチェックボックス3402がONであれば、生成すると判定する。
When it produces | generates, it progresses to step S604, and when not producing | generating, the process of FIG. 33 is complete | finished. This determination is made when the
また、チェックボックス3402は、入出力タイプ3401=“IO”(Webアプリケーション用の入出力定義404)の場合のみ表示するようにして、Webアプリケーション用の入出力定義404を用いて、Webサービス定義情報を生成できるようにしてもよい。また、入出力タイプ3401=“IO”以外の場合であっても、入出力定義404を用いてWebサービス定義情報を生成できるものがあれば、チェックボックスを表示するようにしてもよい。
The
なお、本実施形態においては、チェックボックス3402=ONの場合、Webサービス用の入出力定義406を生成することなく、入出力定義404を用いてWebサービス用の入出力定義ソースコードを生成するとしたが、これに限定するものではなく、入出力定義404をコピーしてWebサービス用の入出力定義406を生成し、Webサービス用の入出力定義ソースコードを生成するとしてもよい。これにより、図29のステップS2903〜ステップS2906のように、コピー元となる既存の入出力定義404の指示を受け付け、入出力タイプ=“WEB SERVICE”に変更するといった手間を省くことができる。
In the present embodiment, when the
ステップS3303において、プログラム開発装置101は、この入出力定義404を用いて、Webサービス用の入出力定義ソースコードを生成したことを示すフラグをONにし、外部メモリ211に記憶する。
In step S3303, using this input /
以上で、図33の説明を終了する。 Above, description of FIG. 33 is complete | finished.
以上により、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成する仕組みを提供することができる。つまり、Webアプリケーションの画面の入出力定義情報を用いて、Webサービス定義情報を生成することができないという問題を解決することができる。つまり、Webアプリケーションの画面の入出力定義情報を用いて、Webサービス定義情報又はWebサービスとして用いられるプログラムを生成することにより、Webアプリケーションを容易にWebサービス化したいという課題を解決することができる。 As described above, it is possible to provide a mechanism for generating Web service definition information using input / output definition information of a Web application. That is, the problem that the Web service definition information cannot be generated using the input / output definition information on the screen of the Web application can be solved. In other words, by generating the Web service definition information or the program used as the Web service using the input / output definition information on the screen of the Web application, it is possible to solve the problem of easily converting the Web application to the Web service.
また、Webアプリケーションの開発フェーズにおいてよくある、画面項目の追加・変更・削除は、Webアプリケーション開発ツールのレイアウトエディタ等を介して、Webアプリケーション画面の入出力項目を直感的に追加・変更・削除することで、Webアプリケーションとして用いられるプログラムだけでなく、Webサービスとして用いられるプログラムにも反映されるため、Webサービスとして用いられるプログラムを容易に生成することができる。
In addition, the addition / change / deletion of screen items, which is common in the development phase of a web application, intuitively adds / changes / deletes the input / output items of the web application screen via the layout editor of the web application development tool. Thus, since it is reflected not only in the program used as the Web application but also in the program used as the Web service, the program used as the Web service can be easily generated.
〔第3の実施形態〕
第2の実施形態は、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成することによって、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成する仕組みであり、第3の実施形態は、入出力定義情報から、Webアプリケーションの入出力定義情報又はWebサービス定義情報を生成することによって、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成する仕組みである。
[Third Embodiment]
The second embodiment is a mechanism for generating Web service definition information using the input / output definition information of the Web application by generating the Web service definition information using the input / output definition information of the Web application, The third embodiment is a mechanism for generating Web service definition information using input / output definition information of a Web application by generating input / output definition information or Web service definition information of the Web application from the input / output definition information. It is.
図35〜図36を用いて、第3の実施形態を説明する。なお、第3の実施形態では、第2の実施形態における図33のフローチャートを図35に置き換え、第2の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。
図35は、第3の実施形態に係るソースコード生成のフローチャートの一例を示す図である。図36は、第3の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)3600の一例を示す図である。
The third embodiment will be described with reference to FIGS. In the third embodiment, the flowchart of FIG. 33 in the second embodiment is replaced with FIG. 35, and the same processes as those in the steps of the second embodiment are given the same step numbers and description thereof is omitted.
FIG. 35 is a diagram illustrating an example of a source code generation flowchart according to the third embodiment. FIG. 36 is a diagram showing an example of an input / output definition screen (input / output) 3600 for a Web application according to the third embodiment.
ステップS3501において、プログラム開発装置101は、既存の入出力定義404に対するユーザの指示を受け付ける。具体的には、図36のWebアプリケーション用の入出力定義名3601の部分で右クリック等の操作を受け付ける。
In step S3501, the
ステップS3502において、プログラム開発装置101は、コンテキストメニュー3602を表示し、ユーザによる選択を受け付けて判定する。
「Webアプリケーションソースコードを生成する」3603が選択された場合はステップS603に進み、「Webサービスソースコードを生成する」3604が選択された場合はステップS604に進む。
In step S3502, the
If “generate web application source code” 3603 is selected, the process proceeds to step S603, and if “generate web service source code” 3604 is selected, the process proceeds to step S604.
以上で、図36の説明を終了する。 This is the end of the description of FIG.
以上により、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を容易に生成する仕組みを提供することができる。つまり、Webアプリケーションの画面の入出力定義情報を用いてWebサービス定義情報又はWebサービスとして用いられるプログラムを生成することにより、Webアプリケーションを容易にWebサービス化したいという課題を解決することができる。
As described above, it is possible to provide a mechanism for easily generating Web service definition information using input / output definition information of a Web application. That is, by generating the Web service definition information or the program used as the Web service using the input / output definition information on the screen of the Web application, it is possible to solve the problem of easily converting the Web application to the Web service.
〔第4の実施形態〕
第4の実施形態は、1つの入出力定義情報を、Webアプリケーション用とWebサービス用のように複数の目的のために用いることによって、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を生成する仕組みである。
図37〜図38を用いて、第4の実施形態を説明する。なお、第4の実施形態では、第2の実施形態における図33のフローチャートを図37に置き換え、第1の実施形態及び第2の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。
[Fourth Embodiment]
In the fourth embodiment, by using one input / output definition information for a plurality of purposes such as for a web application and a web service, the web application definition information is used by using the input / output definition information of the web application. It is a mechanism to generate.
The fourth embodiment will be described with reference to FIGS. 37 to 38. In the fourth embodiment, the flowchart of FIG. 33 in the second embodiment is replaced with FIG. 37, and the same step numbers are assigned to the same processes as the steps of the first and second embodiments. Description is omitted.
図37は、第4の実施形態に係るソースコード生成のフローチャートの一例を示す図である。図38は、第4の実施形態に係るWebアプリケーション用の入出力定義画面(項目一覧)3800の一例を示す図である。第4の実施形態では、図38の3801のように、Webサービスに利用する項目にはチェックを入れ、Webサービスに利用せずWebアプリケーションにのみ利用する項目にはチェックを入れないようにする。
FIG. 37 is a diagram showing an example of a source code generation flowchart according to the fourth embodiment. FIG. 38 is a diagram showing an example of an input / output definition screen (item list) 3800 for a Web application according to the fourth embodiment. In the fourth embodiment, as indicated by
ステップS3701において、プログラム開発装置101は、ステップS601にて取得した入出力定義404に、Webサービスとして利用する項目があるか否かを判定する。Webサービスとして利用する項目がある場合は、ステップS604(図37)に進み、ステップS701(図7)にてWebサービスに利用する項目(図38の3801)を特定し、ステップS702(図7)にてその特定した項目を用いてWebサービスのインターフェースコードを生成する。Webサービスとして利用する項目がない場合は、ステップS601(図37)に進み、次の入出力定義404を取得する。
In step S3701, the
すなわち、ステップS3701は、入出力定義情報のうち、Webサービスとして用いられるプログラムの生成時に用いる入出力定義であると判定した入出力定義情報を用いて、Webサービスとして用いられるプログラムを生成する処理の一例を示すステップである。 That is, step S3701 is a process of generating a program used as a Web service using the input / output definition information determined to be an input / output definition used when generating a program used as a Web service among the input / output definition information. It is a step showing an example.
以上で、図37、図38の説明を終了する。 Above, description of FIG. 37, FIG. 38 is complete | finished.
以上により、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を容易に生成する仕組みを提供することができる。つまり、Webアプリケーションの画面の入出力定義情報を用いてWebサービス定義情報又はWebサービスとして用いられるプログラムを生成することにより、Webアプリケーションを容易にWebサービス化したいという課題を解決することができる。 As described above, it is possible to provide a mechanism for easily generating Web service definition information using input / output definition information of a Web application. That is, by generating the Web service definition information or the program used as the Web service using the input / output definition information on the screen of the Web application, it is possible to solve the problem of easily converting the Web application to the Web service.
また、1つの入出力定義情報を、Webアプリケーション用とWebサービス用のように複数の目的のために用いることができるようになるため、Webアプリケーション用の入出力定義情報に項目を追加した場合、対応するWebサービス用の入出力定義情報にも同じ項目を追加しなければならない、といったWebアプリケーションの定義情報とWebサービスの定義情報の管理の煩雑さを解消することができる。よって、Webサービスの開発及び管理が大変という問題を解決することができる。
In addition, since one input / output definition information can be used for a plurality of purposes such as for a Web application and a Web service, when an item is added to the input / output definition information for a Web application, It is possible to eliminate the complexity of managing the definition information of the Web application and the definition information of the Web service such that the same item must be added to the corresponding input / output definition information for the Web service. Therefore, it is possible to solve the problem that the development and management of the Web service is difficult.
〔第5の実施形態〕
第1の実施形態は、入出力定義情報の実行形態に従って、Webアプリケーションの入出力定義情報又はWebサービス定義情報を生成することによって、Webアプリケーション開発ツールにおいて、Webサービス定義情報を容易に生成する仕組みであり、第5の実施形態は、複数の入出力定義情報をまとめたリポジトリ(以下、プロジェクトと記す)の実行形態に従って、Webアプリケーションとして用いられるプログラムを生成するか、Webサービスとして用いられるプログラムを生成するかを制御することにより、Webサービスとして用いられるプログラムを容易に生成する仕組みである。
図39〜図40を用いて、第5の実施形態を説明する。なお、第5の実施形態では、第2の実施形態における図33のフローチャートを図39に置き換え、第1の実施形態及び第2の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。
[Fifth Embodiment]
The first embodiment is a mechanism for easily generating Web service definition information in a Web application development tool by generating input / output definition information or Web service definition information of a Web application according to an execution form of the input / output definition information. In the fifth embodiment, a program used as a Web application is generated or a program used as a Web service is generated according to an execution form of a repository (hereinafter referred to as a project) in which a plurality of input / output definition information is collected. It is a mechanism for easily generating a program used as a Web service by controlling whether to generate it.
The fifth embodiment will be described with reference to FIGS. 39 to 40. In the fifth embodiment, the flowchart of FIG. 33 in the second embodiment is replaced with FIG. 39, and the same step numbers are assigned to the same processes as in the steps of the first and second embodiments. Description is omitted.
図39は、第5の実施形態に係るソースコード生成のフローチャートの一例を示す図である。図40は、第5の実施形態に係るソースコード生成時の確認メッセージの一例を示す図である。
ステップS3901において、プログラム開発装置101は、ソースコード生成の指示を受け付ける。具体的には、WebアプリケーションとWebサービスのどちらのソースコードを生成するかの選択(図40の4001)及びソースコード生成ボタン(図40の4002)の押下を受け付け、「Webアプリケーション」が選択された場合はステップS3902に進み、「Webサービス」が選択された場合はステップS3903に進む。
FIG. 39 is a diagram illustrating an example of a source code generation flowchart according to the fifth embodiment. FIG. 40 is a diagram illustrating an example of a confirmation message when generating source code according to the fifth embodiment.
In step S3901, the
ステップS3902において、プログラム開発装置101は、RAM202から入出力定義404を取得し、取得した入出力定義404について、それぞれステップS603及びステップS3301を繰り返すことにより、入出力定義404を用いてWebアプリケーション用入出力定義のソースコードを生成する。
In step S3902, the
ステップS3903において、プログラム開発装置101は、RAM202から入出力定義404を取得し、取得した入出力定義404について、それぞれステップS604及びステップS3303を繰り返すことにより、Webサービス用入出力定義のソースコードを生成する。
In step S3903, the
なお、本実施形態においては、図40の4001でWebアプリケーションとWebサービスのどちらのソースコードを生成するかの選択と受け付けるとしたが、これに限定するものではなく、例えば、WebアプリケーションとWebサービスの両方のソースコードを生成するという選択肢があってもよい。この場合、ステップS3902及びステップS3903の両方の処理を実行することより、WebアプリケーションとWebサービスの両方のソースコードを生成する。 In this embodiment, the selection of the source code of the Web application or the Web service is selected and accepted in 4001 of FIG. 40, but the present invention is not limited to this. For example, the Web application and the Web service There may be an option to generate both source codes. In this case, the source code of both the web application and the web service is generated by executing both the processes of step S3902 and step S3903.
以上で、図39、図40の説明を終了する。
以上により、プロジェクトの実行形態に従って、Webアプリケーションとして用いられるプログラムを生成するか、Webサービスとして用いられるプログラムを生成するかを制御することにより、Webサービスとして用いられるプログラムを容易に生成することができる。
This is the end of the description of FIGS. 39 and 40.
As described above, it is possible to easily generate a program used as a Web service by controlling whether a program used as a Web application or a program used as a Web service is generated according to the execution form of the project. .
つまり、第1の実施形態のような個々の入出力定義情報の実行形態に従って、Webアプリケーションの入出力定義情報又はWebサービス定義情報を生成する方法と比べて、第5の実施形態は、プロジェクトの実行形態に従って、プロジェクト全体の入出力定義情報を用いてWebアプリケーションの入出力定義情報又はWebサービス定義情報を一括して生成することが可能であるため、入出力定義情報の管理の煩雑さを解消することができる。
よって、入出力定義情報には複数の定義項目が存在するため、Webサービスの開発者がそれらを誤りなく設定しなければならないため設定ミスが生じやすく、Webアプリケーションとの整合性も取りづらいため、Webサービスの開発及び管理が大変という問題を解決することができる。
That is, compared with the method of generating the input / output definition information or Web service definition information of the Web application according to the execution form of the individual input / output definition information as in the first embodiment, the fifth embodiment According to the execution form, it is possible to generate the input / output definition information or Web service definition information of the Web application in a batch using the input / output definition information of the entire project, eliminating the complexity of managing the input / output definition information can do.
Therefore, since there are a plurality of definition items in the input / output definition information, the web service developer must set them without error, so setting errors are likely to occur and consistency with the web application is difficult to take. It is possible to solve the problem that development and management of Web services are difficult.
〔第6の実施形態〕
第1の実施形態(特に、図30及び図31)は、Webアプリケーション用の入出力定義404をコピーしてWebサービス用の入出力定義406を作成した場合、その一方の編集内容をもう一方に反映させることによって、Webアプリケーション開発ツールにおいて、Webサービス定義情報を容易に生成する仕組みであり、第6の実施形態は、Webアプリケーション用の入出力定義404又はWebサービス用の入出力定義406を編集した場合に、同じプロジェクト内の他の入出力定義にその編集内容を反映させることにより、Webサービスとして用いられるプログラムを容易に生成する仕組みである。
[Sixth Embodiment]
In the first embodiment (particularly, FIG. 30 and FIG. 31), when the input /
図41〜図42を用いて、第6の実施形態を説明する。
図41は、第6の実施形態に係る入出力定義編集のフローチャートの一例を示す図である。図42は、第6の実施形態に係る入出力定義編集時の確認メッセージの一例を示す図である。
The sixth embodiment will be described with reference to FIGS.
FIG. 41 is a diagram illustrating an example of a flowchart of input / output definition editing according to the sixth embodiment. FIG. 42 is a diagram showing an example of a confirmation message when editing the input / output definition according to the sixth embodiment.
ステップS4101において、プログラム開発装置101は、入出力定義404の編集を受け付ける。具体的には、図38の各項目の値について、ユーザの編集を受け付ける。すなわち、ステップS4101は、入出力定義情報の設定の変更を受け付ける処理の一例を示すステップである。
In step S4101, the
ステップS4102において、プログラム開発装置101は、ステップS4101にて受け付けた編集内容が「Webサービスとして利用する」チェックボックス3801の値変更か否かを判定し、OFFからONに変更された場合はステップS4103に進み、ONからOFFに変更された場合はステップS4104に進み、変更されなかった場合は図41の入出力定義編集を終了する。
In step S4102, the
ステップS4103において、プログラム開発装置101は、ステップS4102にて「Webサービスとして利用する」チェックボックス3801の値をOFFからONに変更された入出力項目が同プロジェクト内の他の入出力定義404に「Webサービスとして利用する」チェックボックス3801=OFFとして存在するか否かを判定し、存在する場合はステップS4105に進み、存在しない場合は図41の入出力定義編集を終了する。
In step S4103, the
例えば、図38の項目コード=“ITEM_KEY”の入出力項目の「Webサービスとして利用する」チェックボックス3801の値をOFFからONに変更された場合、同プロジェクト内の他の入出力定義404に項目コード=“ITEM_KEY”&「Webサービスとして利用する」チェックボックス3801=“OFF”の入力項目が存在するか否かを判定する。
For example, when the value of the “use as Web service”
ステップS4104において、プログラム開発装置101は、ステップS4104にて「Webサービスとして利用する」チェックボックス3801の値をONからOFFに変更された入出力項目が同プロジェクト内の他の入出力定義404に「Webサービスとして利用する」チェックボックス3801=ONとして存在するか否かを判定し、存在する場合はステップS4106に進み、存在しない場合は図41の入出力定義編集を終了する。
In step S4104, the
例えば、図38の項目コード=“ITEM_VALUE”の入出力項目の「Webサービスとして利用する」チェックボックス3801の値をONからOFFに変更された場合、同プロジェクト内の他の入出力定義404に項目コード=“ITEM_VALUE”&「Webサービスとして利用する」チェックボックス3801=“ON”の入力項目が存在するか否かを判定する。
For example, when the value of the “use as Web service”
ステップS4105において、プログラム開発装置101は、確認メッセージ4200(図42)を表示し、ステップS4103にて存在すると判定された他の入出力定義404を更新するか否かの指示を受け付ける。「OK」の場合はステップS4107に進み、「キャンセル」の場合は図30の処理を終了する。
In step S4105, the
ステップS4106において、プログラム開発装置101は、確認メッセージ4200(図42)を表示し、ステップS4104にて存在すると判定された他の入出力定義404を更新するか否かの指示を受け付ける。「OK」の場合はステップS4108に進み、「キャンセル」の場合は図30の処理を終了する。
In step S4106, the
すなわち、ステップS4105及びステップS4106は、設定の変更を受け付けた入出力定義情報の入出力定義が他の入出力定義情報に存在する場合、ユーザに通知する処理の一例を示すステップである。 That is, step S4105 and step S4106 are steps showing an example of processing for notifying the user when the input / output definition of the input / output definition information for which the setting change has been received exists in other input / output definition information.
ステップS4107において、プログラム開発装置101は、ステップS4103にて存在すると判定された他の入出力定義404の入出力定義を、ステップS4101にて受け付けた編集内容で更新し、外部メモリ211に記憶する。
In step S4107, the
ステップS4108において、プログラム開発装置101は、ステップS4104にて存在すると判定された他の入出力定義404の入出力定義をステップS4101にて受け付けた編集内容で更新し、外部メモリ211に記憶する。
In step S4108, the
以上で、図41の説明を終了する。 Above, description of FIG. 41 is complete | finished.
なお、本実施形態においては、入出力項目の編集内容の例として「Webサービスとして利用する」チェックボックス3801の値変更を挙げたが、これに限定するものではなく、入出力項目の他の項目値の変更であってもよい。
In the present embodiment, the value of the “Use as Web Service”
以上により、Webアプリケーション用の入出力定義404のWebサービスに係る設定を編集した場合、他の入出力定義404に対して、その編集内容を容易に反映させることができる。
つまり、Webアプリケーションの要件変更に伴い、Webアプリケーションの画面項目の編集する(例えば、Webアプリケーションの画面における既存の入出力項目を新たにWebサービスとしても利用したい)場合、Webアプリケーションの「登録画面」の入出力定義だけでなく、「更新画面」「検索画面」「検索結果画面」など他の画面の入出力定義に対してもWebサービスの入出力定義として利用できるよう反映させなければならず、編集作業が繁雑であるという問題を解決することができる。
As described above, when the setting related to the Web service of the input /
That is, when the Web application screen item is edited in accordance with a change in the requirements of the Web application (for example, when an existing input / output item in the Web application screen is newly used as a Web service), the “registration screen” of the Web application In addition to the input / output definition of, the input / output definition of other screens such as "update screen", "search screen", and "search result screen" must be reflected so that it can be used as the input / output definition of the Web service. The problem that the editing work is complicated can be solved.
また、Webアプリケーションの画面において新たな入出力項目を追加し、その入出力項目をWebサービスとしても利用したい場合も、同様の問題を解決することができる。 Further, when a new input / output item is added on the screen of the Web application and the input / output item is used as a Web service, the same problem can be solved.
よって、Webアプリケーション用の入出力定義情報に項目を追加した場合、対応するWebサービス用の入出力定義情報にも同じ項目を追加しなければならない、といったWebアプリケーションの定義情報とWebサービスの定義情報の管理の煩雑さを解消することができる。よって、Webサービスの開発及び管理が大変という問題を解決することができる。 Therefore, when an item is added to the input / output definition information for the Web application, the same item must be added to the corresponding input / output definition information for the Web service and the definition information of the Web service. The complexity of management can be eliminated. Therefore, it is possible to solve the problem that the development and management of the Web service is difficult.
以上により、Webアプリケーション開発ツールにおいて、Webサービスとして用いられるプログラムを容易に生成することができる。また、Webアプリケーションの入出力定義情報を用いて、Webサービス定義情報を容易に生成することができる。つまり、Webアプリケーションの画面の入出力定義情報を用いて、Webサービス定義情報又はWebサービスとして用いられるプログラムを生成することにより、Webアプリケーションを容易にWebサービス化したいという課題を解決することができる。
As described above, the Web application development tool can easily generate a program used as a Web service. Further, the Web service definition information can be easily generated using the input / output definition information of the Web application. In other words, by generating the Web service definition information or the program used as the Web service using the input / output definition information on the screen of the Web application, it is possible to solve the problem of easily converting the Web application to the Web service.
図43は、第1〜6の実施形態に係る定義ファイル一覧画面の一例を示す図である。
定義ファイル一覧4310は、第1の実施形態に係る定義ファイル一覧画面である。第1の実施形態では、Webアプリケーション用の入出力定義404をコピーしてWebサービス用の入出力定義406を作成するため、入出力定義ファイルを4311のようにWebアプリケーション用の場合は“A”、Webサービス用の場合は“S”と表示する。
FIG. 43 is a diagram showing an example of a definition file list screen according to the first to sixth embodiments.
The definition file list 4310 is a definition file list screen according to the first embodiment. In the first embodiment, since the input /
定義ファイル一覧4320は、第2〜6の実施形態に係る定義ファイル一覧画面である。第2〜6の実施形態では、Webアプリケーション用の入出力定義404をWebサービス用の入出力定義406として利用するため、入出力定義ファイルを4321のようにWebアプリケーション用の場合は“A”、Webアプリケーション・Webサービスで共用する場合は“AS”と表示する。
The definition file list 4320 is a definition file list screen according to the second to sixth embodiments. In the second to sixth embodiments, since the input /
これにより、第1〜6の実施形態において、入出力定義を「Webアプリケーション用」、「Webサービス用」及び「Webアプリケーション・Webサービス共用」で容易に識別することができるため、Webアプリケーション又はWebサービスの開発者による入出力定義の設定ミスや設定不整合による、Webサービスの開発及び管理が大変という問題を解決することができる。
以上で、図43の説明を終了する。
Accordingly, in the first to sixth embodiments, the input / output definition can be easily identified by “for Web application”, “for Web service”, and “Web application / Web service sharing”. It is possible to solve the problem that the development and management of the Web service due to the setting error or setting mismatch of the input / output definition by the service developer is difficult.
Above, description of FIG. 43 is complete | finished.
以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(又はCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。 As described above, a recording medium in which a program for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.
この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。 As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。 The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.
さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態及びその変形例を組み合わせた構成も全て本発明に含まれるものである。 Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
101 プログラム開発装置
102 プログラム開発サーバ
103 データベースサーバ
104 アプリケーションクライアント
105 アプリケーションサーバ
106 ネットワーク
101 Program Development Device 102 Program Development Server 103 Database Server 104 Application Client 105
Claims (11)
前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される入力定義情報と、前記画面に出力する項目を定義する出力定義情報とを入出力定義情報として管理する入出力定義管理手段と、
Webアプリケーションとして用いられるプログラムの生成指示を受け付ける第1指示受付手段と、
Webサービスとして用いられるプログラムの生成指示を受け付ける第2指示受付手段と、
前記第1指示受付手段により生成指示を受け付けた場合は、前記入出力定義管理手段により管理されている入出力定義情報を用いて、前記Webアプリケーションとして用いられるプログラムを生成し、一方、前記第2指示受付手段により生成指示を受け付けた場合は、前記入出力定義管理手段により管理されている入出力定義情報を用いて、前記Webサービスのインターフェース定義情報及び当該Webサービスとして用いられるプログラムを生成することを制御する生成制御手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus that generates a program used as a Web application,
Input / output definition information that can be used to generate the Web application and includes input definition information input via a screen of the Web application and output definition information that defines items to be output to the screen. I / O definition management means to manage as
First instruction receiving means for receiving a generation instruction of a program used as a Web application;
Second instruction receiving means for receiving a generation instruction of a program used as a Web service;
When the generation instruction is received by the first instruction receiving unit, the program used as the Web application is generated using the input / output definition information managed by the input / output definition managing unit, while the second When the generation instruction is received by the instruction receiving unit, the interface definition information of the Web service and the program used as the Web service are generated using the input / output definition information managed by the input / output definition management unit. An information processing apparatus comprising generation control means for controlling the information.
前記生成制御手段は、
前記第1ルール記憶手段に記憶されているインターフェース定義情報生成ルールに従って、
前記入出力定義管理手段により管理されている入力定義情報を用いて、前記Webサービスに対し送信する要求メッセージの前記インターフェース定義情報を生成し、
前記入出力定義管理手段により管理されている出力定義情報を用いて、前記Webサービスから受信する応答メッセージの前記インターフェース定義情報を生成すること
を特徴とする請求項1に記載の情報処理装置。 A first rule storage means for storing a generation rule for generating the interface definition information;
The generation control means includes
According to the interface definition information generation rule stored in the first rule storage means,
Using the input definition information managed by the input / output definition management means, generating the interface definition information of a request message to be transmitted to the Web service;
The information processing apparatus according to claim 1, wherein the interface definition information of a response message received from the Web service is generated using output definition information managed by the input / output definition management unit.
前記生成制御手段は、
前記第2ルール記憶手段に記憶されているプログラム生成ルールに従い、
前記第1指示受付手段により生成指示を受け付けた場合は、前記Webアプリケーションとして用いられるプログラムを生成し、一方、前記第2指示受付手段により生成指示を受け付けた場合は、前記Webサービスとして用いられるプログラムを生成することを制御すること
を特徴とする請求項1または2に記載の情報処理装置。 A second rule storage means for storing a program used as the Web application and a program generation rule for generating a program used as the Web service;
The generation control means includes
According to the program generation rules stored in the second rule storage means,
When a generation instruction is received by the first instruction receiving unit, a program used as the Web application is generated. On the other hand, when a generation instruction is received by the second instruction receiving unit, a program used as the Web service The information processing apparatus according to claim 1, wherein the information processing apparatus controls generation of the information.
前記入出力定義管理手段により管理されている入出力定義情報から決定した前記Webサービスとの通信に必要な情報を用いて、前記インターフェース定義情報を生成すること
を特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 The generation control means includes
4. The interface definition information is generated using information necessary for communication with the Web service determined from the input / output definition information managed by the input / output definition management means. The information processing apparatus according to any one of claims.
前記入出力定義管理手段により管理されている入力定義情報のうち、前記Webサービスに対し送信する要求メッセージに含める項目に係る入力定義情報を用いて、前記インターフェース定義情報を生成し、
前記入出力定義管理手段により管理されている出力定義情報のうち、前記Webサービスから受信する応答メッセージに含める項目に係る出力定義情報を用いて、前記インターフェース定義情報を生成すること
を特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。 The generation control means includes
Of the input definition information managed by the input / output definition management means, the interface definition information is generated using the input definition information relating to the item to be included in the request message transmitted to the Web service,
The interface definition information is generated by using output definition information related to an item included in a response message received from the Web service among the output definition information managed by the input / output definition management unit. Item 5. The information processing apparatus according to any one of Items 1 to 4.
前記入出力定義管理手段により管理されている入力定義情報のうち、前記Webアプリケーションの画面を介して入力される項目に係る入力定義情報を用いて、前記インターフェース定義情報を生成し、
前記入出力定義管理手段により管理されている出力定義情報のうち、当該Webアプリケーションの画面に前記Webサービスの実行結果として表示するために用いる出力定義情報を用いて、前記インターフェース定義情報を生成すること
を特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。 The generation control means includes
Of the input definition information managed by the input / output definition management means, the interface definition information is generated using the input definition information related to the item input via the screen of the Web application,
Wherein in the output definition information managed by the input definition managing means, that by using the output definition information used for display as a result of executing the screen on the Web service of the Web application, to generate the interface definition information The information processing apparatus according to any one of claims 1 to 5, characterized in that:
前記生成制御手段は、
前記変数設定受付手段により受け付けた入出力値の設定に変数が含まれる場合に、当該変数に対応する文字列を用いて前記インターフェース定義情報を生成すること
を特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。 As the input / output definition information managed by the input / output definition management means, further comprising variable setting accepting means for accepting settings of input / output values including variables,
The generation control means includes
7. The interface definition information is generated by using a character string corresponding to the variable when the input / output value setting received by the variable setting receiving unit includes a variable. The information processing apparatus according to claim 1.
前記生成制御手段は、
前記入出力定義管理手段により前記第1フラグの値が生成すると管理されている項目の入出力定義情報を用いて前記インターフェース定義情報を生成すること
を特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。 The input / output definition management means manages a first flag for determining whether to generate the interface definition information for each item.
The generation control means includes
8. The interface definition information is generated using input / output definition information of an item managed when the value of the first flag is generated by the input / output definition management unit. The information processing apparatus according to item.
前記変更受付手段により受け付けた変更が、前記第1フラグの値が生成すると管理されている項目の入出力定義情報に係る変更であって、当該項目と同じ項目を持つ他の入出力定義情報が存在する場合、前記変更に従って、当該他の入出力定義情報が持つ当該項目の入出力定義情報を変更すること
を特徴とする請求項8に記載の情報処理装置。 A change accepting means for accepting a change in the input / output definition information managed by the input / output definition managing means;
The change accepted by the change accepting means is a change related to the input / output definition information of an item managed when the value of the first flag is generated, and other input / output definition information having the same item as the relevant item The information processing apparatus according to claim 8, wherein, if present, the input / output definition information of the item included in the other input / output definition information is changed according to the change.
前記情報処理装置が、
前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される入力定義情報と、前記画面に出力する項目を定義する出力定義情報とを入出力定義情報として管理する入出力定義管理ステップと、
Webアプリケーションとして用いられるプログラムの生成指示を受け付ける第1指示受付ステップと、
Webサービスとして用いられるプログラムの生成指示を受け付ける第2指示受付ステップと、
前記第1指示受付ステップにより生成指示を受け付けた場合は、前記入出力定義管理ステップにより管理されている入出力定義情報を用いて、前記Webアプリケーションとして用いられるプログラムを生成し、一方、前記第2指示受付ステップにより生成指示を受け付けた場合は、前記入出力定義管理ステップにより管理されている入出力定義情報を用いて、前記Webサービスのインターフェース定義情報及び当該Webサービスとして用いられるプログラムを生成することを制御する生成制御ステップと
を実行することを特徴とする処理方法。 A processing method in an information processing apparatus for generating a program used as a Web application,
The information processing apparatus is
Input / output definition information that can be used to generate the Web application and includes input definition information input via a screen of the Web application and output definition information that defines items to be output to the screen. I / O definition management steps managed as
A first instruction receiving step for receiving an instruction for generating a program used as a Web application;
A second instruction receiving step for receiving an instruction for generating a program used as a Web service;
When a generation instruction is received in the first instruction reception step, a program used as the Web application is generated using the input / output definition information managed in the input / output definition management step, while the second When a generation instruction is received in the instruction reception step, the interface definition information of the Web service and a program used as the Web service are generated using the input / output definition information managed in the input / output definition management step. And a generation control step for controlling the process.
前記情報処理装置を、
前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される入力定義情報と、前記画面に出力する項目を定義する出力定義情報とを入出力定義情報として管理する入出力定義管理手段と、
Webアプリケーションとして用いられるプログラムの生成指示を受け付ける第1指示受付手段と、
Webサービスとして用いられるプログラムの生成指示を受け付ける第2指示受付手段と、
前記第1指示受付手段により生成指示を受け付けた場合は、前記入出力定義管理手段により管理されている入出力定義情報を用いて、前記Webアプリケーションとして用いられるプログラムを生成し、一方、前記第2指示受付手段により生成指示を受け付けた場合は、前記入出力定義管理手段により管理されている入出力定義情報を用いて、前記Webサービスのインターフェース定義情報及び当該Webサービスとして用いられるプログラムを生成することを制御する生成制御手段
として機能させるためのプログラム。
A program that can be executed by an information processing apparatus that generates a program used as a Web application,
The information processing apparatus;
Input / output definition information that can be used to generate the Web application and includes input definition information input via a screen of the Web application and output definition information that defines items to be output to the screen. I / O definition management means to manage as
First instruction receiving means for receiving a generation instruction of a program used as a Web application;
Second instruction receiving means for receiving a generation instruction of a program used as a Web service;
When the generation instruction is received by the first instruction receiving unit, the program used as the Web application is generated using the input / output definition information managed by the input / output definition managing unit, while the second When the generation instruction is received by the instruction receiving unit, the interface definition information of the Web service and the program used as the Web service are generated using the input / output definition information managed by the input / output definition management unit. A program for functioning as a generation control means for controlling the process.
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016046334 | 2016-03-09 | ||
| JP2016046334 | 2016-03-09 | ||
| JP2016129680 | 2016-06-30 | ||
| JP2016129680 | 2016-06-30 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017244110A Division JP6730633B2 (en) | 2016-03-09 | 2017-12-20 | Information processing apparatus, processing method thereof, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018010614A JP2018010614A (en) | 2018-01-18 |
| JP6264487B2 true JP6264487B2 (en) | 2018-01-24 |
Family
ID=60995591
Family Applications (3)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017045391A Active JP6264487B2 (en) | 2016-03-09 | 2017-03-09 | Information processing apparatus, processing method thereof, and program |
| JP2017244110A Active JP6730633B2 (en) | 2016-03-09 | 2017-12-20 | Information processing apparatus, processing method thereof, and program |
| JP2020111080A Active JP7004930B2 (en) | 2016-03-09 | 2020-06-29 | Information processing equipment and its processing method and program |
Family Applications After (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017244110A Active JP6730633B2 (en) | 2016-03-09 | 2017-12-20 | Information processing apparatus, processing method thereof, and program |
| JP2020111080A Active JP7004930B2 (en) | 2016-03-09 | 2020-06-29 | Information processing equipment and its processing method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (3) | JP6264487B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7381900B2 (en) * | 2020-12-25 | 2023-11-16 | キヤノンマーケティングジャパン株式会社 | Information processing system, its control method and program |
| JP7376806B2 (en) * | 2021-01-21 | 2023-11-09 | キヤノンマーケティングジャパン株式会社 | Information processing system, its control method and program |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006163855A (en) | 2004-12-08 | 2006-06-22 | Hitachi Software Eng Co Ltd | Web application development support device, and development support method |
| US7992127B2 (en) * | 2004-12-23 | 2011-08-02 | International Business Machines Corporation | Method and system of encapsulating web site transactions for computer-aided generation of web services |
| CN101127655B (en) | 2006-08-18 | 2012-06-06 | 国际商业机器公司 | Method and system for integrating existing www systems |
| JP2008134906A (en) * | 2006-11-29 | 2008-06-12 | Hitachi Ltd | Business process definition generation method, apparatus, and program |
-
2017
- 2017-03-09 JP JP2017045391A patent/JP6264487B2/en active Active
- 2017-12-20 JP JP2017244110A patent/JP6730633B2/en active Active
-
2020
- 2020-06-29 JP JP2020111080A patent/JP7004930B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP6730633B2 (en) | 2020-07-29 |
| JP2020170530A (en) | 2020-10-15 |
| JP2018067345A (en) | 2018-04-26 |
| JP7004930B2 (en) | 2022-01-21 |
| JP2018010614A (en) | 2018-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102257477B (en) | Application development assisting device | |
| US11487595B2 (en) | API adapter creation device, API adapter creation method, and API adapter creation program | |
| JP2016224923A (en) | Method and system for automated generation of user form interface | |
| WO2009116163A1 (en) | Application development support device, program and recording medium | |
| CN113268233B (en) | Page generation method and device, computer equipment and storage medium | |
| US20070016696A1 (en) | Method, System, and Software Tool for Emulating a Portal Application | |
| CN109284488B (en) | Method, device and medium for modifying front-end table column data based on local storage | |
| JP6332533B2 (en) | Information processing apparatus, processing method thereof, and program | |
| JP7004930B2 (en) | Information processing equipment and its processing method and program | |
| CN111984248A (en) | Page editing method and device, storage medium and electronic device | |
| JP6002302B2 (en) | Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program | |
| JP7014960B2 (en) | Information processing equipment, servers, their processing methods and programs | |
| JP6264486B2 (en) | Information processing apparatus, processing method thereof, and program | |
| JP2009087093A (en) | Application development support device and program | |
| KR101414795B1 (en) | Instant Web App composing device and method | |
| JP6264399B2 (en) | Information processing apparatus, processing method thereof, and program | |
| JP6256535B2 (en) | Information processing apparatus, processing method thereof, and program | |
| JP6697168B2 (en) | Information processing apparatus, processing method thereof, and program | |
| JP2020129392A (en) | Information processing apparatus, processing method thereof, and program | |
| JP2016014951A (en) | Information processing apparatus, information processing method, and program | |
| KR101929201B1 (en) | Method and apparatus for structuring component that supports n-screen using single code in business application | |
| CN112418796A (en) | Sub-process node activation method and device, electronic equipment and storage medium | |
| JP7060788B2 (en) | Information processing equipment, information processing equipment control methods, and computer programs | |
| JP4894534B2 (en) | Generator service providing system, design information reuse and storage method, and generator service program | |
| Hodel | Integration with Third-Party Tools |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171107 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171109 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171121 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6264487 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |