JP2006146434A - Distributed application test method and distributed application test equipment - Google Patents

Distributed application test method and distributed application test equipment Download PDF

Info

Publication number
JP2006146434A
JP2006146434A JP2004333540A JP2004333540A JP2006146434A JP 2006146434 A JP2006146434 A JP 2006146434A JP 2004333540 A JP2004333540 A JP 2004333540A JP 2004333540 A JP2004333540 A JP 2004333540A JP 2006146434 A JP2006146434 A JP 2006146434A
Authority
JP
Japan
Prior art keywords
distributed
distributed application
information
automatic conversion
unit
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
JP2004333540A
Other languages
Japanese (ja)
Inventor
Suenori Oda
末典 小田
Takanobu Sasaki
高信 佐々木
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2004333540A priority Critical patent/JP2006146434A/en
Publication of JP2006146434A publication Critical patent/JP2006146434A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem in a distributed application test, that a method of manually correcting a distributed application for test and testing the distributed application in a working system or a method of constructing an environment for test different from an environment for the actual operation and testing the distributed application is low in the reliability to the test results. <P>SOLUTION: When a distributed application(AP1) 1410 for a test is arranged, a distributed AP distribution part 1220 is notified of an execution mode 1420 and an automatic conversion rule definition information 1430, and a distributed AP execution information automatic converting part 1230 automatically changes distributed AP information, and an object name and object information are registered in a name table 3213 for a test in a naming service part 3210. Thus, it is possible to make an existing application and an application for a test coexist, and to easily realize the migration of the distributed application after the test. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、分散オブジェクト技術やコンポーネント技術を用いて作成された分散アプリケーション(以後、「分散AP」と略記)のテストに関する。特に、分散APのテストを本番運用中の計算機上で行う技術に関する。   The present invention relates to a test of a distributed application (hereinafter abbreviated as “distributed AP”) created using a distributed object technology or a component technology. In particular, the present invention relates to a technique for performing a distributed AP test on a computer in actual operation.

分散AP(分散アプリケーション)とは、複数の計算機上に分散して配備されている複数のアプリケーション(以後、「AP」と略記)が連携して動作することで目的の処理を実現するAPの実行方法である。   A distributed AP (distributed application) is an execution of an AP that realizes a target process by a plurality of applications (hereinafter abbreviated as “AP”) distributed and deployed on a plurality of computers operating together. Is the method.

ある計算機上に配備されている分散APが、他の計算機上に配備されている分散APに処理を依頼する際、目的の分散APを探す方法としては、オーエムジー(OMG:Object Management Group)の「ネーミングサービススペシフィケーション(Naming Service Specification)」に示されるネーミングサービス(Naming Service)を利用して、オブジェクト参照情報を取得する方法が一般的である。   When a distributed AP deployed on a certain computer requests processing to a distributed AP deployed on another computer, a method of searching for the target distributed AP is the method of OMG (Object Management Group). A method of acquiring object reference information using a naming service (Naming Service) indicated in “Naming Service Specification” is common.

ネーミングサービスからオブジェクト情報を取得する方法としては、特許文献1に記載されているような高速化技術も提案されている。   As a method for acquiring object information from a naming service, a speed-up technique as described in Patent Document 1 has also been proposed.

また、既存の分散APを変更する場合、その分散APの動作検証を行う方法としては、本番用環境に類似したテスト用環境を構築してテストを行う方法や、分散APを実行するための情報を変更し、既存の分散APとは異なる分散APとして本番用環境に配備してテストを行う方法が一般的である。
特開2004−30486号公報(段落0007〜0011、図1)
In addition, when an existing distributed AP is changed, as a method for verifying the operation of the distributed AP, a test environment similar to the production environment is built and a test is performed, or information for executing the distributed AP In general, the test is performed by deploying in a production environment as a distributed AP different from the existing distributed AP.
Japanese Patent Laying-Open No. 2004-30486 (paragraphs 0007 to 0011, FIG. 1)

しかしながら、本番用環境に類似したテスト用環境を構築してテストを行う方法は、本番用環境とは別に環境を構築する必要があるために構築コストがかかる他、本番用環境と完全に同一の環境(接続先情報や各種ポート情報他)を用意することは難しい等の問題がある。   However, the method of building and testing a test environment similar to the production environment requires a construction cost because it needs to be constructed separately from the production environment, and is completely the same as the production environment. There is a problem that it is difficult to prepare an environment (connection destination information, various port information, etc.).

また、分散APを実行するための情報を変更し、既存の分散APとは異なる分散APとして本番用環境に配備してテストを行う方法では、配備する分散APを実行するための情報をテスト用に人手で変更する必要があり、テスト終了後、本番用環境へ移行するためには、折角動作確認を行った分散APに対して再度人手による変更作業が発生してしまう。このため、人為的なミスが発生する可能性があり、テストの信頼性が薄れてしまう。これを避けるため、本発明は、分散APを実行するための情報を変更せずに本番用環境を利用したテストを実現することを課題とする。   Moreover, in the method of changing the information for executing the distributed AP and deploying the test in the production environment as a distributed AP different from the existing distributed AP, the information for executing the distributed AP to be deployed is used for the test. In order to move to the production environment after the test is completed, a manual change operation is again required for the distributed AP that has confirmed the corner operation. For this reason, a human error may occur, and the reliability of the test is reduced. In order to avoid this, an object of the present invention is to realize a test using a production environment without changing information for executing a distributed AP.

前記課題を達成するために、テストする分散APを配備する際に、テスト用であることを配備ツールに通知することで、分散APの実行のための実行時情報(実装コード、または実行環境の定義情報、配備方法や実装コードに直接含まないAPの動作に関する情報を含んだ配備識別子、又は、実行時に用いる主記憶装置中の変換ルール及び実行モードの情報)を自動変換し、オブジェクト参照情報を実行モードごとに個別に管理し、参照することにより既存の分散APとテストする分散APを共存させる。   In order to achieve the above-mentioned problem, when deploying a distributed AP to be tested, the deployment tool is notified of the fact that it is for testing, so that runtime information for implementation of the distributed AP (implementation code or execution environment) Definition information, deployment method and deployment identifier including information on AP operation not directly included in the implementation code, or conversion rule and execution mode information in the main storage device used at the time of execution) are automatically converted, and object reference information is By managing and referring to each execution mode individually, the existing distributed AP and the distributed AP to be tested are allowed to coexist.

分散AP単位に実行モード(本番モード/テストモード:ただし、テストモードは1種類ではなく、多種にわたる。)を付加することにより、本番稼動している分散APサーバ上で実行中の分散APと同一のオブジェクト名を持つ分散APの動作テストを行うことが可能となる。また、テストを行う分散APの実行時情報を手動でテスト用に変更することなくテストを実施することが可能であり、テスト終了後に容易に本番用環境への移行を行うことができる。   By adding an execution mode (production mode / test mode: however, there are a variety of test modes, not a single type) to each distributed AP, it is the same as the distributed AP being executed on the distributed AP server in production It is possible to perform an operation test of a distributed AP having an object name of Further, it is possible to perform the test without manually changing the runtime information of the distributed AP to be tested for testing, and it is possible to easily shift to the production environment after the test is completed.

以下、本発明を実施するための最良の形態を図面に基づき詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.

[分散アプリケーションテスト装置の構成]
図1は、本発明の分散アプリケーションテスト装置(分散オブジェクトシステム)の一実施形態を示す図である。本実施形態は、ネットワーク100で接続された計算機1000、計算機2000及び計算機3000で実現されるシステムである。このうち、計算機3000は、計算機1000及び計算機2000に含まれていないネーミングサービス部3210を主記憶装置3200の中に有する構成になっていて、計算機1000及び計算機2000とは異なる役割を担っている。
[Configuration of distributed application test equipment]
FIG. 1 is a diagram showing an embodiment of a distributed application test apparatus (distributed object system) according to the present invention. The present embodiment is a system realized by a computer 1000, a computer 2000, and a computer 3000 connected by a network 100. Among these, the computer 3000 is configured to have a naming service unit 3210 not included in the computer 1000 and the computer 2000 in the main storage device 3200, and has a role different from that of the computer 1000 and the computer 2000.

計算機1000は、CPU(Central Processing Unit)1100及び主記憶装置1200から構成され、主記憶装置1200上には分散APの実行環境を提供するコンテナ1210、分散APの配備を行う分散AP配備部1220、分散APの実行時情報を自動的に変換する分散AP実行時情報自動変換部1230、ネーミングインタフェース部1240、リモート呼び出し部1250、分散オブジェクト基盤部1260が配置される。さらに、コンテナ1210には、分散AP1211,1212,1213が配置されており、ネーミングインタフェース部1240には、ネームテーブルアクセス制御部1241が存在する。   The computer 1000 includes a CPU (Central Processing Unit) 1100 and a main storage device 1200. On the main storage device 1200, a container 1210 that provides an execution environment for distributed APs, a distributed AP deployment unit 1220 that deploys distributed APs, A distributed AP runtime information automatic conversion unit 1230, a naming interface unit 1240, a remote call unit 1250, and a distributed object base unit 1260 that automatically convert distributed AP runtime information are arranged. Furthermore, distributed APs 1211, 1212 and 1213 are arranged in the container 1210, and a name table access control unit 1241 exists in the naming interface unit 1240.

なお、本実施形態の説明で使用する「配備」とは、(1)分散APをコンテナ上に準備する、(2)コンテナ上に準備した分散APを開始する、のうち、(1)+(2)又は(1)の意味を指す。また、「実行時情報」とは、分散APの、実装コード、実行環境の定義情報、または配備方法や実装コードに直接含まないAPの動作に関する情報を含んだ配備識別子、又は、実行時に用いる主記憶装置中の変換ルール及び実行モードの情報を指す。   The “deployment” used in the description of the present embodiment means (1) + (preparing a distributed AP on a container) and (2) starting a distributed AP prepared on a container. The meaning of 2) or (1) is indicated. The “run-time information” is a deployment identifier of the distributed AP, definition information of the execution environment, a deployment identifier including information on an AP operation that is not directly included in the deployment method or the implementation code, or a main information used at the time of execution. Refers to conversion rule and execution mode information in the storage device.

計算機2000は、CPU2100及び主記憶装置2200から構成され、主記憶装置2200上には分散APの実行環境を提供するコンテナ2210、分散APの配備を行う分散AP配備部2220、分散APの実行時情報を自動的に変換する分散AP実行時情報自動変換部2230、ネーミングインタフェース部2240、リモート呼び出し部2250、分散オブジェクト基盤部2260が配置される。さらに、コンテナ2210には、分散AP2211,2212,2213が配置されており、ネーミングインタフェース部2240には、ネームテーブルアクセス制御部2241が存在する。   The computer 2000 includes a CPU 2100 and a main storage device 2200. On the main storage device 2200, a container 2210 that provides a distributed AP execution environment, a distributed AP deployment unit 2220 that deploys a distributed AP, and runtime information of the distributed AP. A distributed AP runtime information automatic conversion unit 2230, a naming interface unit 2240, a remote call unit 2250, and a distributed object base unit 2260 are arranged. Furthermore, distributed APs 2211, 2122, and 2213 are arranged in the container 2210, and a name table access control unit 2241 exists in the naming interface unit 2240.

計算機3000は、CPU3100及び主記憶装置3200から構成され、主記憶装置3200上にはネーミングサービス部3210及び分散オブジェクト基盤部3260が配置されている。ネーミングサービス部3210には、ネームテーブル3211が存在し、本テーブルには本番用ネームテーブル3212とテスト用ネームテーブル3213が存在する。   The computer 3000 includes a CPU 3100 and a main storage device 3200, and a naming service unit 3210 and a distributed object base unit 3260 are arranged on the main storage device 3200. The naming service unit 3210 has a name table 3211, and this table has a production name table 3212 and a test name table 3213.

本実施形態では、ネットワークに接続された計算機1000及び計算機2000と計算機3000とを分けた形態の例を示しているが、複数要素を1台の計算機に割り当てて、分散アプリケーションテスト装置を構成してもよい。以下、各部について簡単に説明する。   In this embodiment, an example of a form in which the computer 1000 and the computer 2000 and the computer 3000 connected to the network are separated is shown. However, a distributed application test apparatus is configured by allocating a plurality of elements to one computer. Also good. Hereinafter, each part will be briefly described.

[コンテナ]
コンテナ1210,2210は、分散APの実行環境を提供する。そして、分散APはこのコンテナの中に配備された後、実行が開始される。図1の例では、分散AP1211,1212,1213,2211,2213,2213は、コンテナに配備された後、それぞれに要求された処理を実行する。
[container]
The containers 1210 and 2210 provide a distributed AP execution environment. Then, after the distributed AP is deployed in this container, execution is started. In the example of FIG. 1, the distributed APs 1211, 1212, 1213, 2211, 2213, and 2213 execute the requested processes after being deployed in the container.

[分散AP配備部]
分散AP配備部1220,2220は、指定された分散APの配備を行う。そして、実行モードに応じて配備のための処理を切り替える機能なども含めている。
[Distributed AP deployment unit]
The distributed AP deployment units 1220 and 2220 deploy the specified distributed AP. And the function etc. which switch the process for deployment according to execution mode are also included.

[分散AP実行時情報自動変換部]
分散AP実行時情報自動変換部1230,2230は、実行モードがテストモードの時に分散APの実行時情報を自動的に変換する。なお、実行モードが本番モードの場合には、分散AP実行時情報自動変換部1230,2230を呼び出さずに、分散APがそのままの実行時情報で開始される。
[Distributed AP runtime information automatic conversion unit]
The distributed AP runtime information automatic conversion units 1230 and 2230 automatically convert the distributed AP runtime information when the execution mode is the test mode. When the execution mode is the production mode, the distributed AP is started with the runtime information as it is without calling the distributed AP runtime information automatic conversion units 1230 and 2230.

[ネーミングインタフェース部]
ネーミングインタフェース部1240,2240は、ネーミングサービス部3210へアクセスする場合のインタフェースである。各ネーミングインタフェース部は、それぞれのネームテーブルアクセス制御部を含んで構成される。
[Naming interface part]
The naming interface units 1240 and 2240 are interfaces for accessing the naming service unit 3210. Each naming interface unit includes a name table access control unit.

[ネームテーブルアクセス制御部]
ネームテーブルアクセス制御部1241,2241は、ネームテーブル3211へアクセスする機能を備える。ただし、直接ネームテーブルアクセス制御部1241,2241自身だけでアクセスするのではなく、後記する分散オブジェクト基盤部1260,2260の通信機能を利用する形になっている。
[Name table access control unit]
The name table access control units 1241 and 2241 have a function of accessing the name table 3211. However, the name table access control units 1241 and 2241 are not directly accessed, but the communication functions of the distributed object base units 1260 and 2260 described later are used.

[リモート呼び出し部]
リモート呼び出し部1250,2250は、リモートオブジェクトへのリクエストを送る通信層である。公知の技術例としては、http://java.sun.com/products/jdk/rmi/に示されるRMI(Remote Method Invocation)の技術があり、本実施形態の例ではその機能を使用している。
[Remote call section]
The remote call units 1250 and 2250 are communication layers that send requests to remote objects. As an example of a known technique, there is an RMI (Remote Method Invocation) technique shown at http://java.sun.com/products/jdk/rmi/, and this function is used in the example of the present embodiment. .

[分散オブジェクト基盤部]
分散オブジェクト基盤部1260,2260,3260は、分散オブジェクトへのリクエストを送る通信層である。リモート呼び出し部1250,2250と同様に、前記のRMIの技術をそのまま適用している。分散オブジェクト基盤部1260,2260及び3260は、それぞれの計算機で分散オブジェクトを実行するための環境を与えるものであり、リモート呼び出し部1250,2250及びネーミングサービス部3210を含む各計算機の機能要素から他の計算機の機能又は他の計算機のオブジェクトを呼び出す場合に下請けの処理をして、他の計算機への通信を行う。
[Distributed Object Platform]
The distributed object infrastructure units 1260, 2260, and 3260 are communication layers that send requests to distributed objects. Similar to the remote calling units 1250 and 2250, the RMI technique is applied as it is. The distributed object base units 1260, 2260, and 3260 provide an environment for executing distributed objects on each computer. When calling a function of a computer or an object of another computer, a subcontracting process is performed to communicate with another computer.

[ネーミングサービス部]
ネーミングサービス部3210は、ネームテーブル3211へ通知されたオブジェクト名とオブジェクト参照情報を格納したり、通知されたオブジェクト名をキーとしてオブジェクト参照情報を検索したりする。ネーミングサービス部3210は、後記するネームテーブル3211を含んで構成される。なお、ネーミングサービス部3210は、システムに1つ実装されていれば充分であるが、ネーミングサービス部の数は必ずしも1つに限られない。
[Naming Service Department]
The naming service unit 3210 stores the object name and object reference information notified to the name table 3211 or searches the object reference information using the notified object name as a key. The naming service unit 3210 includes a name table 3211 described later. It is sufficient that one naming service unit 3210 is installed in the system, but the number of naming service units is not necessarily limited to one.

[ネームテーブル]
ネームテーブル3211は、システム上のオブジェクトのオブジェクト名、オブジェクト参照情報を、本番用の分散APである場合とテスト用分散APである場合とで格納先テーブルを切り分けて格納する。
[Name table]
The name table 3211 stores object names and object reference information of objects on the system by separating the storage destination table depending on whether it is a distributed AP for production or a distributed AP for testing.

[分散APのテスト実行までの処理の流れ]
図2は、本実施形態において、分散APをテスト実行するまでの処理の流れを示す図である。分散APをテストする際には、分散APを単に読み込んで即座に開始できるわけではない。まず、テストされる分散APの配備が行われる必要があるが、この配備の段階は、さらに2段階に分けられる。第1の段階は、分散AP実行時情報自動変換部によって行われる配備処理であり(S11)、第1の段階で分散APの実行時情報の変換が行われて、分散AP配備部1220によってコンテナに準備される。そして、第2の段階は、ネームテーブルアクセス制御部によって行われる配備処理であり(S12)、この処理によって第1の段階で実行時情報が変換された分散APが開始できるようになる。そして、分散APから他の分散APを呼び出すために、他の分散APを検索処理する(S13)。これらの段階を経過した後には、準備されたコンテナ上の分散APを実際にテスト実行できるようになる(S14)。
[Flow of processing until test execution of distributed AP]
FIG. 2 is a diagram showing a flow of processing until the distributed AP is test-executed in the present embodiment. When testing a distributed AP, it is not possible to simply load the distributed AP and start immediately. First, a distributed AP to be tested needs to be deployed. This deployment stage is further divided into two stages. The first stage is a deployment process performed by the distributed AP runtime information automatic conversion unit (S11). In the first stage, the distributed AP runtime information is converted, and the distributed AP deployment unit 1220 performs container conversion. To be prepared. The second stage is a deployment process performed by the name table access control unit (S12). By this process, the distributed AP whose runtime information is converted in the first stage can be started. Then, in order to call another distributed AP from the distributed AP, the other distributed AP is searched (S13). After these steps have passed, the distributed AP on the prepared container can actually be tested (S14).

[テスト用分散APの配備]
図3は、分散AP(AP1)1410をテストの目的で計算機1000に配備する際の処理の流れを示す図である。図5は、この処理の流れを補足説明するための図である。以下、図5におけるテストモードでの配備の流れも適宜参照しつつ、図3に従って、配備処理の流れについて説明する。なお、この配備処理は、図2の説明における配備の第1の段階(S11)と配備の第2の段階(S12)についての具体例である。
[Deployment of distributed AP for testing]
FIG. 3 is a diagram showing a flow of processing when the distributed AP (AP1) 1410 is deployed in the computer 1000 for the purpose of testing. FIG. 5 is a diagram for supplementarily explaining the flow of this process. Hereinafter, the flow of the deployment process will be described with reference to FIG. 3 while appropriately referring to the flow of deployment in the test mode in FIG. This deployment process is a specific example of the first stage of deployment (S11) and the second stage of deployment (S12) in the description of FIG.

(1)分散AP配備部1220は、配備を行う分散AP(AP1)1410と実行モード1420、および配備時の分散AP実行時情報の自動変換ルール定義情報1430から構成されるAP配備情報1400を入力情報として受け取る。そして、配備要求を受けた分散AP配備部1220は、入力情報として受け取った実行モード1420を判断した上で、分散APの配備処理を開始する(S101)。 (1) The distributed AP deployment unit 1220 receives AP deployment information 1400 configured from a distributed AP (AP1) 1410 that performs deployment, an execution mode 1420, and automatic conversion rule definition information 1430 of distributed AP runtime information at the time of deployment. Receive as information. Upon receiving the deployment request, the distributed AP deployment unit 1220 determines the execution mode 1420 received as the input information, and starts the distributed AP deployment process (S101).

(2)本番運用時以外のモード(テストモード)が指定されている場合には分散AP実行時情報自動変換部1230へ分散AP情報の変換要求を行う(S102)。 (2) When a mode other than the actual operation mode (test mode) is designated, a distributed AP information conversion request is sent to the distributed AP runtime information automatic conversion unit 1230 (S102).

(3)分散AP実行時情報自動変換部1230は、分散AP配備部1220より通知された配備対象の分散AP(AP1)1410に対して、自動変換ルール定義情報1430と自動変換ルール共通定義情報1300を基に実行時情報の変換を行う。ただし、自動変換ルール共通定義情報1300が定義されていない場合には、実行モード1420ごとにあらかじめ設定された変換ルールを基に実行時情報を変換する。ここで、分散AP毎に指定可能な自動変換ルール定義情報1430は指定を省略することが可能であり、また指定された場合は自動変換ルール共通定義情報1300よりも優先する(S103)。 (3) The distributed AP execution time information automatic conversion unit 1230 performs automatic conversion rule definition information 1430 and automatic conversion rule common definition information 1300 for the distributed AP (AP1) 1410 to be deployed notified from the distributed AP deployment unit 1220. Conversion of runtime information based on. However, when the automatic conversion rule common definition information 1300 is not defined, the runtime information is converted based on the conversion rule set in advance for each execution mode 1420. Here, the automatic conversion rule definition information 1430 that can be specified for each distributed AP can be omitted, and if specified, it takes precedence over the automatic conversion rule common definition information 1300 (S103).

(4)分散AP実行時情報自動変換部1230は、変換処理が終了したことを分散AP配備部1220へ通知する(S104)。 (4) The distributed AP runtime information automatic conversion unit 1230 notifies the distributed AP deployment unit 1220 that the conversion process has been completed (S104).

(5)分散AP配備部1220は、実行時情報の変換が行われた分散AP(AP1)1211aをコンテナ1210に配備する(S105)。 (5) The distributed AP deployment unit 1220 deploys the distributed AP (AP1) 1211a in which the runtime information has been converted to the container 1210 (S105).

(6)分散AP配備部1220は、コンテナ1210への配備後、ネームテーブルアクセス制御部1241に対して配備したテスト用のオブジェクト名(TEST/計算機1/コンテナ/AP1)とオブジェクト参照情報(Reference1a)を通知して、テスト用ネームテーブル3213への格納を要求する。なお、テスト用のオブジェクト名は自動変換ルール共通定義情報1300もしくは自動変換ルール定義情報1430で指定された指定文字列(本実施形態では「TEST」)を使用する(S106)。 (6) The distributed AP deployment unit 1220 deploys the test object name (TEST / computer 1 / container / AP1) and object reference information (Reference1a) deployed to the name table access control unit 1241 after deployment to the container 1210. To request storage in the test name table 3213. The test object name uses a designated character string ("TEST" in this embodiment) designated by the automatic conversion rule common definition information 1300 or the automatic conversion rule definition information 1430 (S106).

(7)ネームテーブルアクセス制御部1241は、受け取ったオブジェクト名(TEST/計算機1/コンテナ/AP1)とオブジェクト参照情報(Reference1a)を分散オブジェクト基盤部1260に通知して、ネーミングサービス部3210に格納することを要求する(S107)。 (7) The name table access control unit 1241 notifies the distributed object base unit 1260 of the received object name (TEST / computer 1 / container / AP1) and object reference information (Reference1a), and stores it in the naming service unit 3210. (S107).

(8)分散オブジェクト基盤部1260では、通信を発生させて、受け取ったオブジェクト名(TEST/計算機1/コンテナ/AP1)とオブジェクト参照情報(Reference1a)を計算機3000の分散オブジェクト基盤部3260に通知してネーミングサービス部3210にあるネームテーブル3211のテスト用ネームテーブル3213へ格納を要求する(S108)。 (8) The distributed object base unit 1260 generates communication, and notifies the distributed object base unit 3260 of the computer 3000 of the received object name (TEST / computer 1 / container / AP1) and object reference information (Reference 1a). A request is made to store to the test name table 3213 of the name table 3211 in the naming service unit 3210 (S108).

(9)計算機3000の分散オブジェクト基盤部3260は、ネーミングサービス部3210にあるネームテーブル3211内のテスト用ネームテーブル3213に、受け取ったオブジェクト名(TEST/計算機1/コンテナ/AP1)とオブジェクト参照情報(Reference1a)を格納する(S109a)。登録の結果は、テスト用ネームテーブル登録情報3320の列3321のようになる。 (9) The distributed object base unit 3260 of the computer 3000 stores the received object name (TEST / computer 1 / container / AP1) and object reference information (in the test name table 3213 in the name table 3211 in the naming service unit 3210). Reference 1a) is stored (S109a). The registration result is as shown in a column 3321 of the test name table registration information 3320.

(10)ネーミングサービス部3210は、終了を通知するリターンコードを分散オブジェクト基盤部3260に通知する(S110)。 (10) The naming service unit 3210 notifies the distributed code base unit 3260 of a return code for notifying the end (S110).

(11)分散オブジェクト基盤部3260は通信を発生させて、受け取ったリターンコードを分散オブジェクト基盤部1260に通知する(S111)。 (11) The distributed object base unit 3260 generates communication and notifies the distributed object base unit 1260 of the received return code (S111).

(12)分散オブジェクト基盤部1260は、受け取ったリターンコードをネームテーブルアクセス制御部1241に通知する(S112)。 (12) The distributed object base unit 1260 notifies the received return code to the name table access control unit 1241 (S112).

(13)ネームテーブルアクセス制御部1241は、終了を通知するリターンコードを分散AP配備部1220に通知する(S113)。 (13) The name table access control unit 1241 notifies the distributed AP deployment unit 1220 of a return code notifying the end (S113).

以上の配備処理が終了した後には、分散AP配備部1220からコンテナ1210に終了を通知するリターンコードが通知され、これを契機として、コンテナ1210上に準備された実行時情報変換後の分散AP(AP1)1211aを開始することが可能になる。   After the above deployment processing ends, the distributed AP deployment unit 1220 notifies the container 1210 of a return code to notify the termination, and triggered by this, the distributed AP (after conversion of runtime information prepared on the container 1210 ( AP1) 1211a can be started.

[本番用分散APの配備]
図4は、分散AP(AP1)1410を本番用として計算機1000に配備する際の処理の流れを示す図である。以下、配備処理の流れについて、適宜図5の本番モードの流れを参照しつつ、図4に従って説明する。図3と同じ処理については、同じ符号を付して、説明を省略する。
[Deployment of production distributed AP]
FIG. 4 is a diagram showing a flow of processing when the distributed AP (AP1) 1410 is deployed in the computer 1000 for production use. Hereinafter, the flow of the deployment process will be described with reference to FIG. 4 while appropriately referring to the flow of the production mode of FIG. The same processes as those in FIG. 3 are denoted by the same reference numerals and description thereof is omitted.

(1)図3のS101と同様に実行モードを判断して、分散APの配備処理を開始する(S101)。なお、本番運用時のモードが指定されている場合、あるいは何も指定されていない場合には分散AP実行時情報自動変換部1230への処理要求は行わない。 (1) The execution mode is determined in the same manner as in S101 of FIG. 3, and the distributed AP deployment process is started (S101). Note that when the mode during the actual operation is designated or when nothing is designated, a processing request to the distributed AP runtime information automatic conversion unit 1230 is not performed.

(2)から(5)までにあたるS105からS108までの処理は、図3と同じなので説明を省略する。 The processing from S105 to S108 corresponding to (2) to (5) is the same as that in FIG.

(6)計算機3000の分散オブジェクト基盤部3260は、ネーミングサービス部3210にあるネームテーブル3211内の本番用ネームテーブル3212に、受け取ったオブジェクト名(計算機1/コンテナ/AP1)とオブジェクト参照情報(Reference1b)を格納する。登録の結果は、本番用ネームテーブル登録情報3310の列3311のようになる(S109b)。 (6) The distributed object base unit 3260 of the computer 3000 stores the received object name (computer 1 / container / AP1) and object reference information (Reference1b) in the production name table 3212 in the name table 3211 in the naming service unit 3210. Is stored. The registration result is as shown in the column 3311 of the production name table registration information 3310 (S109b).

(7)から(10)までにあたるS110からS113までの処理は、図3と同じなので説明を省略する。 The processing from S110 to S113 corresponding to (7) to (10) is the same as that in FIG.

ここまでの配備処理の後、引き続き、分散AP配備部1220からコンテナ1210へ終了を通知するリターンコードが通知され、コンテナ1210に配備されている分散アプリケーション(AP1a)1211aは、受け取ったオブジェクト参照情報(Reference2a)を使用して分散アプリケーション(AP2a)2211aを呼び出して処理を要求する。   After the deployment processing so far, the distributed AP deployment unit 1220 is notified of the return code for notifying the container 1210 of the end, and the distributed application (AP1a) 1211a deployed in the container 1210 receives the received object reference information ( The distributed application (AP2a) 2211a is called using the Reference2a) to request processing.

テストモードの場合と同様に、以上の配備処理が終了した後には、分散AP配備部1220からコンテナ1210に終了を通知するリターンコードが通知され、これを契機として、コンテナ1210上に準備された実行時情報変換後の分散AP(AP1)1211aを開始することが可能になる。   As in the case of the test mode, after the above-described deployment processing is completed, the distributed AP deployment unit 1220 notifies the container 1210 of a termination code, and using this as an opportunity, the execution prepared on the container 1210 is executed. It becomes possible to start the distributed AP (AP1) 1211a after the time information conversion.

図5は、テストモードと本番モードの両方について、配備処理の流れを示して補足説明する図である。既に図5のS101からS113までの個別のステップは、既に図3及び図4に関する説明の中で説明されているが、テストモードと本番モードのステップ相互の相違について、ここで説明する。   FIG. 5 is a diagram illustrating the flow of the deployment process and supplementarily explaining both the test mode and the production mode. The individual steps from S101 to S113 in FIG. 5 have already been described in the description with reference to FIGS. 3 and 4, and the difference between the steps in the test mode and the actual mode will be described here.

図5では、テストモードに固有のステップを太枠で囲み、ネームテーブルを管理する計算機で行われるステップは2重の枠で囲んである。テストモードに固有の動きをするステップは、図5の中ではS102,S103,S104及びS109aが該当する。このうち、S102,S103及びS104は、本番モードの配備処理には該当するステップがなく、テストに用いる分散APを自動変換ルール定義情報及び自動変換ルール共通定義情報を用いて実行時情報の変換を行って、テスト用の分散APを行えるようにしているステップである。   In FIG. 5, steps unique to the test mode are surrounded by a thick frame, and steps performed by the computer managing the name table are surrounded by a double frame. In FIG. 5, S102, S103, S104, and S109a correspond to the steps unique to the test mode. Of these, S102, S103, and S104 have no corresponding steps in the production mode deployment process, and the distributed AP used for the test is converted into runtime information using the automatic conversion rule definition information and the automatic conversion rule common definition information. This is a step in which a distributed AP for testing can be performed.

そして、S109aは、本番モードの配備処理におけるS109bに該当するものであるが、これはネームテーブルに格納する際にテスト用と本番用を区別してあることが相違点となっている。   S109a corresponds to S109b in the deployment process in the production mode, and this is different in that the test use and the production use are distinguished when stored in the name table.

テストモードと本番モードで相違するこれらのステップ、特にS103とS104は、本実施形態において、テストモードの分散APを本番と同じ環境で実行できる環境を形成するために重要な役割を果たしている。   These steps, which are different between the test mode and the production mode, particularly S103 and S104, play an important role in the present embodiment in order to form an environment in which the distributed AP in the test mode can be executed in the same environment as the production mode.

[分散AP実行時情報自動変換部の配備処理]
図6は、コンテナ上に分散APを配備するときに行う分散AP実行時情報自動変換部1230の処理フローチャート例を示す図である。この処理フローチャート例は、テストモード及び本番モードに対して個別に説明した分散APの配備の処理の流れをまとめて示している図である。なお、図6において説明されている処理は、図2では、分散AP実行時情報自動変換部の配備処理(S11)に該当する。
[Deployment processing of distributed AP runtime information automatic conversion unit]
FIG. 6 is a diagram illustrating a processing flowchart example of the distributed AP runtime information automatic conversion unit 1230 that is performed when the distributed AP is deployed on the container. This process flowchart example is a diagram collectively showing the flow of the distributed AP deployment process individually described for the test mode and the production mode. The process illustrated in FIG. 6 corresponds to the deployment process (S11) of the distributed AP execution time information automatic conversion unit in FIG.

まず、配備しようとしている分散APの実行モード1420を確認し、本番用の分散APであるかを確認する(S301)。   First, the execution mode 1420 of the distributed AP to be deployed is confirmed to confirm whether it is a production distributed AP (S301).

そして、本番用の分散APであれば(S301のYes)処理を終了する。本番用でない分散AP(テストモードでの配備)である場合は(S301のNo)、実行時情報を自動的に変換するための自動変換ルール共通定義情報1330又は自動変換ルール定義情報1430の何れか1つ以上が定義されているかの確認を行う(S302)。   If it is a distributed AP for production (Yes in S301), the process is terminated. If it is a non-production distributed AP (deployment in test mode) (No in S301), either automatic conversion rule common definition information 1330 or automatic conversion rule definition information 1430 for automatically converting runtime information It is confirmed whether one or more are defined (S302).

何れの定義もない場合は(S302のNo)、実行モード1420ごとにシステムで予め設定された変換ルールを基に実行時情報の変換を行い、処理を終了する(S303)。   If there is no definition (No in S302), the runtime information is converted based on the conversion rule preset in the system for each execution mode 1420, and the process is terminated (S303).

実行時情報を自動的に変換するための自動変換ルール共通定義情報1300もしくは自動変換ルール定義情報1430の何れかが定義されている場合は(S302のYes)、自動変換ルール共通定義情報1300の条件を確認し、実行時情報の変更を行う必要があるかを確認する(S304)。   When either the automatic conversion rule common definition information 1300 or the automatic conversion rule definition information 1430 for automatically converting the runtime information is defined (Yes in S302), the condition of the automatic conversion rule common definition information 1300 And whether or not the runtime information needs to be changed is confirmed (S304).

条件に一致するものがあった場合は(S304のYes)、分散APの実行時情報を自動変換ルール共通定義情報1300に従って変更する(S305)。   If there is a match with the condition (Yes in S304), the runtime information of the distributed AP is changed according to the automatic conversion rule common definition information 1300 (S305).

条件に一致するものがない場合(S304のNo)、又はS305の実行時情報の変更後は、配備する分散AP個別に指定可能である自動変換ルール定義情報1430が指定されているかを確認する(S306)。   If there is no match (No in S304), or after the change of the runtime information in S305, it is confirmed whether the automatic conversion rule definition information 1430 that can be specified for each distributed AP to be deployed is specified ( S306).

指定されていない場合は(S306のNo)、処理を終了する。指定されている場合は(S306のYes)、自動変換ルール定義情報1430の条件を確認し、実行時情報の変更を行う必要があるかを確認する(S307)。   If not specified (No in S306), the process ends. If it is specified (Yes in S306), the conditions of the automatic conversion rule definition information 1430 are confirmed, and it is confirmed whether it is necessary to change the runtime information (S307).

条件に一致するものがない場合は(S307のNo)、処理を終了する。条件に一致するものがあった場合は(S307のYes)、分散APの実行時情報を自動変換ルール定義情報1430に従って再度変更し(S308)、処理を終了する。   If there is no match (No at S307), the process is terminated. If there is a match with the conditions (Yes in S307), the runtime information of the distributed AP is changed again according to the automatic conversion rule definition information 1430 (S308), and the process ends.

前記の分散AP実行時情報自動変換部の配備処理は、例えば配備する分散APがサーブレット(http://java.sun.com/products/servlet/参照)の分散APであった場合にも適用することができる。この場合は、この分散APに他からアクセスするための文書ルート(コンテキストルート情報)を本番用とテスト用で切り分ける必要があるため、配備前にこの情報を保持しているデプロイメント記述子(deployment descriptor)を自動変換ルール共通定義情報1300または自動変換ルール定義情報1430で指定された値に変更する。   The distributed processing of the distributed AP runtime information automatic conversion unit is also applied when the distributed AP to be deployed is a distributed AP of a servlet (see http://java.sun.com/products/servlet/), for example. be able to. In this case, since it is necessary to separate the document root (context root information) for accessing this distributed AP from others for production and testing, a deployment descriptor (deployment descriptor that holds this information before deployment) ) Is changed to the value specified in the automatic conversion rule common definition information 1300 or the automatic conversion rule definition information 1430.

また、配備する分散APがEJB(Enterprise Java Beans、登録商標、http://java.sun.com/products/ejb/参照)の分散APである場合にも、やはり分散AP実行時情報自動変換部の配備処理が可能である。配備する分散APがEJB(登録商標)の分散APである場合には、さらにこの分散APが他のEJB(登録商標)の分散APを参照しているような場合が問題となる。この場合には、参照先を本番用とテスト用で切り分ける必要があるため、配備前にこの情報を保持しているデプロイメント記述子を自動変換ルール共通定義情報1300または自動変換ルール定義情報1430で指定された値に変更する。   Also, when the distributed AP to be deployed is a distributed AP of EJB (Enterprise Java Beans, registered trademark, http://java.sun.com/products/ejb/), the distributed AP runtime information automatic conversion unit is also used. Can be deployed. When the distributed AP to be deployed is an EJB (registered trademark) distributed AP, there is a problem in that the distributed AP refers to another EJB (registered trademark) distributed AP. In this case, since it is necessary to separate the reference destination for the production and the test, the deployment descriptor holding this information before deployment is specified by the automatic conversion rule common definition information 1300 or the automatic conversion rule definition information 1430 Change to the specified value.

自動変換処理の別の一例として、変換を行う対象の実行時情報が、実行時に用いる主記憶装置中の変換ルール及び実行モードの情報である場合は、前記の配備の際の変換を行わずに同様の環境を提供できる。この場合は、テスト用にAP固有の実装コードやデプロイメント記述子などの情報を一切変更することなく動作の切り替えが可能となる。   As another example of the automatic conversion process, when the execution time information to be converted is the conversion rule and execution mode information in the main storage device used at the time of execution, the conversion at the time of the deployment is not performed. A similar environment can be provided. In this case, the operation can be switched without changing any information such as an AP-specific implementation code or deployment descriptor for testing.

例えば、分散APの配備時に分散AP実行時情報自動変換部1230にて実行中の分散APの実行モード1420に例として「テストA」(図12の4500)の定義がある場合は、自動変換ルール共通定義情報1300及び自動変換ルール定義情報1430(例:図12の「テストA,_testA_,TEST1」(4500))を実行時に用いる主記憶装置中の変換ルール及び実行モードの情報として保持しておき、配備後の分散AP実行時、本番用とテスト用で処理の切り分けが必要となる場合に、この実行時に用いる主記憶装置中の変換ルール及び実行モードの情報を使用して、動的に必要な情報を変換する。   For example, when there is a definition of “test A” (4500 in FIG. 12) as an example in the distributed AP execution mode 1420 being executed by the distributed AP runtime information automatic conversion unit 1230 when the distributed AP is deployed, the automatic conversion rule The common definition information 1300 and the automatic conversion rule definition information 1430 (for example, “Test A, _testA_, TEST1” (4500) in FIG. 12) are stored as conversion rule and execution mode information in the main storage device used at the time of execution. When a distributed AP is executed after deployment, when it is necessary to separate processing for production and for testing, it is dynamically required by using the conversion rule and execution mode information in the main storage device used at the time of execution. The correct information.

他のEJB(登録商標)の分散APを参照する例(「計算機2/コンテナ/AP2」)の場合、分散APの実行時に本変換部1230で保存した実行時のメモリ情報を参照し、実際に参照が起きる際に適切なオブジェクト参照情報(「TEST1/計算機2/コンテナ/AP2」)に変換して処理を切り分けるという処理の流れになる。   In the case of an example of referring to another EJB (registered trademark) distributed AP ("computer 2 / container / AP2"), the memory information at the time of execution stored in the conversion unit 1230 at the time of execution of the distributed AP is referred to. When the reference occurs, it is converted into appropriate object reference information (“TEST1 / computer 2 / container / AP2”) and the process is separated.

[ネームテーブルアクセス制御部の配備処理]
図7は、コンテナ上に分散APを配備する際に行う、ネームテーブルアクセス制御部1241の処理フローチャート例を示す図である。図7も図6同様にテストモードや本番モードを個別にではなく、両者をまとめて配備処理の流れを説明するものである。なお、この処理は図2におけるネームテーブルアクセス制御部の配備処理(S12)に該当する処理である。
[Deployment process of name table access control unit]
FIG. 7 is a diagram illustrating a processing flowchart example of the name table access control unit 1241 that is performed when a distributed AP is deployed on a container. FIG. 7 also illustrates the flow of the deployment process by bringing together the test mode and the production mode, not individually, as in FIG. This process corresponds to the deployment process (S12) of the name table access control unit in FIG.

まず、配備しようとしている分散AP(AP1)1410の実行モード1420を確認し、本番用の分散APであるかを確認する(S401)。   First, the execution mode 1420 of the distributed AP (AP1) 1410 to be deployed is confirmed to confirm whether it is a production distributed AP (S401).

本番用の分散APであれば(S401のYes)、本番用ネームテーブルに通知されたオブジェクト名とオブジェクト参照情報を登録して(S402)、処理を終了する。   If it is a distributed AP for production (Yes in S401), the notified object name and object reference information are registered in the production name table (S402), and the process is terminated.

本番用でない分散AP(テストモードでの配備)である場合は(S401のNo)、テストモード用ネームテーブルが既に存在するかをチェックする(S403)。   If the distributed AP is not for production (deployment in test mode) (No in S401), it is checked whether a test mode name table already exists (S403).

存在しない場合に(S403のNo)、テスト用ネームテーブルの作成を行い(S404)、存在する場合には(S403のYes)、次のS405のステップに進む。   If it does not exist (No in S403), a test name table is created (S404). If it exists (Yes in S403), the process proceeds to the next step S405.

テストモード用ネームテーブルが既に存在する場合、又はS404でテストモード用ネームテーブルの作成を終えた後は、そのテストモード用ネームテーブルに対して通知されたオブジェクト名とオブジェクト参照情報を登録して(S405)、処理を終了する。   If the test mode name table already exists, or after the creation of the test mode name table in S404, register the object name and object reference information notified to the test mode name table ( S405), the process ends.

[テストモードの分散APからのテストモードの分散APの検索処理]
図8は、分散AP(AP1a)1211aと分散AP(AP2a)2211aとが異なる計算機上に共にテストモードで配備された状態において、分散AP(AP1a)1211aから分散AP(AP2a)2211aを参照する場合のオブジェクト参照情報取得処理の流れを示す図である。図10は、検索処理の流れを補足説明する図である。以下、テストモードにおける分散APの検索処理の流れについて、適宜図10を参照しつつ、図8に従って説明する。なお、図8で説明する部分は、図2における分散APの検索処理(S13)のステップに該当する部分である。
[Search processing of distributed AP in test mode from distributed AP in test mode]
FIG. 8 shows a case where the distributed AP (AP1a) 1211a refers to the distributed AP (AP2a) 2211a in a state where the distributed AP (AP1a) 1211a and the distributed AP (AP2a) 2211a are both deployed in the test mode on different computers. It is a figure which shows the flow of this object reference information acquisition process. FIG. 10 is a diagram for supplementarily explaining the flow of search processing. Hereinafter, the flow of the distributed AP search process in the test mode will be described with reference to FIG. 8 is a part corresponding to the step of the distributed AP search process (S13) in FIG.

(1)分散AP(AP1a)1211aは、ネームテーブルアクセス制御部1241に分散AP(AP2a)2211aのオブジェクト名(TEST/計算機2/コンテナ/AP2)を通知して分散AP(AP2a)2211aのオブジェクト参照情報を問い合わせる。ここで問い合わせに使用されるオブジェクト名は、分散AP配備時の実行時情報変換処理により変更済みとなっているため、取得したオブジェクト名で期待する実行モードのオブジェクト参照情報へアクセスすることが可能である(S201a)。 (1) The distributed AP (AP1a) 1211a notifies the name table access control unit 1241 of the object name (TEST / computer 2 / container / AP2) of the distributed AP (AP2a) 2211a and refers to the object of the distributed AP (AP2a) 2211a. Ask for information. Since the object name used for the inquiry has been changed by the runtime information conversion process at the time of distributed AP deployment, it is possible to access the object reference information of the expected execution mode with the acquired object name. Yes (S201a).

(2)ネームテーブルアクセス制御部1241は、通知されたオブジェクト名(TEST/計算機2/コンテナ/AP2)を分散オブジェクト基盤部1260へ通知し、ネームテーブル3211からのオブジェクト参照情報の取得を要求する(S202a)。 (2) The name table access control unit 1241 notifies the distributed object base unit 1260 of the notified object name (TEST / computer 2 / container / AP2), and requests acquisition of object reference information from the name table 3211 ( S202a).

(3)分散オブジェクト基盤部1260では、通信を発生させて、受け取ったオブジェクト名(TEST/計算機2/コンテナ/AP2)を計算機3000の分散オブジェクト基盤部3260に通知してオブジェクト参照情報を問い合わせる(S203)。 (3) The distributed object base unit 1260 generates communication, notifies the received object name (TEST / computer 2 / container / AP2) to the distributed object base unit 3260 of the computer 3000 and inquires for object reference information (S203). ).

(4)計算機3000の分散オブジェクト基盤部3260は、ネーミングサービス部3210にあるネームテーブル3211に、受け取ったオブジェクト名(TEST/計算機2/コンテナ/AP2)を通知してオブジェクト参照情報を問い合わせる(S204)。 (4) The distributed object platform unit 3260 of the computer 3000 notifies the object reference information by notifying the received object name (TEST / computer 2 / container / AP2) to the name table 3211 in the naming service unit 3210 (S204). .

(5)ネーミングサービス部3210は、受け取ったオブジェクト名(TEST/計算機2/コンテナ/AP2)を使ってネームテーブル3211から分散AP(AP2a)2211の参照情報を検索し、取得したオブジェクト参照情報を分散オブジェクト基盤部3260に通知する。具体的にはネームテーブル登録情報3300内のテスト用ネームテーブル登録情報3320の登録情報3322が検索され、そのオブジェクト参照情報(Reference2a)が返される(S205)。 (5) The naming service unit 3210 searches the reference information of the distributed AP (AP2a) 2211 from the name table 3211 using the received object name (TEST / computer 2 / container / AP2), and distributes the acquired object reference information. The object base unit 3260 is notified. Specifically, the registration information 3322 of the test name table registration information 3320 in the name table registration information 3300 is searched, and the object reference information (Reference 2a) is returned (S205).

(6)分散オブジェクト基盤部3260は通信を発生させて、受け取った検索結果(Reference2a)を分散オブジェクト基盤部1260に通知する(S206)。 (6) The distributed object base unit 3260 generates communication, and notifies the distributed object base unit 1260 of the received search result (Reference 2a) (S206).

(7)分散オブジェクト基盤部1260は、受け取った検索結果(Reference2a)をネームテーブルアクセス制御部1241に通知する(S207)。 (7) The distributed object base unit 1260 notifies the name table access control unit 1241 of the received search result (Reference 2a) (S207).

(8)ネームテーブルアクセス制御部1241は、受け取った検索結果(Reference2a)を呼び出し元である分散AP(AP1a)1211aに通知する(S208)。 (8) The name table access control unit 1241 notifies the distributed AP (AP1a) 1211a that is the caller of the received search result (Reference2a) (S208).

ステップS208でオブジェクトの検索処理の部分は終了するが、その後、分散AP(AP1a)1211aは、受け取ったオブジェクト参照情報(Reference2a)を使用して分散AP(AP2a)2211aを呼び出して処理を要求するところから分散APの実行を続行する。これ以後の動きについては、図11の説明において後記する。   In step S208, the object search process ends, but the distributed AP (AP1a) 1211a then calls the distributed AP (AP2a) 2211a using the received object reference information (Reference2a) to request processing. The execution of the distributed AP is continued. The subsequent movement will be described later in the description of FIG.

以上のような処理でコンテナ1210上に配備された分散APから他の分散APを参照する場合は、分散APの配備時に実行時情報の自動変換処理を行っているため、呼び出し元の分散AP側では実行モードごとに適切な呼び出し先の参照情報を既に保持している。これにより、実行モードを問題にすることなく呼び出し要求を行うことが可能である。   When referring to another distributed AP from the distributed AP deployed on the container 1210 in the above processing, since the runtime information is automatically converted when the distributed AP is deployed, the caller's distributed AP side In this case, the appropriate callee reference information is already held for each execution mode. This makes it possible to make a call request without causing the execution mode to be a problem.

[通常の分散APからのテストモードの分散APの検索処理]
図9は、テストモードで配備された分散AP(AP2a)2211aを他の計算機上の通常の(本番用と同様の)分散AP(AP1)1410から参照する場合の取得処理の流れの一例を示す図である。
[Search processing of distributed AP in test mode from normal distributed AP]
FIG. 9 shows an example of the flow of acquisition processing when the distributed AP (AP2a) 2211a deployed in the test mode is referenced from a normal (similar to the production) distributed AP (AP1) 1410 on another computer. FIG.

分散AP(AP1)1410において、参照先の分散AP(AP2a)2211aのオブジェクト名を本番用の名(計算機2/コンテナ/AP2)で実装している場合、実行時の引数情報として実行モード1420と参照先の分散AP(AP2a)2211aの配備時に使用した自動変換ルール定義情報1430を与えることで分散AP1410の実装を変更することなく分散AP(AP2a)2211aの動作テストを実施することが可能である。   In the distributed AP (AP1) 1410, when the object name of the reference destination distributed AP (AP2a) 2211a is implemented with the production name (computer 2 / container / AP2), the execution mode 1420 and the argument information at the time of execution are By providing the automatic conversion rule definition information 1430 used when the distributed AP (AP2a) 2211a that is the reference destination is provided, it is possible to perform an operation test of the distributed AP (AP2a) 2211a without changing the implementation of the distributed AP 1410. .

以下、通常の分散APからテストモードで配備された分散APに対する検索処理の流れについて、適宜図10を参照しつつ、説明する。なお、図9で説明する部分は、図2における分散APの検索処理(S13)のステップに該当する部分である。なお、図9には、図8と同じ処理の部分が多数あるので、図8と同じ符号を付して、説明を省略する。   Hereinafter, the flow of search processing for a distributed AP deployed in a test mode from a normal distributed AP will be described with reference to FIG. 10 as appropriate. 9 is a part corresponding to the step of the distributed AP search process (S13) in FIG. In FIG. 9, since there are many portions of the same processing as in FIG. 8, the same reference numerals as in FIG.

(1)分散AP(AP1)1410は、実行時の引数情報(具体例としては、Java(登録商標)言語で記述された分散APの場合の実行時のコマンド引数やシステムプロパティ値としての指定等)として受け取った実行モード1420と参照先の分散AP(AP2a)2211aの配備時に使用した自動変換ルール定義情報1430と、オブジェクト名(計算機2/コンテナ/AP2)をネームテーブルアクセス制御部1241に通知して分散AP(AP2a)2211aのオブジェクト参照情報を問い合わせる(S201b)。 (1) The distributed AP (AP1) 1410 is a parameter information at the time of execution (specifically, a command argument at the time of execution in the case of a distributed AP written in the Java (registered trademark) language, a specification as a system property value, etc.) ) And the automatic conversion rule definition information 1430 used when the distributed AP (AP2a) 2211a that is the reference destination is deployed and the object name (computer 2 / container / AP2) are notified to the name table access control unit 1241. Then, the object reference information of the distributed AP (AP2a) 2211a is inquired (S201b).

(2)ネームテーブルアクセス制御部1241は、通知された実行モード1420と自動変換ルール定義情報1430を使用して通知されたオブジェクト名(計算機2/コンテナ/AP2)を実行モードに合うオブジェクト名(TEST/計算機2/コンテナ/AP2)に変更し、変更後のオブジェクト名(TEST/計算機2/コンテナ/AP2)を分散オブジェクト基盤部1260へ通知し、ネームテーブルからのオブジェクト参照情報の取得を要求する(S202b)。 (2) The name table access control unit 1241 uses the notified execution mode 1420 and the automatic conversion rule definition information 1430 to notify the object name (computer 2 / container / AP2) that matches the execution mode (TEST). / Computer 2 / container / AP2), notify the distributed object platform 1260 of the changed object name (TEST / computer 2 / container / AP2), and request acquisition of object reference information from the name table ( S202b).

以下、(3)から(8)までにあたるS203からS208については、図8と同じなので、説明を省略する。なお、図8のテストモードで配備された分散APからの検索処理の場合と同様に、図9に示す通常の分散APからの検索処理に引き続いて、分散APを実行する処理が継続するが、この処理については後記する。   Hereinafter, S203 to S208 corresponding to (3) to (8) are the same as those in FIG. Similar to the search process from the distributed AP deployed in the test mode of FIG. 8, the process of executing the distributed AP continues following the search process from the normal distributed AP shown in FIG. This process will be described later.

検索処理において、テストモードで配備された分散APからの場合と通常の分散APからの場合とで異なるのは、図10にも示すように最初の2つのステップだけである。図10では、両者の処理が異なるときはテストモードで配備された分散APからの場合の処理をするステップを太枠で囲んで示している。最初の2つのステップにおいて、両者の動作で差が生じるのは、テストモードで配備された分散APからの検索処理の場合には、通常の分散APからの場合とは異なり、予め配備の際に必要な情報が与えられているために引数情報で指定された実行モードや自動変換ルール定義情報に基づいてオブジェクト名の変更を行う必要がないためである。   In the search process, only the first two steps are different between the case of the distributed AP deployed in the test mode and the case of the normal distributed AP as shown in FIG. In FIG. 10, when the two processes are different, the steps for processing from the distributed AP deployed in the test mode are shown surrounded by a thick frame. In the first two steps, the difference between the two operations is that the search processing from the distributed AP deployed in the test mode is different from the normal distributed AP in advance. This is because since necessary information is given, there is no need to change the object name based on the execution mode or automatic conversion rule definition information specified by the argument information.

図11は、前記の配備処理及び検索処理に引き続いて行われる分散APの呼び出しの処理を説明する図である。図11に示すステップは、図8及び図9に示されているS201乃至S208による検索処理に引き続いて行われるS209乃至S218のステップと同じものである。なお、この段階では、テストモードの配備や検索であるか否かでの違いはなく、ここまでに説明してきたそれぞれの配備処理及び検索処理に引き続いて行われる分散APの呼び出しの処理は、図11に示されるものと同様に処理される。   FIG. 11 is a diagram for explaining a distributed AP call process performed subsequent to the deployment process and the search process. The steps shown in FIG. 11 are the same as the steps S209 to S218 performed subsequent to the search processing in S201 to S208 shown in FIGS. At this stage, there is no difference depending on whether or not the test mode is deployed or searched, and the distributed AP call processing performed after each of the deployment processing and search processing described so far is illustrated in FIG. 11 is processed in the same manner as shown in FIG.

検索処理終了後、まず、オブジェクト名と取得した参照情報を通知して、リモート呼び出し部1250へ分散AP(AP2a)2211aの呼び出しを行う(S209)。次に、リモート呼び出し部1250は、オブジェクト名とオブジェクト参照情報を分散オブジェクト基盤部1260へ通知する(S210)。オブジェクト名とオブジェクト参照情報を受け取った分散オブジェクト基盤部1260が、通信を発生させて、参照される対象オブジェクトを配備した計算機の分散オブジェクト基盤部にオブジェクト名とオブジェクト参照情報を通知する(S211)。   After the end of the search process, first, the object name and the acquired reference information are notified, and the distributed AP (AP2a) 2211a is called to the remote call unit 1250 (S209). Next, the remote calling unit 1250 notifies the distributed object base unit 1260 of the object name and the object reference information (S210). Upon receiving the object name and the object reference information, the distributed object base unit 1260 generates communication and notifies the object name and the object reference information to the distributed object base unit of the computer on which the target object to be referred is deployed (S211).

通知を受けた参照される対象オブジェクトを配備した計算機の分散オブジェクト基盤部は、リモート呼び出し部にオブジェクト参照情報を通知し、参照される対象の呼び出しを要求する(S212)。リモート呼び出し部は、コンテナに配備されている参照される対象の分散APを呼び出して開始する(S213)。分散APの終了後、分散APは、終了したことを示すリターンコードをリモート呼び出し部に通知する(S214)。リモート呼び出し部は、呼び出された分散APが終了したことを示すリターンコードを分散オブジェクト基盤部に通知する(S215)。そして、分散オブジェクト基盤部は、通信を発生させて、リターンコードを呼び出し元の計算機に通知する(S216)。   The distributed object base unit of the computer that has received the notified target object that has received the notification notifies the remote calling unit of the object reference information and requests the calling of the referenced target (S212). The remote calling unit starts by calling the distributed AP to be referenced that is deployed in the container (S213). After the distributed AP ends, the distributed AP notifies the remote call unit of a return code indicating the end (S214). The remote calling unit notifies the distributed object base unit of a return code indicating that the called distributed AP has ended (S215). Then, the distributed object base unit generates communication and notifies the return code to the calling computer (S216).

呼び出し元の計算機の分散オブジェクト基盤部は、リターンコードをリモート呼び出し部に通知する(S217)。リモート呼び出し部は、呼び出し元の分散アプリケーションに対して、呼び出したアプリケーションが終了したことを通知する(S218)。   The distributed object base unit of the calling computer notifies the return code to the remote calling unit (S217). The remote calling unit notifies the calling application of the distributed application that the called application has ended (S218).

[自動変換ルール共通定義情報]
図12は、本発明における一実施形態の自動変換ルール共通定義情報1300の一例を示すデータ構造図である。本実施形態では、分散APとしてサーブレットやEJB(登録商標)の分散APを想定しており、分散APの配備/実行の種別を示す実行モード4100と対になる形で、変換ルールとしてコンテキストルート識別子4200とネームテーブルルート識別子4300の2つを定義する。この自動変換ルール共通定義情報は分散APの配備時に参照される。コンテキストルート識別子4200は、分散APがサーブレットである場合に、このサーブレットに他からアクセスするための文書ルート(コンテキストルート)の情報を実行モードによって自動的に変更する際に使用される。ネームテーブルルート識別子4300は、分散APのオブジェクト参照情報をネームテーブル3211に登録する際に、登録するオブジェクト名のルート情報を実行モードによって自動的に変更する際に使用される。
[Automatic conversion rule common definition information]
FIG. 12 is a data structure diagram showing an example of the automatic conversion rule common definition information 1300 according to an embodiment of the present invention. In this embodiment, a distributed AP such as a servlet or EJB (registered trademark) is assumed as a distributed AP, and a context route identifier is used as a conversion rule in a form that is paired with an execution mode 4100 that indicates the type of deployment / execution of the distributed AP. 2200 and name table route identifier 4300 are defined. This automatic conversion rule common definition information is referred to when the distributed AP is deployed. The context root identifier 4200 is used when the distributed AP is a servlet, and automatically changes the information of the document root (context root) for accessing the servlet from others depending on the execution mode. The name table route identifier 4300 is used when the object reference information of the distributed AP is registered in the name table 3211 and the route information of the registered object name is automatically changed according to the execution mode.

このデータ構造を使用した具体的な一実行例として、例えばコンテキストルートが「jsptobean/」でオブジェクト名が「WebAP1」という情報を持ったWeb分散APの配備を、実行モード−本番モード(4400)と実行モード−テストAモード(4500)で行った場合、コンテキストルートは、本番モードでは「jsptobean/」、テストAモードでは「_testA_/jsptobean/」となる。また、ネームテーブル3211に登録されるオブジェクト名は、本番モードでは「WebAP1」、テストAモードでは「TEST1/WebAP1」となる。図13はデプロイメント記述子の自動変換を説明する図であり、このテストAモードでのデプロイメント記述子を変換する前後の例を示している。   As a specific example of execution using this data structure, for example, the deployment of a Web distributed AP having the information that the context root is “jsptobean /” and the object name is “WebAP1” is called execution mode-production mode (4400). In the execution mode-test A mode (4500), the context root is “jsptobean /” in the production mode and “_testA_ / jsptobean /” in the test A mode. Also, the object name registered in the name table 3211 is “WebAP1” in the production mode and “TEST1 / WebAP1” in the test A mode. FIG. 13 is a diagram for explaining automatic conversion of the deployment descriptor, and shows an example before and after converting the deployment descriptor in the test A mode.

[自動変換ルール定義情報]
図14は、本発明における一実施形態の自動変換ルール定義情報1430の一例を示すデータ構造図である。本実施形態の一例では、コンテキストルート識別子4200とネームテーブルルート識別子4300の2つの変換ルールを定義する。この自動変換ルール定義情報も分散APの配備時や分散アプリケーションの実行時に参照される。
[Automatic conversion rule definition information]
FIG. 14 is a data structure diagram showing an example of automatic conversion rule definition information 1430 according to an embodiment of the present invention. In an example of the present embodiment, two conversion rules, a context route identifier 4200 and a name table route identifier 4300, are defined. This automatic conversion rule definition information is also referred to when a distributed AP is deployed or a distributed application is executed.

ここまで説明してきたように、本実施形態では、テスト用の分散APの実行時情報を変換させる方法などを備えることによって、本番用の分散APを実行している同じ計算機で、本番用の分散APに対する間違った参照を行ったり、本番使用中の分散APに干渉したりすることなく、正しくテストを実行できる。このことにより、従来は困難だった分散APに対する信頼性の高いテストを実際に本番用の分散APが稼動している計算機で実施できるようになり、しかも、テストが終了した分散APを容易に本番用として同じ計算機上に稼動させることができる。さらに、本実施形態で採用した方法は、開発言語や開発環境にかかわらず、分散webAPも含めた分散AP一般に対して適用できる方法である。これにより、低コストで信頼性の高い分散APのテストが実現できる。   As described so far, in this embodiment, by providing a method for converting the runtime information of the test distributed AP, etc., the same computer that is executing the production distributed AP can use the production distributed AP. Tests can be executed correctly without making incorrect references to APs or interfering with distributed APs in production. This makes it possible to perform a highly reliable test on a distributed AP, which has been difficult in the past, on a computer on which the actual distributed AP is actually running, and easily, after the test has been completed, the distributed AP can be easily performed. Can be run on the same computer. Furthermore, the method employed in the present embodiment is a method that can be applied to general distributed APs including distributed web APs, regardless of the development language and development environment. Thereby, it is possible to realize a test of a distributed AP with low cost and high reliability.

なお、このテスト方法は、CPU及び主記憶装置を備えた計算機によって実行され、テスト方法を実現するプログラムは、情報記憶媒体に記憶することができ、このプログラムを計算機の主記憶装置に読み込むことで、前記計算機を本発明のテスト方法を備えた分散アプリケーションテスト装置とすることができる。   This test method is executed by a computer having a CPU and a main storage device, and a program for realizing the test method can be stored in an information storage medium, and the program is read into the main storage device of the computer. The computer can be a distributed application test apparatus equipped with the test method of the present invention.

本発明の分散オブジェクトシステムの一実施形態を示す図である。It is a figure which shows one Embodiment of the distributed object system of this invention. 分散APをテスト実行するまでの処理の流れを示す図である。It is a figure which shows the flow of a process until it performs test execution of distributed AP. 分散APをテストの目的で計算機に配備する際の処理の流れを示す図である。It is a figure which shows the flow of a process at the time of deploying distributed AP to a computer for the purpose of a test. 分散APを本番用として計算機に配備する際の処理の流れを示す図である。It is a figure which shows the flow of a process at the time of deploying distributed AP to a computer for production. 配備処理の流れを補足説明するための図である。It is a figure for supplementarily explaining the flow of a deployment process. 分散AP実行時情報自動変換部の処理フローチャート例を示す図である。It is a figure which shows the example of a process flowchart of a distributed AP execution time information automatic conversion part. ネームテーブルアクセス制御部の処理フローチャート例を示す図である。It is a figure which shows the example of a process flowchart of a name table access control part. 2つの分散APが異なる計算機上に共にテストモードで配備された状態において、1つの分散APからもう1つの分散APを参照する場合のオブジェクト参照情報取得処理の流れを示す図である。It is a figure which shows the flow of the object reference information acquisition process in the case where two distributed APs are deployed in a test mode on different computers, and one distributed AP is referred to another distributed AP. テストモードで配備された分散APを他の計算機上の通常の分散APから参照する場合の取得処理の流れの一例を示す図である。It is a figure which shows an example of the flow of an acquisition process in the case of referring the distributed AP deployed by the test mode from the normal distributed AP on another computer. テストモードで配備された分散AP及び通常の分散APからの参照情報検索処理の流れを補足説明する図である。It is a figure explaining supplementarily the flow of the reference information search process from the distributed AP deployed in the test mode and the normal distributed AP. 分散APの呼び出しの処理を説明する図である。It is a figure explaining the process of calling of distributed AP. 自動変換ルール共通定義情報の一例を示すデータ構造図である。It is a data structure figure which shows an example of automatic conversion rule common definition information. デプロイメント記述子の自動変換を説明する図である。It is a figure explaining the automatic conversion of a deployment descriptor. 自動変換ルール定義情報の一例を示すデータ構造図である。It is a data structure figure which shows an example of automatic conversion rule definition information.

符号の説明Explanation of symbols

100 ネットワーク
1000 計算機1
2000 計算機2
3000 計算機3
1100、2100、3100 CPU
1200、2200、3200 主記憶装置
1210、2210 コンテナ
1211、1211a、2211b、1410 分散アプリケーション(分散AP、オブジェクト)
1220、2220 分散アプリケーション配備部(分散AP配備部)
1230、2230 分散アプリケーション実行時情報自動変換部(分散AP実行時情報自動変換部)
1240、2240 ネーミングインタフェース部
1241、2241 ネームテーブルアクセス制御部
1250、2250 リモート呼び出し部
1260、2260、3260 分散オブジェクト基盤部
1300 自動変換ルール共通定義情報
1400 アプリケーション配備情報(AP配備情報)
1420 実行モード
1430 自動変換ルール定義情報
3210 ネーミングサービス部
3211 ネームテーブル
3212 本番用ネームテーブル
3213 テスト用ネームテーブル
100 network 1000 computer 1
2000 Calculator 2
3000 Calculator 3
1100, 2100, 3100 CPU
1200, 2200, 3200 Main storage device 1210, 2210 Container 1211, 1211a, 2211b, 1410 Distributed application (distributed AP, object)
1220, 2220 distributed application deployment unit (distributed AP deployment unit)
1230, 2230 Distributed application runtime information automatic conversion unit (Distributed AP runtime information automatic conversion unit)
1240, 2240 Naming interface unit 1241, 2241 Name table access control unit 1250, 2250 Remote call unit 1260, 2260, 3260 Distributed object base unit 1300 Automatic conversion rule common definition information 1400 Application deployment information (AP deployment information)
1420 Execution Mode 1430 Automatic Conversion Rule Definition Information 3210 Naming Service Section 3211 Name Table 3212 Production Name Table 3213 Test Name Table

Claims (6)

1台以上の計算機からなる計算機システムが分散アプリケーションを実行するための分散アプリケーション実行環境における分散アプリケーションのテスト方法であって、
前記計算機システムは、
分散アプリケーションが本番用で実行されるかテスト用で実行されるかを示す実行モードを判断し、分散アプリケーションを実行環境に配備する分散アプリケーション配備部と
分散アプリケーションを実行する際に用いる情報を自動変換ルールによって変換する分散アプリケーション実行時情報自動変換部と
分散アプリケーションが呼び出す分散アプリケーションに付された分散オブジェクト名を参照する際のオブジェクト名参照情報を管理するネーミングサービス部と
前記ネーミングサービス部の分散オブジェクトを参照するネーミングインターフェース部と
計算機間の通信を発生する分散オブジェクト基盤部と
分散アプリケーションを格納し、前記分散アプリケーションを実行するための環境を与えるコンテナを含んで構成され、
前記計算機システムにおいて、
前記分散アプリケーション配備部が、分散アプリケーション単位で前記実行モードを付加して分散アプリケーションを配備し、
前記分散アプリケーション実行時情報自動変換部が、実行モードがテストモードの場合に実行する分散アプリケーションの実行時情報を変換し、
前記ネーミングサービス部が、前記ネーミングインターフェース部によって分散オブジェクト基盤部による通信を介して送られてきた前記分散アプリケーションのオブジェクト名とオブジェクト参照情報を実行モード毎に異なる領域で個別に管理し、
前記コンテナが前記分散アプリケーションを格納し、
前記計算機システムが、同一のオブジェクト名を持つ複数の分散アプリケーションを同時に実行すること
を特徴とする分散アプリケーションテスト方法。
A method for testing a distributed application in a distributed application execution environment for a computer system including one or more computers to execute the distributed application,
The computer system is
Determines the execution mode that indicates whether the distributed application is executed for production or testing, and automatically converts the information used when executing the distributed application and the distributed application deployment unit that deploys the distributed application to the execution environment A distributed application runtime information automatic conversion unit that converts according to a rule, a naming service unit that manages object name reference information when referring to a distributed object name assigned to a distributed application called by the distributed application, and a distributed object of the naming service unit A naming interface unit to be referred to, a distributed object base unit that generates communication between computers, a distributed application, and a container that provides an environment for executing the distributed application.
In the computer system,
The distributed application deployment unit adds the execution mode in units of distributed applications and deploys distributed applications.
The distributed application runtime information automatic conversion unit converts the runtime information of the distributed application to be executed when the execution mode is the test mode,
The naming service unit individually manages the object name and object reference information of the distributed application sent via the communication by the distributed object base unit by the naming interface unit in different areas for each execution mode,
The container stores the distributed application;
A distributed application test method, wherein the computer system simultaneously executes a plurality of distributed applications having the same object name.
請求項1に記載の分散アプリケーションテスト方法において、
前記計算機システムが、
前記分散オブジェクトが前記分散オブジェクトを呼び出す分散アプリケーションとは異なる計算機に配備されている場合に前記分散オブジェクトを呼び出すリモート呼び出し部をさらに備え、
前記ネーミングインターフェース部が参照したオブジェクト参照情報に基づき、
前記リモート呼び出し部が異なる計算機に配備された前記分散アプリケーションを前記分散オブジェクト基盤部による通信を介して呼び出すことにより、
前記計算機システムが、同一のオブジェクト名を持つ複数の分散アプリケーションを同時に実行すること
を特徴とする分散アプリケーションテスト方法。
The distributed application test method according to claim 1,
The computer system is
A remote call unit that calls the distributed object when the distributed object is deployed on a computer different from a distributed application that calls the distributed object;
Based on the object reference information referenced by the naming interface unit,
By calling the distributed application deployed on different computers by the remote calling unit via communication by the distributed object platform unit,
A distributed application test method, wherein the computer system simultaneously executes a plurality of distributed applications having the same object name.
請求項2に記載の分散アプリケーションテスト方法において、
分散アプリケーション単位で前記実行モードを付加して配備した分散アプリケーションにおいて、
前記分散アプリケーション実行時情報自動変換部が、
実装コード、実行環境を含んだ配備識別子又は実行時に用いる変換ルール及び実行モード情報からなる分散アプリケーションの実行時情報を、
実行モードがテストモードと指定された場合に自動変換又は自動設定を行い、
本番モードと指定された場合に前記自動変換及び前記自動設定を行わないこと
を特徴とする分散アプリケーションテスト方法。
The distributed application test method according to claim 2,
In a distributed application deployed with the execution mode added in units of distributed applications,
The distributed application runtime information automatic conversion unit,
Runtime information of distributed application consisting of deployment code, deployment identifier including execution environment, or conversion rules and execution mode information used at the time of execution,
When the execution mode is specified as test mode, automatic conversion or automatic setting is performed.
The distributed application test method, wherein the automatic conversion and the automatic setting are not performed when the production mode is designated.
請求項3に記載の分散アプリケーションテスト方法において、
前記分散アプリケーション実行時情報自動変換部が行う実行モードに従った自動変換において、
前記自動変換ルール定義情報が、
実行モードと対応付けて定義する計算機システム共通の自動変換ルール定義情報と
配備する分散アプリケーションごとに定義する個別の自動変換ルール定義情報を含み、
分散アプリケーションの参照情報におけるオブジェクト名の変換ルールを記述した自動変換ルール定義情報が指定されている場合には、前記自動変換ルール定義情報の内容に従って分散アプリケーション実行時情報自動変換部が前記実行時情報の変換を行い、
自動変換ルール定義情報が指定されていない場合には、分散アプリケーション実行時情報自動変換部が実行モードに所定の変換を行うこと
を特徴とする分散アプリケーションテスト方法。
The distributed application test method according to claim 3,
In automatic conversion according to the execution mode performed by the distributed application runtime information automatic conversion unit,
The automatic conversion rule definition information is
Includes automatic conversion rule definition information common to computer systems defined in association with execution modes, and individual automatic conversion rule definition information defined for each distributed application to be deployed.
When automatic conversion rule definition information describing an object name conversion rule is specified in the distributed application reference information, the distributed application runtime information automatic conversion unit performs the runtime information according to the content of the automatic conversion rule definition information. Conversion
A distributed application test method, wherein when automatic conversion rule definition information is not specified, a distributed application runtime information automatic conversion unit performs predetermined conversion to an execution mode.
前記テストモードの分散アプリケーションがweb分散アプリケーションを含む場合にweb分散アプリケーションに対して配備時又は実行時に変換を行う請求項4に記載の分散アプリケーションテスト方法において、
前記自動変換ルール定義情報をweb分散アプリケーションの配備時に適用する場合には、
webブラウザからアクセスする際のweb分散アプリケーションに必要な資源を保存する場所であるコンテキストルートのURL情報に対して前記自動変換ルール定義情報を用いてあらかじめ実行時情報の変換を行ってから配備を行い、
前記自動変換ルール定義情報をweb分散アプリケーションの実行時に適用する場合には、
配備時には変換を行わずに前記自動変換ルール定義情報と実行モードの情報を主記憶中に格納して、コンテナが前記主記憶中に格納した前記実行モードの情報に従って、web分散アプリケーションに対して逐次必要な変換を行うこと
を特徴とする分散アプリケーションテスト方法。
The distributed application test method according to claim 4, wherein when the distributed application in the test mode includes a web distributed application, the web distributed application is converted at the time of deployment or execution.
When applying the automatic conversion rule definition information when deploying a web distributed application,
The URL information of the context root, which is a place for storing resources necessary for the web distributed application when accessed from the web browser, is converted after executing the runtime information using the automatic conversion rule definition information and then deployed. ,
When applying the automatic conversion rule definition information when executing the web distributed application,
The automatic conversion rule definition information and the execution mode information are stored in the main memory without performing conversion at the time of deployment, and sequentially applied to the web distributed application according to the execution mode information stored in the main memory by the container. A distributed application testing method characterized by performing the necessary transformations.
主記憶装置及び中央演算装置を備えた1台以上の計算機からなる計算機システムが、請求項1乃至請求項5の何れか1項に記載のテスト方法を実行すること
を特徴とする分散アプリケーションテスト装置。
6. A distributed application test apparatus, wherein a computer system comprising one or more computers having a main storage device and a central processing unit executes the test method according to any one of claims 1 to 5. .
JP2004333540A 2004-11-17 2004-11-17 Distributed application test method and distributed application test equipment Pending JP2006146434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004333540A JP2006146434A (en) 2004-11-17 2004-11-17 Distributed application test method and distributed application test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004333540A JP2006146434A (en) 2004-11-17 2004-11-17 Distributed application test method and distributed application test equipment

Publications (1)

Publication Number Publication Date
JP2006146434A true JP2006146434A (en) 2006-06-08

Family

ID=36626056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004333540A Pending JP2006146434A (en) 2004-11-17 2004-11-17 Distributed application test method and distributed application test equipment

Country Status (1)

Country Link
JP (1) JP2006146434A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086110A (en) * 2008-09-30 2010-04-15 Nomura Research Institute Ltd System for switching setting information and switching method
JP2010272090A (en) * 2009-05-25 2010-12-02 Hitachi Ltd Device, program and method for managing processing request destination
JP2012221380A (en) * 2011-04-12 2012-11-12 Hitachi Ltd Automatic program generation device, method and computer program
JP2013097746A (en) * 2011-11-05 2013-05-20 Kyocera Document Solutions Inc Client-side web service interface, software developing kit including the same, and software developing method using developing kit
JP2013143087A (en) * 2012-01-12 2013-07-22 Hitachi Systems Ltd Screen design review system, screen design review display method and program
JP2020536318A (en) * 2017-09-30 2020-12-10 オラクル・インターナショナル・コーポレイション Real-time debugging of instances on a deployed container platform

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086110A (en) * 2008-09-30 2010-04-15 Nomura Research Institute Ltd System for switching setting information and switching method
JP2010272090A (en) * 2009-05-25 2010-12-02 Hitachi Ltd Device, program and method for managing processing request destination
JP2012221380A (en) * 2011-04-12 2012-11-12 Hitachi Ltd Automatic program generation device, method and computer program
JP2013097746A (en) * 2011-11-05 2013-05-20 Kyocera Document Solutions Inc Client-side web service interface, software developing kit including the same, and software developing method using developing kit
JP2013143087A (en) * 2012-01-12 2013-07-22 Hitachi Systems Ltd Screen design review system, screen design review display method and program
JP2020536318A (en) * 2017-09-30 2020-12-10 オラクル・インターナショナル・コーポレイション Real-time debugging of instances on a deployed container platform
JP7203096B2 (en) 2017-09-30 2023-01-12 オラクル・インターナショナル・コーポレイション Real-time debugging of instances on deployed container platforms
US11681573B2 (en) 2017-09-30 2023-06-20 Oracle International Corporation API registry in a container platform providing property-based API functionality
US11755393B2 (en) 2017-09-30 2023-09-12 Oracle International Corporation API registry in a container platform for automatically generating client code libraries

Similar Documents

Publication Publication Date Title
US7287190B2 (en) Simultaneous execution of test suites on different platforms
US7334162B1 (en) Dynamic distribution of test execution
CN108399132B (en) Scheduling test method, device and storage medium
US7437713B2 (en) Automated system that tests software on multiple computers
US7080100B2 (en) Install processing apparatus, processing method, storage medium, and program
US8234660B2 (en) Method and apparatus for a support platform
CN111625293B (en) Terminal dual system based on linux kernel and hardware access management method thereof
EP1771785A2 (en) System and method for extraction and creation of application meta-information within a software application repository
CN110673923A (en) XWIKI system configuration method, system and computer equipment
CN112416353A (en) Channel package packaging method and device and computer equipment
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
US6513153B1 (en) Automatically integrating and executing application software modules
US11531526B1 (en) Creating portable serverless applications
RU2359316C2 (en) Method of managing software components integrated into portable system
JP2006146434A (en) Distributed application test method and distributed application test equipment
AU5680894A (en) Interception system and method including user interface
CN104111862A (en) Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform
CN111158777A (en) Component calling method and device and computer readable storage medium
CN110727601B (en) Multi-platform program testing method and related device
JP2005092708A (en) Software update system and method, and computer program
CN113485894A (en) Data acquisition method, device and equipment and readable storage medium
US20230132531A1 (en) Software Development Project Infrastructure Builder Tool
CN111581085B (en) Joint debugging test system and method
KR20200048633A (en) System and method for automatically testing software
CN115202914A (en) Diagnostic service configuration method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111115