JP2010186423A - Systeme for management of distributed application setting information - Google Patents

Systeme for management of distributed application setting information Download PDF

Info

Publication number
JP2010186423A
JP2010186423A JP2009031500A JP2009031500A JP2010186423A JP 2010186423 A JP2010186423 A JP 2010186423A JP 2009031500 A JP2009031500 A JP 2009031500A JP 2009031500 A JP2009031500 A JP 2009031500A JP 2010186423 A JP2010186423 A JP 2010186423A
Authority
JP
Japan
Prior art keywords
setting information
annotation
web application
screen
execution module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009031500A
Other languages
Japanese (ja)
Inventor
Hidenori Kumai
秀憲 熊井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009031500A priority Critical patent/JP2010186423A/en
Publication of JP2010186423A publication Critical patent/JP2010186423A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a distributed application setting information management system that facilitates management of setting information of a Web application. <P>SOLUTION: An annotation definition file 18 is prepared which defines in advance an annotation for displaying the setting information about the action of the Web application in the form easily comprehensible by a system manager. By a setting information analysis function 15, the setting information based on the annotation is extracted from an execution module 13 of the Web application 12 in an application server 11. By a setting information browsing function 16, the extracted setting information is shown in the form easily comprehensible by the system manager by referring to the annotation definition file 18. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

この発明は、Webアプリケーションに分散して設定された設定情報を管理する分散アプリケーション設定情報管理システムに関するものである。   The present invention relates to a distributed application setting information management system that manages setting information distributed and set in a Web application.

Webアプリケーションでは、アプリケーションの動作を決める設定をXML等による設定ファイルに行うが、この場合、ソースコードと設定情報がファイル分離されるために開発効率が悪いという問題があった。これを解決するために、アノテーションという技術が最近では利用されている。この技術は、ソースコード中にアノテーションという特殊な記述方法でコーディングするものである。ただし、アプリケーション全体でみると、設定情報がソースコード中の至るところに分散することになるため、管理しにくい。従来は、これらの情報を別途設計書にて管理するしかなく、特に先行技術はない。
特許文献1は、ネットワーク上に分散したプロセスの状況を監視するための技術に関するものである。
しかし、特許文献1は、一つのアプリケーションのモジュール中に分散定義された設定値をシステム管理者にとって理解しやすい形で表示するものではなかった。
In the Web application, the setting for determining the operation of the application is performed in a setting file by XML or the like. In this case, the source code and the setting information are separated into files, which causes a problem that development efficiency is low. In order to solve this problem, an annotation technique has been used recently. This technology is coded by a special description method called annotation in the source code. However, it is difficult to manage the entire application because the setting information is distributed throughout the source code. Conventionally, such information must be managed separately by a design document, and there is no prior art in particular.
Patent Document 1 relates to a technique for monitoring the status of processes distributed on a network.
However, Patent Document 1 does not display setting values distributed and defined in one application module in a form that is easy for the system administrator to understand.

特開平08−314875号公報(第6〜13頁、図1)JP 08-314875 A (6th to 13th pages, FIG. 1)

従来は、アノテーションによって設定された値は、別途設計書に記載する等、手動で管理する必要がある。この場合、アプリケーションの実際の設定と設計書との間で、設計情報が異なるという問題が起こりうる。
従来は、設定を変更してアプリケーションを動作させるためには、設定ファイルやソースコードの設定情報を変更(プログラミング)し、Webアプリケーションとして再度モジュール化する必要がある。この場合、設定情報の変更に時間を要し、試験的に設定を変更して動作させてみたい、といったことが実現しにくいという問題がある。
Conventionally, values set by annotations must be managed manually, for example, in a separate design document. In this case, there may be a problem that design information differs between the actual setting of the application and the design document.
Conventionally, in order to change the setting and operate the application, it is necessary to change (program) the setting information of the setting file and the source code, and to modularize again as a Web application. In this case, there is a problem that it takes time to change the setting information, and it is difficult to realize that the setting information is changed on a trial basis and operated.

この発明は、上記のような課題を解決するためになされたものであり、Webアプリケーションの設定情報の管理を容易にした分散アプリケーション設定情報管理システムを得ることを目的としている。   The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a distributed application setting information management system that facilitates management of Web application setting information.

この発明に係わる分散アプリケーション設定情報管理システムにおいては、Webアプリケーションのソースコードにアノテーションにより記述された設定情報を画面表示するための情報を定義するアノテーション定義ファイル、
Webアプリケーションからアノテーションで記述された設定情報を取得する設定情報解析手段、
アノテーション定義ファイルを参照して、設定情報解析手段により抽出された設定情報を画面に表示する設定情報表示手段を備えたものである。
In the distributed application setting information management system according to the present invention, an annotation definition file that defines information for displaying the setting information described by annotation in the source code of the Web application on the screen,
Setting information analysis means for acquiring setting information described by annotation from a Web application;
A setting information display unit that refers to the annotation definition file and displays the setting information extracted by the setting information analysis unit on the screen is provided.

この発明は、以上説明したように、Webアプリケーションのソースコードにアノテーションにより記述された設定情報を画面表示するための情報を定義するアノテーション定義ファイル、
Webアプリケーションからアノテーションで記述された設定情報を取得する設定情報解析手段、
アノテーション定義ファイルを参照して、設定情報解析手段により抽出された設定情報を画面に表示する設定情報表示手段を備えたので、Webアプリケーションの設定情報をシステム管理者にとって理解しやすい形で表示することが可能となる。
As described above, the present invention includes an annotation definition file that defines information for displaying the setting information described by annotation in the source code of a Web application on the screen,
Setting information analysis means for acquiring setting information described by annotation from a Web application;
Since the setting information display means for displaying the setting information extracted by the setting information analysis means on the screen by referring to the annotation definition file, the setting information of the Web application is displayed in a form that is easy for the system administrator to understand. Is possible.

この発明の実施の形態1による分散アプリケーション設定情報管理機能を示す全体構成図である。It is a whole block diagram which shows the distributed application setting information management function by Embodiment 1 of this invention. この発明の実施の形態1による分散アプリケーション設定情報管理機能の設定情報閲覧機能のユーザインタフェースイメージ(画面遷移情報)を示す図である。It is a figure which shows the user interface image (screen transition information) of the setting information browsing function of the distributed application setting information management function by Embodiment 1 of this invention. この発明の実施の形態1による分散アプリケーション設定情報管理機能のアノテーション定義ファイルとWebアプリケーション設定情報の解析結果との関連を示す図である。It is a figure which shows the relationship between the annotation definition file of the distributed application setting information management function by Embodiment 1 of this invention, and the analysis result of Web application setting information. この発明の実施の形態1による分散アプリケーション設定情報管理機能の設定情報閲覧機能の処理を示すフローチャートである。It is a flowchart which shows the process of the setting information browsing function of the distributed application setting information management function by Embodiment 1 of this invention. この発明の実施の形態2による分散アプリケーション設定情報管理機能を示す全体構成図である。It is a whole block diagram which shows the distributed application setting information management function by Embodiment 2 of this invention. この発明の実施の形態2による分散アプリケーション設定情報管理機能の設定情報更新機能のユーザインタフェースイメージ(画面遷移情報)を示す図である。It is a figure which shows the user interface image (screen transition information) of the setting information update function of the distributed application setting information management function by Embodiment 2 of this invention. この発明の実施の形態2による分散アプリケーション設定情報管理機能のWebアプリケーション設定情報の更新処理を示すフローチャートである。It is a flowchart which shows the update process of the Web application setting information of the distributed application setting information management function by Embodiment 2 of this invention. この発明の実施の形態3による分散アプリケーション設定情報管理機能を示す全体構成図である。It is a whole block diagram which shows the distributed application setting information management function by Embodiment 3 of this invention. この発明の実施の形態3による分散アプリケーション設定情報管理機能の設定情報シミュレーション機能のユーザインタフェースイメージ(画面遷移情報)を示す図である。It is a figure which shows the user interface image (screen transition information) of the setting information simulation function of the distributed application setting information management function by Embodiment 3 of this invention. この発明の実施の形態3による分散アプリケーション設定情報管理機能のWebアプリケーション設定情報のシミュレーション実行までの処理を示すフローチャートである。It is a flowchart which shows the process until simulation execution of the Web application setting information of the distributed application setting information management function by Embodiment 3 of this invention. この発明の実施の形態4による分散アプリケーション設定情報管理機能を示す全体構成図である。It is a whole block diagram which shows the distributed application setting information management function by Embodiment 4 of this invention. この発明の実施の形態4による分散アプリケーション設定情報管理機能のWebアプリケーション設定情報のシミュレーション実行(ソースコード未使用)までの処理を示すフローチャートである。It is a flowchart which shows the process until simulation execution (source code unused) of the Web application setting information of the distributed application setting information management function by Embodiment 4 of this invention. この発明の実施の形態5による分散アプリケーション設定情報管理機能のアノテーション定義ファイルの詳細を示す図である。It is a figure which shows the detail of the annotation definition file of the distributed application setting information management function by Embodiment 5 of this invention.

実施の形態1.
以下、この発明の実施の形態1を図に基づいて説明する。
図1は、この発明の実施の形態1による分散アプリケーション設定情報管理機能を示す全体構成図である。
図1において、アプリケーションサーバ11上で動作するWebアプリケーション12を構成する実行モジュール13は、その動作に関する情報をソースコードにアノテーション(@で記述)にて設定する。図1では、実行モジュール13をツールにより解析して得られるアノテーションを含むソースコードの情報を実行モジュール13の四角の中に書いている。例えば、その関数が処理完了後に次画面を表示する場合は、アノテーションに次画面の情報を設定する。
Webアプリケーション12は、アプリケーションサーバ11上で動作する。分散アプリケーション設定情報管理機能17(分散アプリケーション設定情報管理システム)の設定情報解析機能15(設定情報解析手段)も、アプリケーションサーバ11上で合わせて実行させる。設定情報解析機能15は、実行中のWebアプリケーション12から設定情報(アノテーション情報)を抽出し、分散アプリケーション設定情報管理機能17の設定情報閲覧機能16に渡す。なお、設定情報としてはアノテーションで記述された以外のものを抽出してもよい。
設定情報閲覧機能16(設定情報表示手段)は、渡された設定情報を、予め作成されたアノテーション定義ファイル18(後述する)と比較して、該当した情報を表示する。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below with reference to the drawings.
FIG. 1 is an overall configuration diagram showing a distributed application setting information management function according to Embodiment 1 of the present invention.
In FIG. 1, the execution module 13 constituting the Web application 12 that operates on the application server 11 sets information related to the operation in the source code by annotation (denoted by @). In FIG. 1, source code information including annotations obtained by analyzing the execution module 13 with a tool is written in a square of the execution module 13. For example, when the function displays the next screen after processing is completed, information on the next screen is set in the annotation.
The web application 12 operates on the application server 11. The setting information analysis function 15 (setting information analysis means) of the distributed application setting information management function 17 (distributed application setting information management system) is also executed on the application server 11 together. The setting information analysis function 15 extracts setting information (annotation information) from the Web application 12 being executed and passes it to the setting information browsing function 16 of the distributed application setting information management function 17. Note that information other than that described in the annotation may be extracted as the setting information.
The setting information browsing function 16 (setting information display means) compares the received setting information with an annotation definition file 18 (described later) created in advance, and displays the corresponding information.

図2は、この発明の実施の形態1による分散アプリケーション設定情報管理機能の設定情報閲覧機能のユーザインタフェースイメージ(画面遷移情報)を示す図である。
図2において、設定情報閲覧機能16を起動し、画面遷移情報を選択すると、画面遷移情報21の画面が表示される。そこには、設定情報解析機能15から渡された設定情報を元に、Webアプリケーション12全体の画面遷移を示す図が表示される。この図は各画面22と画面遷移23で構成される。画面22のいずれかを選択24すると、画面詳細情報25の画面が表示される。画面詳細情報25の画面には、画面名と画面がもつイベント(ボタン押下等)名と、そのイベントが発生した後に表示する次画面名が表示される。画面がもつイベントは、HTMLでSUBMITタイプとなっているものから取得する。
設定情報閲覧機能16は、このように設定情報をシステム管理者が理解しやすい形で表示する。
FIG. 2 is a diagram showing a user interface image (screen transition information) of the setting information browsing function of the distributed application setting information management function according to the first embodiment of the present invention.
In FIG. 2, when the setting information browsing function 16 is activated and screen transition information is selected, the screen of the screen transition information 21 is displayed. A diagram showing the screen transition of the entire Web application 12 based on the setting information passed from the setting information analysis function 15 is displayed there. This figure consists of screens 22 and screen transitions 23. When any one of the screens 22 is selected 24, a screen of screen detailed information 25 is displayed. On the screen of the screen detail information 25, a screen name, an event name (button press etc.) of the screen, and a next screen name to be displayed after the event occurs are displayed. The event that the screen has is acquired from the SUBMIT type in HTML.
In this way, the setting information browsing function 16 displays the setting information in a form that is easy for the system administrator to understand.

図3は、この発明の実施の形態1による分散アプリケーション設定情報管理機能のアノテーション定義ファイルとWebアプリケーション設定情報の解析結果との関連を示す図である。
図3において、アノテーション定義ファイル18の詳細を示している。
アノテーション定義ファイル18は、設定情報の表示のための表示テンプレート33と、アノテーションの名前ごとに、そのアノテーションで使用される引数などのパラメータがどの表示テンプレート33のどの変数と対応するかを定義するアノテーション詳細情報32で構成される。表示テンプレート33は、図3では、画面遷移用の表示テンプレート33が示されている。図3では、次画面遷移と前画面遷移の表示テンプレートを示している。なお、次画面遷移とは、別画面に遷移することである。前画面遷移とは今の画面の前に表示していた画面が保存されており、その保存されている画面に表示を戻すことである。
アノテーション詳細情報32には、1行に1個のアノテーションを記述し、”:”の左側に、アノテーションの表記フォーマットを書き、”:”の右側の最初にこの種類のアノテーションを表示する際に使用する表示テンプレート33の名前を書き、”→”をおいて、アノテーションでのパラメータ(図3では、”param0”)が対応する表示テンプレート33での変数名を書く。なお、パラメータが複数の場合には、”→”の右側に、変数名をカンマで区切って書く。”@scr”という種類のアノテーションでは、そのパラメータ”param0”が画面遷移テンプレート33での”画面名”に対応する。そして、”@next”のアノテーションのパラメータ”param0”が”次画面名”に対応する。図3に示すWebアプリケーション設定情報解析結果34では、”SCR1”が書かれた四角から次画面遷移を意味する実線の矢印が出て、”SCR2”が書かれた四角にその矢印が入るという画面表示がなされることになる。
図4は、この発明の実施の形態1による分散アプリケーション設定情報管理機能の設定情報閲覧機能の処理を示すフローチャートである。
FIG. 3 is a diagram showing a relationship between the annotation definition file of the distributed application setting information management function and the analysis result of the Web application setting information according to the first embodiment of the present invention.
FIG. 3 shows details of the annotation definition file 18.
The annotation definition file 18 includes a display template 33 for displaying setting information, and an annotation for defining which variable of which display template 33 corresponds to a parameter such as an argument used in the annotation for each annotation name. It consists of detailed information 32. The display template 33 is shown in FIG. 3 as a display template 33 for screen transition. FIG. 3 shows display templates for the next screen transition and the previous screen transition. The next screen transition is a transition to another screen. The previous screen transition means that the screen displayed before the current screen is stored and the display is returned to the stored screen.
In the annotation detail information 32, one annotation is described in one line, the notation format of the annotation is written on the left side of “:”, and this type of annotation is displayed at the beginning of the right side of “:”. The name of the display template 33 to be written is written, “→” is placed, and the variable name in the display template 33 corresponding to the parameter (“param0” in FIG. 3) in the annotation is written. If there are multiple parameters, write variable names separated by commas to the right of “→”. In the annotation of the type “@scr”, the parameter “param0” corresponds to “screen name” in the screen transition template 33. The parameter “param0” of the annotation “@next” corresponds to “next screen name”. In the Web application setting information analysis result 34 shown in FIG. 3, a screen in which a solid line arrow indicating the next screen transition comes out from a square in which “SCR1” is written, and the arrow enters a square in which “SCR2” is written. Display will be made.
FIG. 4 is a flowchart showing processing of the setting information browsing function of the distributed application setting information management function according to the first embodiment of the present invention.

次に、図4を用いて、設定情報閲覧機能の動作について説明する。
まず、Webアプリケーション12を起動する(ステップ 41)。次に、設定情報解析機能15も起動する(ステップ 42)。設定情報解析機能15は、Webアプリケーション12の実行モジュールから、アノテーション情報を抽出する(ステップ 43)。そして、その情報をメモリやファイル、データベース等に保持する(ステップ 44)。
次に、設定情報閲覧機能16を起動する(ステップ 45)。設定情報閲覧機能16は、先ほど保持されたアノテーション情報を取得する(ステップ 46)。次に、アノテーション定義ファイル18を読み込み(ステップ 47)、ステップ46で取得したアノテーション情報と比較する。アノテーション詳細情報のアノテーション名に一致するものを表示テンプレート33に組み込み、表示情報を構築する(ステップ 48)。最後に、画面に表示する(ステップ 49)。
Next, the operation of the setting information browsing function will be described with reference to FIG.
First, the web application 12 is activated (step 41). Next, the setting information analysis function 15 is also activated (step 42). The setting information analysis function 15 extracts annotation information from the execution module of the Web application 12 (step 43). The information is stored in a memory, file, database, or the like (step 44).
Next, the setting information browsing function 16 is activated (step 45). The setting information browsing function 16 acquires the annotation information held earlier (step 46). Next, the annotation definition file 18 is read (step 47) and compared with the annotation information acquired in step 46. The information that matches the annotation name of the detailed annotation information is incorporated into the display template 33, and the display information is constructed (step 48). Finally, it is displayed on the screen (step 49).

実施の形態1によれば、Webアプリケーション内に分散して設定された情報をシステム管理者にとって理解しやすい表現方法で表示することが可能となる。
これにより、Webアプリケーションの設定情報の確認が容易になり、開発コスト、障害発生時の処置コストの削減が可能となる。
According to the first embodiment, it is possible to display information distributed and set in a Web application in an expression method that is easy for the system administrator to understand.
This facilitates confirmation of the Web application setting information, and can reduce development costs and treatment costs when a failure occurs.

実施の形態2.
実施の形態1では、分散したWebアプリケーション設定情報の一元的な閲覧について述べたが、設定情報の更新も可能であり、実施の形態2は、これに関するものである。
Embodiment 2. FIG.
In the first embodiment, the centralized browsing of the distributed Web application setting information has been described. However, the setting information can be updated, and the second embodiment relates to this.

図5は、この発明の実施の形態2による分散アプリケーション設定情報管理機能を示す全体構成図である。
図5において、11〜13、15、17、18は図1におけるものと同一のものである。図5では、分散アプリケーション設定情報管理機能17に、図5では、分散アプリケーション設定情報管理機能17に、設定情報更新機能51(設定情報表示手段及び設定情報変更手段の機能を有する)を設けている。設定情報更新機能51は、図1の設定情報閲覧機能16と同様のユーザインタフェースイメージを表示し、さらに既存(現在動作中のWebアプリケーション)のソースコード52を読み込む機能をもち、設定情報を変更して新ソースコード53を生成する機能をもつ。
FIG. 5 is an overall configuration diagram showing a distributed application setting information management function according to Embodiment 2 of the present invention.
In FIG. 5, 11-13, 15, 17, and 18 are the same as those in FIG. In FIG. 5, the distributed application setting information management function 17 is provided, and in FIG. 5, the distributed application setting information management function 17 is provided with a setting information update function 51 (having functions of setting information display means and setting information change means). . The setting information update function 51 displays a user interface image similar to the setting information browsing function 16 of FIG. 1 and further has a function of reading the existing (currently operating Web application) source code 52 to change the setting information. And has a function of generating a new source code 53.

図6は、この発明の実施の形態2による分散アプリケーション設定情報管理機能の設定情報更新機能のユーザインタフェースイメージ(画面遷移情報)を示す図である。
図6において、21〜25は図2におけるものと同一のものである。図6では、画面遷移情報21の画面に生成ボタン64を設け、画面詳細情報25の画面に変更ボタン61と閲覧ボタン62を設けている。画面詳細情報25の画面にて、変更ボタン61を押下すると、変更モードに切り替わる。変更モードでは変更可能な部分が入力モード62となる。また、閲覧ボタン63を押下することで、閲覧画面に切り替わる。
画面遷移情報21の画面にて生成ボタン64を押下すると、設定値が変更されたソースコードを生成する。
FIG. 6 is a diagram showing a user interface image (screen transition information) of the setting information update function of the distributed application setting information management function according to the second embodiment of the present invention.
In FIG. 6, 21 to 25 are the same as those in FIG. In FIG. 6, a generation button 64 is provided on the screen of the screen transition information 21, and a change button 61 and a browse button 62 are provided on the screen of the screen detailed information 25. When the change button 61 is pressed on the screen of the screen detailed information 25, the mode is switched to the change mode. In the change mode, the changeable portion becomes the input mode 62. In addition, when the browse button 63 is pressed, the screen is switched to the browse screen.
When the generation button 64 is pressed on the screen of the screen transition information 21, the source code in which the setting value is changed is generated.

図7は、この発明の実施の形態2による分散アプリケーション設定情報管理機能のWebアプリケーション設定情報の更新処理を示すフローチャートである。
Webアプリケーションの起動は、実施の形態1と同じなので、その説明は省略する。以下の実施の形態でも同様である。
FIG. 7 is a flowchart showing Web application setting information update processing of the distributed application setting information management function according to the second embodiment of the present invention.
Since the activation of the Web application is the same as in the first embodiment, the description thereof is omitted. The same applies to the following embodiments.

次に、図7を用いて、設定情報更新機能51の動作を説明する。
まず、設定情報更新機能51を起動する(ステップ 45A)。ステップ46〜49は図4と同様の処理であり、画面詳細情報25の画面を表示し(ステップ 49)、変更モードに切り替える(ステップ 72)。変更モードでは、変更可能なパラメータ部分が入力フィールドになっており、必要に応じて設定情報を変更する(ステップ 73)。変更した内容は、メモリ上に保持する(ステップ 74)。変更が終わったら、画面詳細情報25の画面を閉じ、画面遷移情報21の画面に戻る。その際、変更した内容に従って、表示情報を再構築(ステップ 75)した上で、画面表示を更新する(ステップ 76)。そこで、生成ボタン64を押下すると、任意のディレクトリに保存されたソースコードを読み込む(ステップ 77)。次に、先ほど保持した変更内容を、読み込んだソースコードに反映する(ステップ 78)。最後に、変更したソースコードを任意のディレクトリに生成する(ステップ 79)。
Next, the operation of the setting information update function 51 will be described with reference to FIG.
First, the setting information update function 51 is activated (step 45A). Steps 46 to 49 are the same processing as in FIG. 4, and the screen of the screen detailed information 25 is displayed (step 49), and the mode is switched to the change mode (step 72). In the change mode, the changeable parameter portion is an input field, and the setting information is changed as necessary (step 73). The changed contents are held in the memory (step 74). When the change is finished, the screen of the screen detailed information 25 is closed and the screen of the screen transition information 21 is returned. At that time, the display information is reconstructed (step 75) according to the changed contents, and the screen display is updated (step 76). Therefore, when the generation button 64 is pressed, the source code stored in an arbitrary directory is read (step 77). Next, the contents of the change held earlier are reflected in the read source code (step 78). Finally, the changed source code is generated in an arbitrary directory (step 79).

実施の形態2によれば、Webアプリケーション内に分散して設定された情報を意味のある表現方法で閲覧した上で、変更することが可能となる。意味のある表現で確認しながら変更が行えるため、誤った設定をすることがなくなり、開発コスト、障害発生時の処置コストの削減が可能となる。   According to the second embodiment, information distributed and set in the Web application can be browsed and changed with a meaningful expression method. Since changes can be made while confirming with meaningful expressions, incorrect settings are eliminated, and development costs and treatment costs in the event of a failure can be reduced.

実施の形態3.
実施の形態2では、分散したWebアプリケーション設定情報の更新について述べたが、設定情報の一時的な更新(シミュレーション)も可能である。実施の形態3は、これを実現するものである。
図8は、この発明の実施の形態3による分散アプリケーション設定情報管理機能を示す全体構成図である。
図8において、11〜13、15、17、18、51〜53は図5におけるものと同一のものである。図8では、シミュレーション用Webアプリケーション82(シミュレーション用実行モジュール)がアプリケーションサーバ11に生成される。また、分散アプリケーション設定情報管理機能17に、設定情報シミュレーション機能83を設けている。
設定情報シミュレーション機能83(設定情報シミュレーション手段)は、現在動作中のWebアプリケーション12の実行モジュール(WAR)から、設定情報を書き換えたシミュレーション用Webアプリケーション82を生成する。
Embodiment 3 FIG.
In the second embodiment, the update of the distributed Web application setting information has been described. However, the setting information can be temporarily updated (simulated). The third embodiment realizes this.
FIG. 8 is an overall configuration diagram showing a distributed application setting information management function according to Embodiment 3 of the present invention.
In FIG. 8, 11-13, 15, 17, 18, 51-53 are the same as those in FIG. In FIG. 8, a simulation Web application 82 (simulation execution module) is generated in the application server 11. The distributed application setting information management function 17 is provided with a setting information simulation function 83.
The setting information simulation function 83 (setting information simulation means) generates a simulation web application 82 in which the setting information is rewritten from the execution module (WAR) of the currently running web application 12.

図9は、この発明の実施の形態3による分散アプリケーション設定情報管理機能の設定情報シミュレーション機能のユーザインタフェースイメージ(画面遷移情報)を示す図である。
図9において、21〜23、64は図6におけるものと同一のものである。画面遷移情報21の画面には、シミュレーションボタン91とシミュレーション完了ボタン92が設けられている。設定情報を変更済の状態でシミュレーションボタン91を押下すると、変更が反映されたシミュレーション用Webアプリケーション82が起動される。また、シミュレーション完了ボタン92を押下すると、元のWebアプリケーション12が起動される。
FIG. 9 is a diagram showing a user interface image (screen transition information) of the setting information simulation function of the distributed application setting information management function according to the third embodiment of the present invention.
In FIG. 9, 21 to 23 and 64 are the same as those in FIG. On the screen of the screen transition information 21, a simulation button 91 and a simulation completion button 92 are provided. When the simulation button 91 is pressed in a state where the setting information has been changed, the simulation web application 82 in which the change is reflected is started. Further, when the simulation completion button 92 is pressed, the original Web application 12 is activated.

図10は、この発明の実施の形態3による分散アプリケーション設定情報管理機能のWebアプリケーション設定情報のシミュレーション実行までの処理を示すフローチャートである。   FIG. 10 is a flowchart showing processing up to execution of simulation of Web application setting information of the distributed application setting information management function according to the third embodiment of the present invention.

次に、図10を用いて、設定情報シミュレーション機能83の動作について説明する。
ステップ45A〜79は図7と同様の処理であり、変更が完了した画面遷移情報の画面(ステップ 79)にて、シミュレーションボタン91を押下する。既に生成済みのシミュレーション用Webアプリケーション82のソースコードをコンパイルし(ステップ 102)、シミュレーション用実行モジュールを生成する(ステップ 103)。次に、既存のWebアプリケーション12を停止し(ステップ 104)、既存の実行モジュールのバックアップを作成する(ステップ 105)。最後に、シミュレーション用実行モジュールに置き換え、起動する(ステップ 106)。シミュレーションを完了したい時は、画面遷移情報の画面にて、シミュレーション完了ボタン92を押下する(ステップ 107)。バックアップしてあったWebアプリケーション12の実行モジュールを元に戻し、起動する(ステップ 108)。
Next, the operation of the setting information simulation function 83 will be described with reference to FIG.
Steps 45A to 79 are the same processing as in FIG. 7, and the simulation button 91 is pressed on the screen transition information screen (step 79) that has been changed. The source code of the simulation web application 82 that has already been generated is compiled (step 102), and a simulation execution module is generated (step 103). Next, the existing web application 12 is stopped (step 104), and a backup of the existing execution module is created (step 105). Finally, the module is replaced with a simulation execution module and activated (step 106). When it is desired to complete the simulation, the simulation completion button 92 is pressed on the screen transition information screen (step 107). The execution module of the Web application 12 that has been backed up is restored and activated (step 108).

実施の形態3によれば、Webアプリケーション内に分散されて設定情報を変更し、試験的に動作させることができる。これにより、変更に誤りがなかったかどうかを即座に確認可能となる。   According to the third embodiment, it is possible to change the setting information distributed in the Web application and operate on a trial basis. As a result, it is possible to immediately confirm whether or not there has been an error in the change.

実施の形態4.
実施の形態3では、ソースコードを用いてシミュレーション用実行モジュールを生成する方法について述べたが、実施の形態4は、ソースコードがない状況でも実現するようにした。
図11は、この発明の実施の形態4による分散アプリケーション設定情報管理機能を示す全体構成図である。
図11において、11〜13、15、17、18、82、83は図8におけるものと同一のものである。図11では、設定情報更新機能111は、ソースコードを使用しない。設定情報シミュレーション機能83は、実行モジュール変更機能113にシミュレーション用実行モジュールの生成を行わせ、設定情報シミュレーション機能83がソースコードのコンパイルや実行モジュール生成は実施しない。実行モジュール変更機能113(実行モジュール変更手段)は、変更結果を反映したシミュレーション用実行モジュール82を生成する。
Embodiment 4 FIG.
In the third embodiment, the method for generating the simulation execution module using the source code has been described. However, the fourth embodiment is realized even in a situation where there is no source code.
FIG. 11 is an overall configuration diagram showing a distributed application setting information management function according to Embodiment 4 of the present invention.
11, 11 to 13, 15, 17, 18, 82 and 83 are the same as those in FIG. In FIG. 11, the setting information update function 111 does not use source code. The setting information simulation function 83 causes the execution module changing function 113 to generate a simulation execution module, and the setting information simulation function 83 does not compile source code or generate an execution module. The execution module changing function 113 (execution module changing means) generates a simulation execution module 82 reflecting the change result.

図12は、この発明の実施の形態4による分散アプリケーション設定情報管理機能のWebアプリケーション設定情報のシミュレーション実行(ソースコード未使用)までの処理を示すフローチャートである。   FIG. 12 is a flowchart showing processing up to simulation execution (source code not used) of Web application setting information of the distributed application setting information management function according to the fourth embodiment of the present invention.

次に、図12を用いて、ソースコードを使用しない設定情報シミュレーション機能83の動作について説明する。
ステップ45A〜76は図7と同様の処理であり、変更が完了した画面遷移情報の画面(ステップ 76)にて、シミュレーションボタンを押下すると、実行モジュール変更機能113が動作する。実行モジュール変更機能113は、設定情報解析機能15より、実行モジュールのアノテーション情報解析結果を取得する(ステップ 122)。次に、実行モジュールを停止する(ステップ 123)。実行モジュールをバックアップ(コピーを作成)する(ステップ 124)。続いて、設定情報更新機能111が保持しているWebアプリケーション設定情報の変更情報を取得し、先ほどコピーした実行モジュールに情報を書き込み、新実行モジュールとする。(ステップ 125)。なお、情報を書き込む際には、既にステップ 122で取得済のアノテーション情報解析結果と変更情報を照合しながら、Webアプリケーション12を記述するプログラミング言語(例えば、JAVA(登録商標))のバイトコードを処理する一般的に入手可能なライブラリにより、書き込み箇所の決定を行い、書き込みもする。続いて、新実行モジュールすなわちシミュレーション用Webアプリケーション82を起動する(ステップ 126)。シミュレーションを完了したい時は、画面遷移情報の画面にて、シミュレーション完了ボタンを押下する(ステップ 127)。バックアップしてあった実行モジュールを元に戻し、起動する(ステップ 128)。
Next, the operation of the setting information simulation function 83 that does not use the source code will be described with reference to FIG.
Steps 45A to 76 are the same processing as in FIG. 7, and when the simulation button is pressed on the screen transition information screen (step 76) where the change has been completed, the execution module change function 113 operates. The execution module changing function 113 acquires the annotation information analysis result of the execution module from the setting information analysis function 15 (step 122). Next, the execution module is stopped (step 123). The execution module is backed up (created as a copy) (step 124). Subsequently, change information of the Web application setting information held by the setting information update function 111 is acquired, and the information is written in the execution module copied earlier to be a new execution module. (Step 125). When writing the information, the bytecode of the programming language (for example, JAVA (registered trademark)) describing the Web application 12 is processed while checking the annotation information analysis result already acquired in step 122 and the change information. The writing location is determined and written by a generally available library. Subsequently, the new execution module, that is, the simulation web application 82 is activated (step 126). When it is desired to complete the simulation, a simulation completion button is pressed on the screen transition information screen (step 127). The execution module that has been backed up is restored and activated (step 128).

実施の形態4によれば、Webアプリケーション内に分散して設定された情報を変更し、試験的に動作させることができる。特に、ソースコードがないような環境(現場環境等)でもシミュレーションが行えるので、障害解析等が迅速に行える。   According to the fourth embodiment, it is possible to change information set in a distributed manner in a Web application and operate it on a trial basis. In particular, since simulation can be performed even in an environment where there is no source code (such as an on-site environment), failure analysis can be performed quickly.

実施の形態5.
実施の形態1〜4では、画面遷移情報についてのWebアプリケーション設定情報管理について述べたが、画面遷移情報以外の情報についても設定情報の表示画面を構成することができる。
図13は、この発明の実施の形態5による分散アプリケーション設定情報管理機能のアノテーション定義ファイルの詳細を示す図である。
図13において、18、32、33は図3におけるものと同一のものである。図13では、アノテーション定義ファイル18に、画面遷移情報以外の情報用として、DB(データベース)アクセステンプレート131を設けている。DBアクセステンプレート131には、画面の次のDBアクセスが定義されている。
Embodiment 5 FIG.
In the first to fourth embodiments, the Web application setting information management for the screen transition information has been described. However, the setting information display screen can be configured for information other than the screen transition information.
FIG. 13 is a diagram showing details of the annotation definition file of the distributed application setting information management function according to the fifth embodiment of the present invention.
In FIG. 13, reference numerals 18, 32 and 33 are the same as those in FIG. In FIG. 13, a DB (database) access template 131 is provided in the annotation definition file 18 for information other than screen transition information. The DB access template 131 defines the next DB access on the screen.

実施の形態1〜4では、画面遷移情報用のアノテーション定義と表示テンプレートによって表示画面を構成したが、例えば、画面遷移情報以外の設定情報用としてDBアクセステンプレート131を用意することで、画面遷移情報以外の情報として、画面からDBアクセスについても表示画面を構成することが可能となる。   In the first to fourth embodiments, the display screen is configured by the annotation definition for the screen transition information and the display template. For example, by providing the DB access template 131 for setting information other than the screen transition information, the screen transition information is prepared. As other information, it is possible to configure a display screen for DB access from the screen.

実施の形態5によれば、画面遷移情報用に限らず、画面遷移情報以外の情報用についても表示画面を構築することができる。   According to the fifth embodiment, a display screen can be constructed not only for screen transition information but also for information other than screen transition information.

11 アプリケーションサーバ
12 Webアプリケーション
13 実行モジュール
15 設定情報解析機能
16 設定情報閲覧機能
17 分散アプリケーション設定情報管理機能
18 アノテーション定義ファイル
21 画面遷移情報
22 画面
23 画面遷移
24 選択
25 画面詳細情報
31 アノテーション定義ファイル
32 アノテーション詳細情報
33 表示テンプレート
34 Webアプリケーション設定情報解析結果
51 設定情報更新機能
52 既存ソースコード
53 新ソースコード
61 変更ボタン
62 入力モード
63 閲覧ボタン
64 生成ボタン
82 シミュレーション用Webアプリケーション
83 設定情報シミュレーション機能
91 シミュレーションボタン
92 シミュレーション完了ボタン
111 設定情報更新機能
113 実行モジュール変更機能
131 DBアクセステンプレート
11 Application Server 12 Web Application 13 Execution Module 15 Setting Information Analysis Function 16 Setting Information Browsing Function 17 Distributed Application Setting Information Management Function 18 Annotation Definition File 21 Screen Transition Information 22 Screen 23 Screen Transition 24 Selection 25 Screen Detailed Information 31 Annotation Definition File 32 Detailed annotation information 33 Display template 34 Web application setting information analysis result 51 Setting information update function 52 Existing source code 53 New source code 61 Change button 62 Input mode 63 View button 64 Generate button 82 Web application for simulation 83 Setting information simulation function 91 Simulation Button 92 Simulation completion button 111 Setting information update function 113 Execution module Additional features 131 DB access template

Claims (6)

Webアプリケーションのソースコードにアノテーションにより記述された設定情報を画面表示するための情報を定義するアノテーション定義ファイル、
上記Webアプリケーションから上記アノテーションで記述された上記設定情報を取得する設定情報解析手段、
上記アノテーション定義ファイルを参照して、上記設定情報解析手段により抽出された設定情報を画面に表示する設定情報表示手段を備えたことを特徴とする分散アプリケーション設定情報管理システム。
An annotation definition file that defines information for displaying the setting information described by annotation in the source code of the Web application,
Setting information analysis means for acquiring the setting information described by the annotation from the Web application;
A distributed application setting information management system comprising setting information display means for displaying setting information extracted by the setting information analysis means on a screen with reference to the annotation definition file.
上記設定情報表示手段により表示された上記設定情報を変更する設定情報変更手段を備えたことを特徴とする請求項1記載の分散アプリケーション設定情報管理システム。   2. The distributed application setting information management system according to claim 1, further comprising setting information changing means for changing the setting information displayed by the setting information display means. 上記設定情報変更手段は、変更した上記設定情報を含むWebアプリケーションのソースコードを生成することを特徴とする請求項2記載の分散アプリケーション設定情報管理システム。   The distributed application setting information management system according to claim 2, wherein the setting information changing unit generates a source code of a Web application including the changed setting information. 上記設定情報変更手段により変更した上記設定情報を含むように生成されたWebアプリケーションのソースコードから上記Webアプリケーションの実行モジュールを生成し、生成した上記実行モジュールを試験的に動作させる設定情報シミュレーション手段を備えたことを特徴とする請求項3記載の分散アプリケーション設定情報管理システム。   A setting information simulation means for generating an execution module of the Web application from a source code of the Web application generated so as to include the setting information changed by the setting information changing means, and operating the generated execution module on a trial basis; 4. The distributed application setting information management system according to claim 3, further comprising: 上記Webアプリケーションの実行モジュールから、上記設定情報変更手段により変更した上記設定情報が反映された上記Webアプリケーションの実行モジュールを生成し、生成した上記実行モジュールを試験的に動作させる実行モジュール変更手段を備えたことを特徴とする請求項2記載の分散アプリケーション設定情報管理システム。   Execution module changing means for generating the execution module of the Web application reflecting the setting information changed by the setting information changing means from the execution module of the Web application and operating the generated execution module on a trial basis The distributed application setting information management system according to claim 2, wherein: 上記アノテーション定義ファイルは、上記設定情報を画像表示する表示テンプレートと、アノテーションごとの変数を上記表示テンプレートと対応付けて定義するアノテーション詳細情報とを有する請求項1〜請求項5のいずれかに記載の分散アプリケーション設定情報管理システム。   6. The annotation definition file according to claim 1, wherein the annotation definition file includes a display template for displaying the setting information as an image, and annotation detailed information for defining a variable for each annotation in association with the display template. Distributed application setting information management system.
JP2009031500A 2009-02-13 2009-02-13 Systeme for management of distributed application setting information Pending JP2010186423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009031500A JP2010186423A (en) 2009-02-13 2009-02-13 Systeme for management of distributed application setting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009031500A JP2010186423A (en) 2009-02-13 2009-02-13 Systeme for management of distributed application setting information

Publications (1)

Publication Number Publication Date
JP2010186423A true JP2010186423A (en) 2010-08-26

Family

ID=42767024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009031500A Pending JP2010186423A (en) 2009-02-13 2009-02-13 Systeme for management of distributed application setting information

Country Status (1)

Country Link
JP (1) JP2010186423A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173721A (en) * 2015-03-17 2016-09-29 キヤノンマーケティングジャパン株式会社 Information processing device, control method of information processing device, and program
JP2020024724A (en) * 2015-03-17 2020-02-13 キヤノンマーケティングジャパン株式会社 Information processor, method for controlling information processor, and program
US11556457B2 (en) 2020-06-12 2023-01-17 Fujitsu Limited Information processing device, non-transitory computer-readable storage medium for storing application startup program, and application startup method
CN116501436A (en) * 2023-06-29 2023-07-28 成都融见软件科技有限公司 Method, electronic device and medium for maximizing display chip design code annotation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173721A (en) * 2015-03-17 2016-09-29 キヤノンマーケティングジャパン株式会社 Information processing device, control method of information processing device, and program
JP2020024724A (en) * 2015-03-17 2020-02-13 キヤノンマーケティングジャパン株式会社 Information processor, method for controlling information processor, and program
US11556457B2 (en) 2020-06-12 2023-01-17 Fujitsu Limited Information processing device, non-transitory computer-readable storage medium for storing application startup program, and application startup method
CN116501436A (en) * 2023-06-29 2023-07-28 成都融见软件科技有限公司 Method, electronic device and medium for maximizing display chip design code annotation
CN116501436B (en) * 2023-06-29 2023-09-08 成都融见软件科技有限公司 Method, electronic device and medium for maximizing display chip design code annotation

Similar Documents

Publication Publication Date Title
WO2015078343A1 (en) Development method for web development system, and web development system
US7992128B2 (en) Computer software adaptation method and system
EP2402854A1 (en) Application development assisting device, program, and recording medium
CN113076096B (en) Desktop application program development method, device, equipment and storage medium
JP2008146664A (en) Menu item display method and device
JP2009541899A (en) Customizable parameter user interface
JP5416112B2 (en) Interactive user interface definition
JP2022041865A (en) Online working system for template-based excel documents
US20110126171A1 (en) Dynamic native editor code view facade
WO2020158460A1 (en) Debugging assistance system and debugging assistance method
JP2010186423A (en) Systeme for management of distributed application setting information
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
JP4672754B2 (en) Program / design document generation apparatus and program / design document generation program
CN117215556A (en) Modularized page rapid construction method, system, equipment and medium
JPH06348766A (en) Method and device for incorporating tool
CN112905168B (en) Method and device for generating visual front-end page based on block
CN112181483B (en) Plasma control system software development platform and method
CN111949267B (en) UI front end generation method and device
JP2015162218A (en) Software development apparatus and software development method
CN113377368A (en) Project development method, device, server and storage medium
JP6836077B2 (en) Information processing device and its processing method and program
JP6652724B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2006011950A (en) Installer creating apparatus, its method, and program therefor
JP6265030B2 (en) Application development system, development device data processing method, and program
JP7409104B2 (en) Information processing device and program