JP2001159988A - Web server system and web application executing method - Google Patents
Web server system and web application executing methodInfo
- Publication number
- JP2001159988A JP2001159988A JP34503199A JP34503199A JP2001159988A JP 2001159988 A JP2001159988 A JP 2001159988A JP 34503199 A JP34503199 A JP 34503199A JP 34503199 A JP34503199 A JP 34503199A JP 2001159988 A JP2001159988 A JP 2001159988A
- Authority
- JP
- Japan
- Prior art keywords
- web application
- web
- information
- client
- application management
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012360 testing method Methods 0.000 description 22
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 235000014510 cooky Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ウェブサーバシス
テム及びそのウェブサーバシステムによるウェブアプリ
ケーションの実行方法に関する。The present invention relates to a web server system and a method for executing a web application by the web server system.
【0002】[0002]
【従来の技術】図2は、従来のウェブサーバ装置による
ウェブアプリケーション実行方法を説明するブロック図
である。ウェブサーバ装置3は、リクエストされたUR
Lに従い、レスポンスとしてウェブドキュメントを返す
か、ウェブアプリケーションを実行してその結果を返す
かするウェブサーバプログラム4を備える。ウェブサー
バプログラム4は、ウェブクライアント1上のブラウザ
2から送信されたリクエスト(URL)とウェブアプリ
ケーション8への入力情報を受信し、ブラウザ2から送
信されたURLがウェブドキュメント7へのリクエスト
であればウェブドキュメントの内容を送信し、ウェブア
プリケーション8へのリクエストであれば、入力情報を
ウェブアプリケーション8に送信し実行し結果をブラウ
ザ2に送信する。ウェブドキュメント7はHTMLドキ
ュメントであり、URL毎に1ファイル作成されてい
る。また、ウェブアプリケーション8は実行時の出力と
してHTMLドキュメントを出力するプログラムであ
り、URL毎に1ファイル作成されている。2. Description of the Related Art FIG. 2 is a block diagram for explaining a web application execution method by a conventional web server device. The web server device 3 sends the requested UR
L, a web server program 4 for returning a web document as a response or executing a web application and returning the result. The web server program 4 receives the request (URL) transmitted from the browser 2 on the web client 1 and the input information to the web application 8, and if the URL transmitted from the browser 2 is a request for the web document 7, The content of the web document is transmitted, and if the request is to the web application 8, the input information is transmitted to the web application 8, executed, and the result is transmitted to the browser 2. The web document 7 is an HTML document, and one file is created for each URL. The web application 8 is a program that outputs an HTML document as an output at the time of execution, and one file is created for each URL.
【0003】従来のウェブサーバシステムの動作は、図
2に示す通り、ウェブクライアント1上で動作するブラ
ウザ2に入力されたリクエスト(URL)を、ネットワ
ークを経由してウェブサーバ装置3上のウェブサーバプ
ログラム4の通信処理部5が受信する。ウェブサーバプ
ログラム4の処理部6は、通信処理部5が受信したUR
Lで指定されたファイルが、ファイルの内容をそのまま
ブラウザ2に表示するウェブドキュメント(HTMLフ
ァイル等)7の場合は、そのファイルの内容をそのまま
通信処理部5とネットワークを経由してウェブクライア
ント1上のブラウザ2に表示する。URLで指定された
ファイルが、そのファイルのプログラムを実行し、実行
時の出力結果をブラウザ2に表示するウェブアプリケー
ション8の場合は、そのウェブアプリケーションを実行
し、出力結果を通信処理部5とネットワークを経由して
ウェブクライアント1上のブラウザ2に表示する。As shown in FIG. 2, a conventional web server system operates by transmitting a request (URL) input to a browser 2 operating on a web client 1 to a web server on a web server device 3 via a network. The communication processing unit 5 of the program 4 receives the data. The processing unit 6 of the web server program 4 uses the UR received by the communication processing unit 5
If the file specified by L is a web document (HTML file or the like) 7 that displays the contents of the file on the browser 2 as it is, the contents of the file are directly transmitted to the web client 1 via the communication processing unit 5 and the network. Is displayed on the browser 2. When the file specified by the URL is a web application 8 that executes a program of the file and displays an output result at the time of execution on the browser 2, the web application is executed, and the output result is transmitted to the communication processing unit 5 and the network. Via the browser 2 on the web client 1.
【0004】また、上記のウェブアプリケーション8の
実行時、ブラウザ2からのリクエストにはURLだけで
はなく、ブラウザ2への入力値も含まれる。この入力値
とは、たとえば、ユーザ認証が必要なURLにアクセス
する場合に入力されるユーザ情報やパスワード、あるい
はインターネットショッピングの際に入力されるクレジ
ットカード番号などである。[0004] When the web application 8 is executed, the request from the browser 2 includes not only the URL but also the input value to the browser 2. The input value is, for example, user information or a password that is input when accessing a URL that requires user authentication, or a credit card number that is input during Internet shopping.
【0005】しかし、従来の技術では、ウェブサーバプ
ログラム4の処理部6は入力装置とのインタフェースも
出力装置とのインタフェースも持たず、出力は通信処理
部5とネットワークを経由してウェブクライアント1上
のブラウザ2のみに出力される。このため、ウェブアプ
リケーション8を実行中にウェブサーバ装置3より、処
理部6に対してデータを入力することができず、また、
ウェブアプリケーション8の出力をウェブサーバ装置3
に表示することもできない。However, in the prior art, the processing unit 6 of the web server program 4 has neither an interface with the input device nor an interface with the output device, and outputs the data to the web client 1 via the communication processing unit 5 and the network. Is output only to the browser 2. Therefore, data cannot be input from the web server device 3 to the processing unit 6 while the web application 8 is being executed.
Output of the web application 8 to the web server device 3
Also cannot be displayed.
【0006】一般的にプログラムのテストでは、デバッ
ガと呼ばれるソフトウェアを経由してプログラムを実行
する。デバッガを経由することにより、プログラム実行
中にプログラムを停止し、その時の変数の値を参照した
り、変数の値を変更しながら実行したり、繰り返し実行
するなどの処理を行うことができる。この時、デバッガ
に対して、例えば変数を参照するためのコマンドのよう
な文字情報を入力する必要がある。また、コマンドの実
行結果を表示するためのインタフェースも必要となる。
そのため、入力部と出力部を持たないウェブアプリケー
ションのテストを行う場合、一般的なプログラムのテス
トで使用されるデバッガを使用することができない。し
たがって、テストを行う場合には、ウェブアプリケーシ
ョン中にテスト用の変数の出力部を追加することにより
ブラウザ2に変数の値を出力するといった方法や、ウェ
ブアプリケーション8をウェブサーバプログラム4を経
由せずデバッガを使用して実行するという方法をとるこ
とになる。In general, in testing a program, the program is executed via software called a debugger. By passing through the debugger, the program can be stopped while the program is being executed, and processing such as referring to the value of the variable at that time, executing while changing the value of the variable, and executing repeatedly can be performed. At this time, it is necessary to input character information such as a command for referring to a variable to the debugger. In addition, an interface for displaying a command execution result is required.
Therefore, when testing a web application that does not have an input unit and an output unit, a debugger used for testing a general program cannot be used. Therefore, when performing a test, a method of outputting a variable value to the browser 2 by adding an output unit of a test variable in a web application, or a method in which the web application 8 does not pass through the web server program 4 You will use a debugger to execute it.
【0007】また、上記の問題に対処するためにウェブ
サーバに入力部と出力部を持たせ、デバッガの機能も追
加した技術も存在するが、この技術は汎用的なウェブサ
ーバでは使用することができず、この技術を組み込んだ
ウェブサーバプログラムを使用する必要がある。There is also a technology in which a web server is provided with an input unit and an output unit in order to address the above problem, and a debugger function is added. However, this technology can be used in a general-purpose web server. No, you need to use a web server program that incorporates this technology.
【0008】[0008]
【発明が解決しようとする課題】従来のウェブアプリケ
ーションのテスト方法には、以下のような問題がある。
まず、ウェブアプリケーションの中にテスト用の変数の
出力部を追加した場合、追加する手間がかかり、参照す
る変数が明確でない場合には大量の出力部を追加するこ
とが必要となる。また、最終的にテスト環境から本番環
境に移行する場合には、追加した部分を削除する必要も
ある。このようにこの方法では、テストの手間もかか
り、変数の値の参照程度のテストしか行えないなど、多
くの時間を要する上に不十分なテストしか行うことがで
きない。The conventional web application testing method has the following problems.
First, when an output unit for a test variable is added to a web application, it takes time and effort to add it. If the variable to be referenced is not clear, a large number of output units must be added. Also, when finally moving from the test environment to the production environment, it is necessary to delete the added part. As described above, this method requires a lot of time and requires only an inadequate test. For example, the test requires a lot of time and effort to test only the value of a variable.
【0009】次に、ウェブアプリケーションをデバッガ
を経由して実行した場合、通常のウェブアプリケーショ
ンの実行方法であればブラウザ2から入力されたユーザ
名やパスワードの値などをウェブアプリケーションへの
入力値として取得することになるが、このテスト方法の
場合、ブラウザ2を経由せずに実行されるためブラウザ
2から入力されるべき値がウェブアプリケーション8に
入力されない。また、ウェブアプリケーション8をウェ
ブサーバプログラム4を経由して実行する通常の実行方
法の場合には、ブラウザ2からの入力値以外にもウェブ
サーバが設定する実行環境の変数も存在する。この変数
には、ブラウザ2のバージョンやウェブクライアント1
のIPアドレス等がある。このため、この方法でテスト
を行う場合には、ユーザ名やパスワードのような入力値
やウェブサーバが設定する実行環境の変数を、ウェブア
プリケーションファイルの変数の値として直接記述した
り、デバッガのコマンドを使用して実行中に変数の値と
して設定したりするなどの方法をとる必要がある。した
がって、この方法では、ブラウザからの入力値やウェブ
サーバが設定する実行環境の変数の値など、実際にウェ
ブアプリケーションがウェブサーバから実行された場合
と同じ状況でテストを行うことは難しい。Next, when the web application is executed via the debugger, the user name and password values input from the browser 2 are obtained as input values to the web application in a normal web application execution method. However, in the case of this test method, since the test is executed without passing through the browser 2, a value to be input from the browser 2 is not input to the web application 8. In the case of a normal execution method of executing the web application 8 via the web server program 4, there are variables of the execution environment set by the web server in addition to the input value from the browser 2. This variable contains the browser 2 version and web client 1
IP address and the like. For this reason, when performing tests using this method, input values such as user names and passwords and variables of the execution environment set by the web server are directly described as the values of variables in the web application file, and the debugger commands It is necessary to take a method such as setting the value of a variable during execution using. Therefore, in this method, it is difficult to perform a test in the same situation as when the web application is actually executed from the web server, such as an input value from the browser or a value of an execution environment variable set by the web server.
【0010】また、ウェブサーバにデバッガの機能を追
加したウェブサーバ用ソフトウェア製品も存在するが、
この製品を利用する場合、テストの効率は良いが、この
ソフトウェア製品で使用可能なプログラム言語で作成さ
れたウェブアプリケーションでしか使用できず、また、
このウェブサーバ用ソフトウェア製品を使用する必要が
あるため、現在いくつものウェブサーバ用ソフトウェア
製品がすでに広く使われ、それぞれのソフトウェアに独
自の特徴があるため、ウェブサーバ用ソフトウェアを簡
単に変更することはできない。There is also a web server software product in which a debugger function is added to a web server.
When using this product, testing is efficient, but it can only be used with web applications written in the programming language that can be used with this software product,
Because of the need to use this web server software product, a number of web server software products are already widely used today, and each software has its own characteristics, so it is not easy to change the web server software. Can not.
【0011】本発明は、このような従来技術の問題点に
鑑み、テスト環境の不十分なウェブアプリケーションの
実行について、一般的なウェブサーバプログラムとウェ
ブアプリケーションの実行方法を利用したまま、ウェブ
アプリケーションの効率的なテストを行うことができる
ウェブサーバシステムを提供することを目的とする。ま
た、本発明は、ウェブアプリケーションの実行時に入出
力を対話的に行えるようなウェブアプリケーションの実
行方法を提供することを目的とする。The present invention has been made in view of the above-described problems of the prior art, and has been described in relation to the execution of a web application having an insufficient test environment while using a general web server program and a general web application execution method. It is an object of the present invention to provide a web server system capable of performing an efficient test. It is another object of the present invention to provide a method of executing a web application so that input and output can be performed interactively when the web application is executed.
【0012】[0012]
【課題を解決するための手段】上記目的を達成するため
に、本発明のウェブサーバシステムは、ウェブサーバよ
りウェブアプリケーションの代わりに実行され実際に実
行すべきウェブアプリケーションの情報を保持する手段
とウェブクライアントから送信された情報及びウェブサ
ーバにてウェブアプリケーション実行時に設定される情
報を取得する手段とそれらの情報をウェブアプリケーシ
ョン管理サーバに入力し実行する手段を持つウェブアプ
リケーションインタフェースと、ウェブアプリケーショ
ンインタフェースの情報を設定した上でウェブアプリケ
ーションを実行しそのウェブアプリケーションへの入力
とウェブアプリケーションからの出力をウェブアプリケ
ーション管理クライアントにて行う手段を持つウェブア
プリケーション管理サーバと、ウェブアプリケーション
管理クライアントとを備える。ウェブアプリケーション
管理サーバは、ウェブアプリケーションからの出力をウ
ェブアプリケーション管理クライアントとウェブクライ
アントとに切り替える手段を持つのが好ましい。In order to achieve the above object, a web server system according to the present invention comprises a web server which is executed by a web server in place of a web application and holds information of a web application to be actually executed. A web application interface having means for acquiring information transmitted from a client and information set when a web application is executed in a web server, means for inputting the information to a web application management server and executing the information, and information on the web application interface Web application management system that has a means for executing a web application after setting and inputting and outputting from the web application with the web application management client It includes a server, and a web application management client. Preferably, the web application management server has means for switching the output from the web application between the web application management client and the web client.
【0013】このような構成を取ることにより、通常の
ウェブアプリケーションの実行環境に極めて近い環境に
て、ウェブアプリケーションを対話的に実行することが
できるため、ウェブアプリケーションをデバッガを介し
て実行するように設定することにより、一般的なプログ
ラムと同様にテストを行うことが可能となる。By adopting such a configuration, the web application can be interactively executed in an environment very close to the execution environment of a normal web application, so that the web application is executed via a debugger. By setting, a test can be performed in the same manner as a general program.
【0014】すなわち、本発明によるウェブサーバシス
テムは、ウェブクライアントからウェブアプリケーショ
ンに対するリクエストを受けて当該ウェブアプリケーシ
ョンの実行結果をウェブクライアントに返すウェブサー
バ手段と、ウェブアプリケーションインタフェース手段
と、ウェブアプリケーション管理サーバ手段と、ウェブ
アプリケーション管理クライアント手段とを備え、ウェ
ブアプリケーションインタフェース手段は、ウェブアプ
リケーションに関する情報とウェブアプリケーション管
理サーバ手段に関する情報を保持してウェブサーバ手段
からウェブアプリケーションの代わりに実行され、ウェ
ブクライアントから送信されたリクエスト情報を取得
し、当該リクエスト情報をウェブアプリケーション管理
サーバ手段に入力し実行する機能を有し、ウェブアプリ
ケーション管理サーバ手段は、ウェブアプリケーション
インタフェース手段から得た情報を設定した上でリクエ
ストされたウェブアプリケーションを実行し、実行され
たウェブアプリケーションからの出力をウェブアプリケ
ーション管理クライアント手段の出力部に出力する機能
を有することを特徴とする。That is, a web server system according to the present invention includes a web server means for receiving a request for a web application from a web client and returning an execution result of the web application to the web client, a web application interface means, and a web application management server means. And web application management client means, wherein the web application interface means holds information on the web application and information on the web application management server means, is executed from the web server means instead of the web application, and is transmitted from the web client. Request information, and inputs the request information to the web application management server means. Web application management server means having the function of executing the requested web application after setting the information obtained from the web application interface means, and outputting the output from the executed web application to the web application management client means. Characterized in that it has a function of outputting to an output unit.
【0015】ウェブサーバ手段、ウェブアプリケーショ
ン管理サーバ手段、ウェブアプリケーション管理クライ
アント手段は、いずれもプログラムによってソフト的に
実現することができる。また、ウェブアプリケーション
インタフェース手段は、ウェブクライアントから送信さ
れたリクエスト情報に加えて、ウェブサーバにてウェブ
アプリケーション実行時に設定された情報を取得するよ
うに構成することもできる。Each of the web server means, the web application management server means, and the web application management client means can be realized by software using a program. Further, the web application interface means may be configured to acquire information set when the web application is executed by the web server, in addition to the request information transmitted from the web client.
【0016】前記ウェブアプリケーション管理サーバ手
段は、ウェブアプリケーション管理クライアント手段の
入力部から入力された指示によってウェブアプリケーシ
ョンからの出力の出力先をウェブアプリケーション管理
クライアント手段とウェブクライアントとの間で切り替
える機能を有するのが好ましい。ここで、ウェブアプリ
ケーションからの出力の出力先としてウェブクライアン
トが選択されたときは、ウェブアプリケーションからの
出力はウェブアプリケーションインタフェース手段を介
してウェブサーバに送られ、ウェブサーバからウェブク
ライアントに送信されることになる。The web application management server has a function of switching the output destination of the output from the web application between the web application management client and the web client according to an instruction input from an input unit of the web application management client. Is preferred. Here, when the web client is selected as the output destination of the output from the web application, the output from the web application is sent to the web server via the web application interface means, and is sent from the web server to the web client. become.
【0017】また、ウェブアプリケーション管理サーバ
手段は、ウェブアプリケーションをデバッガなどの指定
されたプログラムを介して実行する機能を有する。使用
するデバッガなどの指定はウェブアプリケーションイン
ターフェース手段あるいはウェブアプリケーション管理
サーバ手段から行うことができる。Further, the web application management server has a function of executing the web application via a designated program such as a debugger. The designation of the debugger or the like to be used can be made from the web application interface means or the web application management server means.
【0018】本発明によるウェブアプリケーションの実
行方法は、ウェブアプリケーションに関する情報とウェ
ブアプリケーション管理サーバ手段(プログラム)に関
する情報を保持していてウェブアプリケーションの代わ
りとなるウェブアプリケーションインタフェースによっ
て、ウェブサーバ手段(プログラム)から、当該ウェブ
サーバ手段が受信したウェブクライアントからの実行す
べきウェブアプリケーションに対するリクエスト情報を
受けるステップと、入出力部を有するウェブアプリケー
ション管理クライアント手段(プログラム)との間で情
報の伝達を行うことのできるウェブアプリケーション管
理サーバ手段に、ウェブアプリケーションインタフェー
スから実行すべきウェブアプリケーションに対するリク
エスト情報を渡し、当該ウェブアプリケーション管理サ
ーバ手段(プログラム)からデバッガを介してリクエス
トされたウェブアプリケーションを実行するステップと
を含み、デバッガへの入力をウェブアプリケーション管
理クライアント手段の入力部から行い、デバッガを介し
たウェブアプリケーションからの出力及び/又はデバッ
ガからの出力をウェブアプリケーション管理クライアン
ト手段の出力部に表示することを特徴とする。According to the method of executing a web application according to the present invention, a web server means (program) is provided by a web application interface which holds information on a web application and information on a web application management server means (program) and replaces the web application. Receiving the request information for the web application to be executed from the web client received by the web server means, and transmitting the information to the web application management client means (program) having an input / output unit. Request information for a web application to be executed from the web application interface to the web application management server Executing the requested web application from the web application management server means (program) via the debugger, inputting the debugger from the input unit of the web application management client means, and executing the input from the web application via the debugger And / or an output from the debugger is displayed on the output unit of the web application management client means.
【0019】ウェブサーバ手段がウェブクライアントか
ら受信する実行すべきウェブアプリケーションに対する
リクエスト情報には、ウェブアプリケーションのURL
だけではなく、ユーザ認証が必要なURLにアクセスす
る場合にウェブクライアントに入力されるユーザ情報や
パスワード、あるいはインターネットショッピングの際
に入力されるクレジットカード番号なども含まれる。The request information for the web application to be executed received from the web client by the web server means includes the URL of the web application.
Not only that, but also includes user information and a password input to a web client when accessing a URL that requires user authentication, or a credit card number input at the time of Internet shopping.
【0020】本発明によるウェブアプリケーションの実
行方法は、また、ウェブアプリケーションに関する情報
とウェブアプリケーション管理サーバ手段(プログラ
ム)に関する情報を保持していてウェブアプリケーショ
ンの代わりとなるウェブアプリケーションインタフェー
スによって、ウェブサーバ手段(プログラム)から、当
該ウェブサーバ手段が受信したウェブクライアントから
の実行すべきウェブアプリケーションに対するリクエス
ト情報を受けるステップと、入出力部を有するウェブア
プリケーション管理クライアント手段(プログラム)と
の間で情報の伝達を行うことのできるウェブアプリケー
ション管理サーバ手段に、ウェブアプリケーションイン
タフェースから実行すべきウェブアプリケーションに対
するリクエスト情報を渡し、当該ウェブアプリケーショ
ン管理サーバ手段からデバッガを介してリクエストされ
たウェブアプリケーションを実行するステップとを含
み、デバッガへの入力をウェブアプリケーション管理ク
ライアント手段の入力部から行い、デバッガを介したウ
ェブアプリケーションからの出力及び/又はデバッガか
らの出力をウェブアプリケーション管理クライアント手
段とウェブクライアントとに切り替えながら出力するこ
とを特徴とする。[0020] The method of executing a web application according to the present invention also includes a web server interface (web application interface) that holds information on the web application and information on the web application management server (program) and replaces the web application. Receiving request information for a web application to be executed from the web client received by the web server means from the program, and transmitting information between the web application management client means (program) having an input / output unit. Request information for a web application to be executed from a web application interface in a web application management server means capable of Executing the requested web application from the web application management server means via the debugger from the web application management server means, inputting to the debugger from the input unit of the web application management client means, It is characterized in that the output and / or the output from the debugger are output while being switched between the web application management client means and the web client.
【0021】本発明によるコンピュータ読み取り可能な
記録媒体は、ウェブアプリケーションに関する情報とウ
ェブアプリケーション管理サーバ手段に関する情報を保
持してウェブサーバ手段からウェブアプリケーションの
代わりに実行され、ウェブクライアントから送信された
リクエスト情報を取得し、当該リクエスト情報をウェブ
アプリケーション管理サーバ手段に入力し実行する機能
を有するウェブアプリケーションインタフェース手段
と、ウェブアプリケーションインタフェース手段から得
た情報を設定した上でリクエストされたウェブアプリケ
ーションを実行し、実行されたウェブアプリケーション
からの出力をウェブアプリケーション管理クライアント
手段の出力部に出力する機能を有するウェブアプリケー
ション管理サーバ手段とをコンピュータに実現させるた
めのプログラムを記録した記録媒体である。ウェブアプ
リケーションインタフェースが取得する情報には、ウェ
ブクライアントから送信されたリクエスト情報に加えて
ウェブサーバにてウェブアプリケーション実行時に設定
された情報も含めることができる。A computer-readable recording medium according to the present invention holds information on a web application and information on a web application management server means, is executed by the web server means in place of the web application, and transmits request information transmitted from the web client. Web application interface means having a function of inputting and executing the request information to the web application management server means, and executing the requested web application after setting the information obtained from the web application interface means Web application management server having a function of outputting the output from the web application to the output unit of the web application management client means A recording medium recording a program for realizing the door to the computer. The information acquired by the web application interface can include information set when the web application is executed by the web server, in addition to the request information transmitted from the web client.
【0022】本発明によるコンピュータ読み取り可能な
記録媒体は、また、ウェブアプリケーションに関する情
報とウェブアプリケーション管理サーバ手段に関する情
報を保持していてウェブアプリケーションの代わりとな
るウェブアプリケーションインタフェースによって、ウ
ェブサーバ手段から、当該ウェブサーバ手段が受信した
ウェブクライアントからの実行すべきウェブアプリケー
ションに対するリクエスト情報を受けるステップと、入
出力部を有するウェブアプリケーション管理クライアン
ト手段との間で情報の伝達を行うことのできる前記ウェ
ブアプリケーション管理サーバ手段に、ウェブアプリケ
ーションインタフェースから前記実行すべきウェブアプ
リケーションに対するリクエスト情報を渡し、当該ウェ
ブアプリケーション管理サーバ手段からデバッガを介し
てリクエストされたウェブアプリケーションを実行する
ステップとを含み、デバッガへの入力をウェブアプリケ
ーション管理クライアント手段の入力部から行い、デバ
ッガを介したウェブアプリケーションからの出力及び/
又はデバッガからの出力をウェブアプリケーション管理
クライアント手段の出力部に表示するウェブアプリケー
ションの実行方法をコンピュータに実現させるためのプ
ログラムを記録した記録媒体である。The computer-readable recording medium according to the present invention also stores information on a web application and information on a web application management server means from a web server means by a web application interface instead of the web application. Receiving the request information for the web application to be executed from the web client received by the web server means, and transmitting the information to the web application management client means having the input / output unit; Passing request information for the web application to be executed from the web application interface to the web application interface, And a step of executing a web application that has been requested from the management server means via the debugger performs input to the debugger from the input of the web application management client unit, output from the web application via the debugger and /
Alternatively, the recording medium is a recording medium that records a program for causing a computer to execute a web application execution method that displays an output from a debugger on an output unit of a web application management client unit.
【0023】[0023]
【発明の実施の形態】以下、本発明を実施する場合の一
形態を図面を参照して具体的に説明する。なお、以下の
図面や説明中に具体例として示したURL、コマンド、
http送信データ等は、本発明の理解を容易にするた
めに単に例示的に示したにすぎず、本発明の適用がそれ
らの表記によって示唆されるプログラム言語、デバッ
ガ、ウェブアプリケーション等に限定されることを意図
するものではない。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings. URLs, commands, and the like shown as specific examples in the following drawings and description
The http transmission data and the like are shown only by way of example in order to facilitate understanding of the present invention, and the application of the present invention is limited to programming languages, debuggers, web applications, and the like suggested by those notations. It is not intended.
【0024】図1は、本発明によるウェブサーバシステ
ムの構成例と、このウェブサーバシステムによるウェブ
アプリケーション実行方法の一例を説明するためのブロ
ック図である。ここでは、ウェブサーバ装置63とウェ
ブアプリケーション管理クライアント装置16とを合わ
せたものをウェブサーバシステムという。また、図1に
は、ウェブサーバ装置63とウェブアプリケーション管
理クライアント装置16とを別々に構成した例を示した
が、ウェブアプリケーション管理クライアント装置16
の機能をウェブサーバ装置63に組み込むことによっ
て、ウェブサーバ装置63のみでウェブサーバシステム
を構成するようにしてもよい。FIG. 1 is a block diagram for explaining a configuration example of a web server system according to the present invention and an example of a web application execution method by the web server system. Here, a combination of the web server device 63 and the web application management client device 16 is called a web server system. FIG. 1 shows an example in which the web server device 63 and the web application management client device 16 are separately configured.
By incorporating the above function into the web server device 63, the web server system may be configured with only the web server device 63.
【0025】本実施の形態のウェブサーバ装置63は、
ウェブサーバプログラム4、ウェブアプリケーションイ
ンタフェース9、ウェブアプリケーション管理サーバプ
ログラム10、ウェブアプリケーション8を備える。ウ
ェブアプリケーション管理サーバプログラム10は、ウ
ェブアプリケーション管理クライアント装置16と通信
する。ウェブアプリケーションインタフェース9やウェ
ブアプリケーション管理サーバプログラム10は、必要
なときにプログラムをロードしてウェブサーバ装置3内
に実装される。すなわち、本実施の形態のウェブサーバ
装置63は、通常稼働時には図2に示した従来例のよう
なシステム構成で動作し、ウェブアプリケーション8の
デバッグや動作確認の時に、その目的に適した図1に示
すようなシステム構成とされる。The web server device 63 according to the present embodiment
It comprises a web server program 4, a web application interface 9, a web application management server program 10, and a web application 8. The web application management server program 10 communicates with a web application management client device 16. The web application interface 9 and the web application management server program 10 are installed in the web server device 3 by loading the programs when necessary. That is, the web server device 63 of the present embodiment operates in the system configuration as in the conventional example shown in FIG. 2 during normal operation, and is suitable for the purpose when debugging or confirming the operation of the web application 8 in FIG. The system configuration is as shown in FIG.
【0026】ウェブサーバ装置63にネットワークを介
して接続されたウェブクライアント1は、ウェブサーバ
装置63のウェブサーバプログラム4に対して、アクセ
スするウェブアプリケーション8から指定された入力情
報とウェブクライアント情報の送信を行う。ウェブサー
バプログラム4は通信処理部5と処理部6を備え、図2
に示した通常稼働時には、ウェブクライアント1のブラ
ウザ2からリクエストされたURLに従い、レスポンス
としてウェブドキュメント7を返すか、ウェブアプリケ
ーション8の実行を行い結果を返すかするのであるが、
図1に示したシステム構成となっている場合には、ウェ
ブクライアント1から送信された情報をウェブアプリケ
ーション8の代わりとなるウェブアプリケーションイン
タフェース9に送信し、ウェブアプリケーションインタ
フェース9を実行する。The web client 1 connected to the web server device 63 via the network transmits the input information designated by the web application 8 to be accessed and the web client information to the web server program 4 of the web server device 63. I do. The web server program 4 includes a communication processing unit 5 and a processing unit 6,
In the normal operation shown in (1), according to the URL requested from the browser 2 of the web client 1, the web document 7 is returned as a response, or the web application 8 is executed and the result is returned.
In the case of the system configuration shown in FIG. 1, the information transmitted from the web client 1 is transmitted to the web application interface 9 instead of the web application 8, and the web application interface 9 is executed.
【0027】ウェブアプリケーションインタフェース9
は、ウェブサーバプログラム4により実行されるプログ
ラムであり、ウェブアプリケーション毎に1ファイルず
つ作成されている。ウェブアプリケーションインタフェ
ース9は、ウェブサーバプログラム4から情報を送信さ
れ実行され、その情報と実際に実行すべきウェブアプリ
ケーションの情報をウェブアプリケーション管理サーバ
プログラム10に送信し、ウェブアプリケーション管理
サーバプログラム10を実行する。Web application interface 9
Is a program executed by the web server program 4, and one file is created for each web application. The web application interface 9 is executed by transmitting information from the web server program 4, transmits the information and information of a web application to be actually executed to the web application management server program 10, and executes the web application management server program 10. .
【0028】ウェブアプリケーション管理サーバプログ
ラム10は、ウェブアプリケーションインタフェース9
より実行されるプログラムであり、ウェブアプリケーシ
ョンインタフェース9から送信された情報を設定してウ
ェブアプリケーション8を実行する。また、その入力の
インタフェースをウェブアプリケーション管理クライア
ントプログラム17に設定し、出力のインタフェースを
ウェブアプリケーション管理クライアントプログラム1
7に、あるいはウェブアプリケーションインタフェース
9及びウェブサーバプログラム4を介してウェブクライ
アント1に設定する。The web application management server program 10 includes a web application interface 9
This is a program executed by executing the web application 8 by setting information transmitted from the web application interface 9. The input interface is set in the web application management client program 17, and the output interface is set in the web application management client program 1.
7 or the web client 1 via the web application interface 9 and the web server program 4.
【0029】ウェブアプリケーション管理クライアント
プログラム17は、ウェブアプリケーションの入出力の
インタフェースとなるもので、ウェブアプリケーション
管理サーバプログラム10からの出力を受信してウェブ
アプリケーション管理クライアント装置16の入出力部
22に表示し、ウェブアプリケーション管理クライアン
ト装置16の入出力部22からの入力を受信してウェブ
アプリケーション管理サーバプログラム10に送信す
る。The web application management client program 17 serves as an interface for inputting and outputting a web application. The web application management client program 17 receives an output from the web application management server program 10 and displays it on the input / output unit 22 of the web application management client device 16. , Receives an input from the input / output unit 22 of the web application management client device 16 and transmits the input to the web application management server program 10.
【0030】ウェブドキュメント7はHTMLドキュメ
ントであり、URL毎に1ファイルずつ作成されてい
る。ウェブアプリケーション8は実行時の出力としてH
TMLドキュメントを出力する実際に実行されるプログ
ラムであり、URL毎に1ファイルずつ作成されてい
る。The web document 7 is an HTML document, and one file is created for each URL. Web application 8 outputs H at runtime
This is a program that is actually executed to output a TML document, and one file is created for each URL.
【0031】図3は、図1に示したシステムの各プログ
ラム間で行われる情報のやり取りを説明する図である。
通常は、ウェブクライアント1からウェブサーバ4にウ
ェブアプリケーション8へのアクセス要求があると、対
応するウェブアプリケーションが実行されるのである
が、本発明では、ウェブクライアント1から要求される
ウェブアプリケーションの代わりとなるウェブアプリケ
ーションインタフェース9を作成しておく。そのウェブ
アプリケーションインタフェース9内には、実際に実行
されるべきウェブアプリケーションのパス及び引数とウ
ェブアプリケーション管理サーバのパスの情報を保持す
る。FIG. 3 is a diagram for explaining the exchange of information performed between the programs of the system shown in FIG.
Normally, when there is a request from the web client 1 to access the web application 8 to the web server 4, the corresponding web application is executed. In the present invention, instead of the web application requested by the web client 1, A web application interface 9 is created. The web application interface 9 holds information on the path and argument of the web application to be actually executed and the path of the web application management server.
【0032】ウェブアプリケーションインタフェース9
は、ウェブサーバプログラム4からの実行処理23でウ
ェブサーバプログラム4から、ウェブクライアント1か
らの入力情報としてURLとブラウザに入力された値
と、ウェブクライアントの情報としてウェブクライアン
トのネットワーク上の識別子となるIPアドレスとブラ
ウザの名称及びバージョン、そしてウェブサーバがブラ
ウザ毎に任意に設定できるCOOKIEの値、ウェブサーバの
情報としてウェブアプリケーションファイルを実際に実
行するディレクトリなどのオペレーションシステム上の
環境を取得する。Web application interface 9
Are the URL and the value input to the browser as input information from the web client 1 from the web server program 4 in the execution process 23 from the web server program 4, and the web client information as the web client information on the network. The environment on the operation system such as the IP address, the name and version of the browser, the value of COOKIE that can be arbitrarily set by the web server for each browser, and the directory in which the web application file is actually executed as the web server information is acquired.
【0033】実行処理23で情報を取得後、ウェブアプ
リケーションインタフェース9は、実行処理23で取得
した情報と自身内に保持しているウェブアプリケーショ
ンの情報を設定した上で、実行処理25によってウェブ
アプリケーション管理サーバプログラム10を実行す
る。After acquiring the information in the execution process 23, the web application interface 9 sets the information acquired in the execution process 23 and the information of the web application held therein, and then executes the web application management by the execution process 25. Execute the server program 10.
【0034】ウェブアプリケーション管理サーバプログ
ラム10は取得した情報をウェブアプリケーションの実
行環境に設定し、ウェブアプリケーション8の実行処理
27を行う。ウェブアプリケーション8は、実行処理2
7に従いアプリケーションを実行し、実行結果をウェブ
アプリケーション管理サーバプログラム10に出力する
出力処理28を行う。ウェブアプリケーション管理サー
バプログラム10は、出力処理28の結果をウェブアプ
リケーション管理クライアントプログラム17へ出力す
る出力処理30を行う。The web application management server program 10 sets the acquired information in the execution environment of the web application, and performs the execution process 27 of the web application 8. The web application 8 executes the execution process 2
7, an output process 28 for outputting the execution result to the web application management server program 10 is performed. The web application management server program 10 performs an output process 30 for outputting the result of the output process 28 to the web application management client program 17.
【0035】ウェブアプリケーション管理サーバプログ
ラム10は、ウェブアプリケーションの実行処理27を
行う時に、指定したデバッガ15を介して実行すること
ができる。この場合、出力処理28の後、デバッグコマ
ンドの入力処理29を行うことができる。入力処理29
により入力された情報は、ウェブアプリケーション管理
サーバプログラム10を介した送信処理27によってウ
ェブアプリケーション8に送信される。ウェブアプリケ
ーション8はデバッグコマンドに従い実行され、ウェブ
アプリケーション管理サーバプログラム10に対して出
力処理28を行う。ウェブアプリケーション管理サーバ
プログラム10は、ウェブアプリケーション管理クライ
アントプログラム17に対して出力処理30を行う。こ
の操作を繰り返すことでウェブアプリケーションのデバ
ッグを行うことができる。The web application management server program 10 can be executed via the designated debugger 15 when performing the execution process 27 of the web application. In this case, after the output process 28, a debug command input process 29 can be performed. Input processing 29
Is transmitted to the web application 8 by the transmission process 27 via the web application management server program 10. The web application 8 is executed according to the debug command, and performs an output process 28 to the web application management server program 10. The web application management server program 10 performs an output process 30 on the web application management client program 17. The web application can be debugged by repeating this operation.
【0036】また、ウェブアプリケーション管理クライ
アントプログラム17より規定の出力先切り替え指示コ
マンドが入力され、ウェブアプリケーションの出力先が
ウェブクライアントとなった場合、ウェブアプリケーシ
ョン管理サーバプログラム10は、ウェブアプリケーシ
ョンインタフェース9に対してウェブアプリケーション
の実行時の結果を出力処理26として送信する。ウェブ
アプリケーションインタフェース9では、出力処理26
で取得した出力をウェブサーバプログラム4に対して送
信する送信処理24を行う。ウェブサーバプログラム4
は、取得した出力をウェブクライアント1に送信する。When a specified output destination switching instruction command is input from the web application management client program 17 and the output destination of the web application is the web client, the web application management server program 10 Then, the result at the time of execution of the web application is transmitted as output processing 26. In the web application interface 9, the output processing 26
A transmission process 24 for transmitting the output obtained in the above to the web server program 4 is performed. Web server program 4
Transmits the obtained output to the web client 1.
【0037】図4は、本発明のウェブサーバシステムに
よりウェブアプリケーションを対話的に実行する場合の
動作手順の例をフローチャートとして示したものであ
る。ここでは、ウェブアプリケーションをデバッグする
ためにデバッガを介してウェブアプリケーションを実行
する方法について説明する。FIG. 4 is a flowchart showing an example of an operation procedure when a web application is interactively executed by the web server system of the present invention. Here, a method of executing a web application via a debugger to debug the web application will be described.
【0038】ウェブブラウザ2からURLに対してデー
タとリクエストが送信され(S11)、次にそのデータ
とリクエストを取得したウェブサーバプログラム4がウ
ェブアプリケーションインタフェース9を実行する(S
12)。実行されたウェブアプリケーションインタフェ
ース9はファイルに記述された情報に従い、ウェブアプ
リケーション管理サーバプログラム10を実行する。こ
の時、ブラウザ2から送信されたデータを環境変数とし
て設定し、ウェブアプリケーション8へのパスとデバッ
ガへのパスを引数として実行する(S13)。デバッガ
のパスはウェブアプリケーションインターフェースに持
たせてもよいし、ウェブアプリケーション管理サーバプ
ログラムに持たせてもよい。Data and a request are transmitted from the web browser 2 to the URL (S11), and the web server program 4 that has acquired the data and the request executes the web application interface 9 (S11).
12). The executed web application interface 9 executes the web application management server program 10 according to the information described in the file. At this time, the data transmitted from the browser 2 is set as an environment variable, and the execution is performed using the path to the web application 8 and the path to the debugger as arguments (S13). The path of the debugger may be provided in the web application interface or the web application management server program.
【0039】実行されたウェブアプリケーション管理サ
ーバプログラム10は引数に従い、デバッガ15を介し
てウェブアプリケーション8を実行する。この時、ウェ
ブアプリケーションインタフェース9にて設定された環
境変数の値を取得し、再度環境変数として設定し実行す
る(S14)。デバッガ15の出力結果が、ウェブアプ
リケーション管理クライアント装置16の入出力部22
に表示される(S15)。ウェブアプリケーション管理
クライアント装置16の入出力部22を用いて、コマン
ドをウェブアプリケーション管理クライアントプログラ
ム17に入力する(S16)。The executed web application management server program 10 executes the web application 8 via the debugger 15 according to the argument. At this time, the value of the environment variable set in the web application interface 9 is obtained, set again as an environment variable, and executed (S14). The output result of the debugger 15 is transmitted to the input / output unit 22 of the web application management client device 16.
Is displayed (S15). A command is input to the web application management client program 17 using the input / output unit 22 of the web application management client device 16 (S16).
【0040】入力されたコマンドが出力先をウェブブラ
ウザ2とする出力切り替えコマンドの場合、ステップ1
7からステップ22に進み、デバッガ15からの出力を
ウェブブラウザ2に切り替える。入力されたコマンドが
出力切り替えコマンドではない場合には、デバッガにて
そのコマンドを実行する(S19)。実行結果はウェブ
アプリケーション管理クライアント16の入出力部22
に表示される(S20)。引き続いてウェブアプリケー
ション管理クライアントにコマンドを入力する(S2
1)。これ以降は、ステップ17からの処理を繰り返
す。If the input command is an output switching command in which the output destination is the web browser 2, step 1
Then, the process proceeds from step 7 to step 22 to switch the output from the debugger 15 to the web browser 2. If the input command is not the output switching command, the debugger executes the command (S19). The execution result is stored in the input / output unit 22 of the web application management client 16.
Is displayed (S20). Subsequently, a command is input to the web application management client (S2).
1). Thereafter, the processing from step 17 is repeated.
【0041】ステップ17の判定に従って出力先をウェ
ブブラウザに切り替えた場合(S22)は、出力先がウ
ェブブラウザ2になる以外の動作はステップ18からス
テップ21の動作と同様になる。出力先をウェブブラウ
ザに切り替えることによって、最終的な目的であるウェ
ブブラウザ2での出力状況が把握できるため、ステップ
17からステップ21のループにて十分テストを行った
後、出力先を切り替え、ウェブアプリケーションの再実
行をデバッガ15に指示するという手順を踏むことで、
ステップ17からステップ21によりプログラム内部の
テストを行い、ステップ24からステップ27により外
部仕様のテストを行うことができる。図5及び図6は、
本発明によるウェブアプリケーションの対話型実行方法
の例を時系列的に記述した図である。本例は、ウェブク
ライアントからの入力に対して認証処理を行い、ユーザ
用のメニュー画面のHTMLファイルを出力するウェブ
アプリケーションのテストを行う場合の実行方法を示し
たものである。When the output destination is switched to the web browser according to the determination in step 17 (S22), the operation other than the output destination being the web browser 2 is the same as the operation from step 18 to step 21. By switching the output destination to the web browser, the output status of the web browser 2 as the final purpose can be grasped. Therefore, after performing a sufficient test in a loop from step 17 to step 21, the output destination is switched, By following the procedure of instructing the debugger 15 to re-execute the application,
Tests inside the program can be performed in steps 17 to 21, and tests for external specifications can be performed in steps 24 to 27. FIG. 5 and FIG.
FIG. 3 is a diagram describing an example of a method for interactively executing a web application according to the present invention in a time series. This example shows an execution method in a case where an authentication process is performed on an input from a web client and a web application that outputs an HTML file of a menu screen for a user is tested.
【0042】図5に示すように、ウェブクライアント3
1にはユーザ名とパスワードの入力域及び認証ボタンが
表示されている。ここで、ユーザ名(例えば、AAAA)を
入力するとともにパスワードの入力域に値(例えば、ab
cdefgh)を入力し、認証ボタンを押下する(ステップ3
2)。ウェブクライアント31は、入力されたユーザ名
AAAAとパスワードの値abcdefghとウェブアプリケーショ
ンのURL(例えば、http://www.a.co.jp/cgi-bin/log
in.cgi)をウェブサーバ34に送信する(ステップ3
3)。ウェブサーバ34は、ウェブクライアント31か
ら送信されたURLに該当するウェブアプリケーション
のインタフェースとして作成されたウェブアプリケーシ
ョンインタフェース36の実行とウェブアプリケーショ
ンインタフェース36へのユーザ名AAAAとパスワードの
値abcdefghの送信を行う(ステップ35)。As shown in FIG. 5, the web client 3
1 shows an input area for a user name and a password and an authentication button. Here, a user name (for example, AAAA) is entered, and a value (for example, ab
cdefgh) and press the authentication button (Step 3)
2). The web client 31 displays the input user name
AAAA and password value abcdefgh and web application URL (for example, http://www.a.co.jp/cgi-bin/log
in.cgi) to the web server 34 (step 3)
3). The web server 34 executes the web application interface 36 created as an interface of the web application corresponding to the URL transmitted from the web client 31 and transmits the user name AAAA and the value abcdefgh of the password to the web application interface 36 ( Step 35).
【0043】図7に、ウェブアプリケーションインタフ
ェースの実行例を示す。ウェブアプリケーションインタ
フェース36は、図7に例示するように、実行すべきウ
ェブアプリケーション情報の設定、ウェブアプリケーシ
ョンを実行するためのウェブアプリケーション管理サー
バプログラムの情報設定、ウェブクライアントからの入
力値の設定を行い、ウェブアプリケーション管理サーバ
プログラムを実行する。ウェブアプリケーションインタ
フェース36は、ファイルに記述されているウェブアプ
リケーション管理サーバプログラム38に対して、ユー
ザ名AAAAとパスワードの値abcdefghとウェブアプリケー
ション42のパス及びデバッガのパスを設定し実行する
(ステップ37)。FIG. 7 shows an example of execution of the web application interface. As illustrated in FIG. 7, the web application interface 36 sets web application information to be executed, sets information of a web application management server program for executing a web application, and sets input values from a web client. Execute the web application management server program. The web application interface 36 sets the user name AAAA, the value abcdefgh of the password, the path of the web application 42, and the path of the debugger for the web application management server program 38 described in the file (step 37).
【0044】図6に移って、ウェブアプリケーション管
理サーバプログラム38は、実行依頼を受けたウェブア
プリケーション41をデバッガ39を介して実行する。
その実行時にユーザ名AAAAとパスワードの値abcdefghを
送信する(ステップ40)。実行されたウェブアプリケ
ーション41は、出力結果をウェブアプリケーション管
理サーバプログラム43に出力する(ステップ42)。
ウェブアプリケーション管理サーバプログラム43は、
ウェブアプリケーションからの出力結果をウェブアプリ
ケーション管理クライアントプログラム45に出力する
(ステップ44)。ウェブアプリケーション管理クライ
アントプログラム45では、出力結果を画面に表示す
る。Referring to FIG. 6, the web application management server program 38 executes the requested web application 41 via the debugger 39.
At the time of execution, the user name AAAA and the value abcdefgh of the password are transmitted (step 40). The executed web application 41 outputs an output result to the web application management server program 43 (step 42).
The web application management server program 43
The output result from the web application is output to the web application management client program 45 (step 44). The web application management client program 45 displays the output result on the screen.
【0045】ウェブアプリケーションのテストを行う場
合、ウェブアプリケーション管理クライアントプログラ
ム45から、ウェブアプリケーションに対する変数の値
やステップ実行等のデバッガコマンドを入力する(ステ
ップ49)。ウェブアプリケーション管理クライアント
プログラム45は、入力されたデバッグコマンドをウェ
ブアプリケーション管理サーバプログラム47に入力す
る(ステップ46)。ウェブアプリケーション管理サー
バプログラム47は、入力されたデバッグコマンドをウ
ェブアプリケーションに入力する(ステップ48)。ウ
ェブアプリケーションは、再びステップ40から繰り返
し動作する。When the web application is to be tested, a variable value for the web application and a debugger command such as step execution are input from the web application management client program 45 (step 49). The web application management client program 45 inputs the input debug command to the web application management server program 47 (Step 46). The web application management server program 47 inputs the input debug command to the web application (Step 48). The web application operates repeatedly from step 40 again.
【0046】また、ウェブアプリケーション41からの
出力結果をウェブアプリケーション管理クライアント4
5ではなくウェブクライアントに表示したい場合は、ウ
ェブアプリケーション管理クライアント45への入力と
して既定の出力切り替えコマンドを入力する(ステップ
49)。これにより、この後のウェブアプリケーション
からの出力結果はウェブアプリケーション管理サーバ4
5からウェブアプリケーションインタフェース51に出
力され(ステップ50)、ウェブアプリケーションイン
タフェース51は出力結果をウェブサーバ53に出力し
(ステップ52)、ウェブサーバ53は出力結果をウェ
ブクライアント55に出力する(ステップ54)。ウェ
ブクライアント55は、出力結果をブラウザの画面に表
示する。The output result from the web application 41 is stored in the web application management client 4.
If the user wants to display on the web client instead of 5, the user inputs a default output switching command as an input to the web application management client 45 (step 49). As a result, the output result from the web application after this is stored in the web application management server 4
5 to the web application interface 51 (step 50), the web application interface 51 outputs the output result to the web server 53 (step 52), and the web server 53 outputs the output result to the web client 55 (step 54). . The web client 55 displays the output result on the screen of the browser.
【0047】図8及び図9に、ウェブアプリケーション
デバッグ時の入出力例を示す。図8はウェブアプリケー
ションの一例を示し、図9はそのウェブアプリケーショ
ンを本発明にてデバッガを介して実行した場合のウェブ
アプリケーション管理クライアントの入出力の例であ
る。FIGS. 8 and 9 show examples of input and output when debugging a web application. FIG. 8 shows an example of a web application, and FIG. 9 shows an example of input and output of a web application management client when the web application is executed via a debugger according to the present invention.
【0048】ウェブクライアント1のウェブブラウザ2
よりウェブアプリケーションの代わりに作成されたウェ
ブアプリケーションインタフェース9にアクセスする
と、ウェブ管理クライアント装置16の入出力部22に
図9に示すAが出力される。ここでウェブアプリケーシ
ョン管理クライアント装置16を使用するユーザが、入
出力部22からBの通り同レベルの次の文の先頭まで実
行するというコマンド(n)を入力すると、ウェブアプ
リケーション管理サーバプログラム10において、図8
に示したウェブアプリケーションのget#formという関数
が実行され、その結果、図9に示すCのように次の行が
ウェブアプリケーション管理クライアント装置16の入
出力部22に表示される。次に、ユーザが図9のDの通
りget#formという関数にて設定される$FORM['UNAME']と
いう変数の値を出力するコマンドprint $FORM['UNAME']
を実行を指示すると、Fの通り設定された内容「AAAA」
が入出力部22に表示される。Web browser 2 of Web client 1
When the web application interface 9 created in place of the web application is accessed, A shown in FIG. 9 is output to the input / output unit 22 of the web management client device 16. Here, when the user using the web application management client device 16 inputs a command (n) to execute to the beginning of the next sentence at the same level as shown in B from the input / output unit 22, the web application management server program 10 FIG.
Is executed, and as a result, the next line is displayed on the input / output unit 22 of the web application management client device 16 as shown in C of FIG. Next, the command print $ FORM ['UNAME'] in which the user outputs the value of the variable $ FORM ['UNAME'] set by the function get # form as shown in D of FIG.
Is executed, the contents set as "FAAAA"
Is displayed on the input / output unit 22.
【0049】次に、ユーザが再び図9のGに示す通りコ
マンド(n)を入出力部22に入力すると、図8に示し
たウェブアプリケーションのprint#headという関数がウ
ェブアプリケーション管理サーバプログラム10におい
て実行され、本関数では図9に示すHのような出力が行
われ、出力内容が入出力部22に表示される。また、I
のように次の行が出力される。次に、ユーザが再び図9
のJに示す通りコマンド(n)を入力すると、図8のch
eck#authという関数が実行され、図9にKで示すように
次の行が出力される。実行後、check#authの実行結果で
ある$rtnという変更を参照するため、Lのようにコマン
ドprint $rtnを入力するとMのようにcheck#authの結果
が表示される。以上のように、プログラムを直接デバッ
ガにて実行している場合と同様の手順にてウェブアプリ
ケーションをデバッグすることが可能となる。Next, when the user again inputs the command (n) to the input / output unit 22 as shown in FIG. 9G, the function “print_head” of the web application shown in FIG. When the function is executed, an output like H shown in FIG. 9 is performed, and the output content is displayed on the input / output unit 22. Also, I
Will output the following line: Next, the user returns to FIG.
When a command (n) is input as shown in J of FIG.
A function called eck # auth is executed, and the next line is output as indicated by K in FIG. After execution, when the command print $ rtn is input as shown in L, the result of check_auth is displayed as M in order to refer to the change of $ rtn, which is the execution result of check_auth. As described above, the web application can be debugged in the same procedure as when the program is directly executed by the debugger.
【0050】なお本実施の形態においては、ウェブアプ
リケーションの実行やそのデバッグを行うウェブサーバ
装置63と、ウェブサーバ装置63での実行結果表示や
出力切換、デバッグ指示等を行うウェブアプリケーショ
ン管理クライアント装置16を分けて構成したが、ウェ
ブサーバ装置63にウェブアプリケーション管理クライ
アントプログラム17を組込み、かつ適切な入出力手段
を備えさせることにより、ウェブサーバ装置63のみで
本発明を実施するようにしてもよい。In the present embodiment, a web server device 63 for executing and debugging a web application, and a web application management client device 16 for displaying execution results, switching output, and instructing debugging, etc. in the web server device 63. However, the present invention may be implemented only by the web server device 63 by incorporating the web application management client program 17 into the web server device 63 and providing appropriate input / output means.
【0051】[0051]
【発明の効果】以上説明したように、本発明によれば、
ウェブアプリケーションの代わりとなるウェブアプリケ
ーションインタフェースを定義し、ウェブアプリケーシ
ョンインタフェースからウェブアプリケーション管理サ
ーバを介してウェブアプリケーションを実行し、その入
力をウェブアプリケーション管理クライアントにて行
い、出力をウェブアプリケーション管理クライアントと
ウェブクライアントに切り替えながら行うことができ
る。これによりウェブアプリケーションの実行時にデバ
ッガを介することにより、対話的にテストを行いながら
実行することが可能となる。As described above, according to the present invention,
Define a web application interface to replace the web application, execute the web application from the web application interface via the web application management server, input the web application with the web application management client, and output the web application management client and the web client It can be done while switching to. As a result, it is possible to execute the web application while executing the test interactively through the debugger when executing the web application.
【図1】本発明によるウェブサーバシステムの構成例
と、このウェブサーバシステムによるウェブアプリケー
ション実行方法の一例を説明するためのブロック図。FIG. 1 is a block diagram for explaining a configuration example of a web server system according to the present invention and an example of a web application execution method by the web server system.
【図2】従来のウェブサーバ装置によるウェブアプリケ
ーション実行方法を説明するブロック図。FIG. 2 is a block diagram illustrating a web application execution method by a conventional web server device.
【図3】各プログラム間で行われる情報のやり取りを説
明する図。FIG. 3 is a view for explaining exchange of information performed between programs.
【図4】ウェブアプリケーションを対話的に実行する動
作手順の例を示すフローチャート。FIG. 4 is a flowchart illustrating an example of an operation procedure for interactively executing a web application.
【図5】本発明によるウェブアプリケーションの対話型
実行方法の例を時系列的に記述した図。FIG. 5 is a diagram in which an example of a method for interactively executing a web application according to the present invention is described in time series.
【図6】本発明によるウェブアプリケーションの対話型
実行方法の例を時系列的に記述した図。FIG. 6 is a diagram in which an example of a method for interactively executing a web application according to the present invention is described in time series.
【図7】ウェブアプリケーションインタフェースの実行
例を示す図。FIG. 7 is a diagram showing an execution example of a web application interface.
【図8】ウェブアプリケーションの一例を示す図。FIG. 8 is a diagram showing an example of a web application.
【図9】図8に示したウェブアプリケーションをデバッ
ガを介して実行した場合のウェブアプリケーション管理
クライアントの入出力例を示す図。9 is a diagram showing an example of input and output of a web application management client when the web application shown in FIG. 8 is executed via a debugger.
1…ウェブクライアント、2…ブラウザ、3…ウェブサ
ーバ装置、4…ウェブサーバプログラム、5…ウェブサ
ーバプログラム通信処理部、6…ウェブサーバプログラ
ム処理部、7…ウェブドキュメント、8…ウェブアプリ
ケーション、9…ウェブアプリケーションインタフェー
ス、10…ウェブアプリケーション管理サーバプログラ
ム、11…ウェブアプリケーション管理サーバウェブア
プリケーション実行部、12…ウェブアプリケーション
管理サーバ入出力制御部、13…ウェブアプリケーショ
ン管理サーバ入力受信部、14…ウェブアプリケーショ
ン管理サーバ出力送信部、15…デバッガ、16…ウェ
ブアプリケーション管理クライアント装置、17…ウェ
ブアプリケーション管理クライアントプログラム、18
…ウェブアプリケーション管理クライアント通信処理
部、19…ウェブアプリケーション管理クライアント入
出力制御部、20…ウェブアプリケーション管理クライ
アント入力受信部、21…ウェブアプリケーション管理
クライアント出力送信部、22…ウェブアプリケーショ
ン管理クライアント装置入出力部、63…ウェブサーバ
装置DESCRIPTION OF SYMBOLS 1 ... Web client, 2 ... Browser, 3 ... Web server device, 4 ... Web server program, 5 ... Web server program communication processing part, 6 ... Web server program processing part, 7 ... Web document, 8 ... Web application, 9 ... Web application interface, 10 Web application management server program, 11 Web application management server Web application execution unit, 12 Web application management server input / output control unit, 13 Web application management server input receiving unit, 14 Web application management server Output transmitting unit, 15 debugger, 16 web application management client device, 17 web application management client program, 18
... Web application management client communication processing unit, 19 ... Web application management client input / output control unit, 20 ... Web application management client input reception unit, 21 ... Web application management client output transmission unit, 22 ... Web application management client device input / output unit , 63 ... Web server device
Claims (7)
ーションに対するリクエストを受けて当該ウェブアプリ
ケーションの実行結果をウェブクライアントに返すウェ
ブサーバ手段と、ウェブアプリケーションインタフェー
ス手段と、ウェブアプリケーション管理サーバ手段と、
ウェブアプリケーション管理クライアント手段とを備
え、 前記ウェブアプリケーションインタフェース手段は、ウ
ェブアプリケーションに関する情報と前記ウェブアプリ
ケーション管理サーバ手段に関する情報を保持して前記
ウェブサーバ手段から前記ウェブアプリケーションの代
わりに実行され、ウェブクライアントから送信された前
記リクエスト情報を取得し、当該リクエスト情報を前記
ウェブアプリケーション管理サーバ手段に入力し実行す
る機能を有し、 前記ウェブアプリケーション管理サーバ手段は、前記ウ
ェブアプリケーションインタフェース手段から得た情報
を設定した上でリクエストされたウェブアプリケーショ
ンを実行し、実行されたウェブアプリケーションからの
出力を前記ウェブアプリケーション管理クライアント手
段の出力部に出力する機能を有することを特徴とするウ
ェブサーバシステム。1. A web server means for receiving a request for a web application from a web client and returning an execution result of the web application to the web client, a web application interface means, a web application management server means,
A web application management client unit, wherein the web application interface unit holds information on the web application and information on the web application management server unit, is executed from the web server unit instead of the web application, and A function of acquiring the transmitted request information, inputting the request information to the web application management server means, and executing the request information, wherein the web application management server means sets information obtained from the web application interface means Executing the web application requested above and outputting the output from the executed web application to the web application management client Web server system characterized by having a function of outputting the output of the stage.
おいて、前記ウェブアプリケーション管理サーバ手段
は、前記ウェブアプリケーション管理クライアント手段
の入力部から入力された指示によって前記ウェブアプリ
ケーションからの出力の出力先をウェブアプリケーショ
ン管理クライアント手段とウェブクライアントとの間で
切り替える機能を有することを特徴とするウェブサーバ
システム。2. The web server system according to claim 1, wherein said web application management server means sets an output destination of said web application according to an instruction input from an input unit of said web application management client means. A web server system having a function of switching between management client means and a web client.
テムにおいて、前記ウェブアプリケーション管理サーバ
手段は、前記ウェブアプリケーションをデバッガを介し
て実行する機能を有することを特徴とするウェブサーバ
システム。3. The web server system according to claim 1, wherein the web application management server has a function of executing the web application via a debugger.
ウェブアプリケーション管理サーバ手段に関する情報を
保持していてウェブアプリケーションの代わりとなるウ
ェブアプリケーションインタフェースによって、ウェブ
サーバ手段から、当該ウェブサーバ手段が受信したウェ
ブクライアントからの実行すべきウェブアプリケーショ
ンに対するリクエスト情報を受けるステップと、 入出力部を有するウェブアプリケーション管理クライア
ント手段との間で情報の伝達を行うことのできる前記ウ
ェブアプリケーション管理サーバ手段に、前記ウェブア
プリケーションインタフェースから前記実行すべきウェ
ブアプリケーションに対するリクエスト情報を渡し、当
該ウェブアプリケーション管理サーバ手段からデバッガ
を介して前記リクエストされたウェブアプリケーション
を実行するステップとを含み、 前記デバッガへの入力を前記ウェブアプリケーション管
理クライアント手段の入力部から行い、前記デバッガを
介したウェブアプリケーションからの出力及び/又は前
記デバッガからの出力を前記ウェブアプリケーション管
理クライアント手段の出力部に表示することを特徴とす
るウェブアプリケーションの実行方法。4. An execution from a web client received by the web server means from the web server means by a web application interface which holds information on the web application and information on the web application management server means and substitutes for the web application. Receiving the request information for the web application to be performed, and transmitting the information from the web application interface to the web application management server means capable of transmitting information between the web application management client means having an input / output unit. Request information for the web application to be passed, and the request is sent from the web application management server means via a debugger. Executing the input web application from the input unit of the web application management client means, and outputting an output from the web application via the debugger and / or an output from the debugger to the debugger. A method for executing a web application, which is displayed on an output unit of a web application management client unit.
ウェブアプリケーション管理サーバ手段に関する情報を
保持していてウェブアプリケーションの代わりとなるウ
ェブアプリケーションインタフェースによって、ウェブ
サーバ手段から、当該ウェブサーバ手段が受信したウェ
ブクライアントからの実行すべきウェブアプリケーショ
ンに対するリクエスト情報を受けるステップと、 入出力部を有するウェブアプリケーション管理クライア
ント手段との間で情報の伝達を行うことのできる前記ウ
ェブアプリケーション管理サーバ手段に、前記ウェブア
プリケーションインタフェースから前記実行すべきウェ
ブアプリケーションに対するリクエスト情報を渡し、当
該ウェブアプリケーション管理サーバ手段からデバッガ
を介してリクエストされたウェブアプリケーションを実
行するステップとを含み、 前記デバッガへの入力を前記ウェブアプリケーション管
理クライアント手段の入力部から行い、前記デバッガを
介したウェブアプリケーションからの出力及び/又は前
記デバッガからの出力を前記ウェブアプリケーション管
理クライアント手段と前記ウェブクライアントとに切り
替えながら出力することを特徴とするウェブアプリケー
ションの実行方法。5. An execution from a web client received by the web server means from the web server means by a web application interface which holds information on the web application and information on the web application management server means and substitutes for the web application. Receiving the request information for the web application to be performed, and transmitting the information from the web application interface to the web application management server means capable of transmitting information between the web application management client means having an input / output unit. The request information for the web application to be passed is passed. Executing a web application, inputting to the debugger from an input unit of the web application management client means, and outputting an output from the web application via the debugger and / or an output from the debugger to the web application. A method of executing a web application, wherein output is performed while switching between a management client unit and the web client.
ウェブアプリケーション管理サーバ手段に関する情報を
保持してウェブサーバ手段から前記ウェブアプリケーシ
ョンの代わりに実行され、ウェブクライアントから送信
されたリクエスト情報を取得し、当該リクエスト情報を
前記ウェブアプリケーション管理サーバ手段に入力し実
行する機能を有するウェブアプリケーションインタフェ
ース手段と、 前記ウェブアプリケーションインタフェース手段から得
た情報を設定した上でリクエストされたウェブアプリケ
ーションを実行し、実行されたウェブアプリケーション
からの出力を前記ウェブアプリケーション管理クライア
ント手段の出力部に出力する機能を有するウェブアプリ
ケーション管理サーバ手段とをコンピュータに実現させ
るためのプログラムを記録したコンピュータ読み取り可
能な記録媒体。6. A request which is executed on behalf of the web application from the web server by retaining information on the web application and information on the web application management server, acquires request information transmitted from the web client, and stores the request information. A web application interface unit having a function of inputting and executing the web application management server unit; and executing a requested web application after setting information obtained from the web application interface unit. A web application management server unit having a function of outputting an output to an output unit of the web application management client unit; Computer readable recording medium recording a program.
ウェブアプリケーション管理サーバ手段に関する情報を
保持していてウェブアプリケーションの代わりとなるウ
ェブアプリケーションインタフェースによって、ウェブ
サーバ手段から、当該ウェブサーバ手段が受信したウェ
ブクライアントからの実行すべきウェブアプリケーショ
ンに対するリクエスト情報を受けるステップと、 入出力部を有するウェブアプリケーション管理クライア
ント手段との間で情報の伝達を行うことのできる前記ウ
ェブアプリケーション管理サーバ手段に、前記ウェブア
プリケーションインタフェースから前記実行すべきウェ
ブアプリケーションに対するリクエスト情報を渡し、当
該ウェブアプリケーション管理サーバ手段からデバッガ
を介して前記リクエストされたウェブアプリケーション
を実行するステップとを含み、 前記デバッガへの入力を前記ウェブアプリケーション管
理クライアント手段の入力部から行い、前記デバッガを
介したウェブアプリケーションからの出力及び/又は前
記デバッガからの出力を前記ウェブアプリケーション管
理クライアント手段の出力部に表示するウェブアプリケ
ーションの実行方法をコンピュータに実現させるための
プログラムを記録したコンピュータ読み取り可能な記録
媒体。7. An execution from a web client received by the web server means from the web server means by a web application interface which holds information on the web application and information on the web application management server means and substitutes for the web application. Receiving the request information for the web application to be performed, and transmitting the information from the web application interface to the web application management server means capable of transmitting information between the web application management client means having an input / output unit. Request information for the web application to be passed, and the request is sent from the web application management server means via a debugger. Executing the input web application from the input unit of the web application management client means, and outputting an output from the web application via the debugger and / or an output from the debugger to the debugger. A computer-readable recording medium that records a program for causing a computer to execute a method of executing a web application displayed on an output unit of a web application management client unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34503199A JP2001159988A (en) | 1999-12-03 | 1999-12-03 | Web server system and web application executing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34503199A JP2001159988A (en) | 1999-12-03 | 1999-12-03 | Web server system and web application executing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001159988A true JP2001159988A (en) | 2001-06-12 |
Family
ID=18373822
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34503199A Pending JP2001159988A (en) | 1999-12-03 | 1999-12-03 | Web server system and web application executing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001159988A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010102415A (en) * | 2008-10-22 | 2010-05-06 | Fujitsu Ltd | Virtual system control program, method, and device |
| JP2010102414A (en) * | 2008-10-22 | 2010-05-06 | Fujitsu Ltd | Virtual system control program, method, and device |
-
1999
- 1999-12-03 JP JP34503199A patent/JP2001159988A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010102415A (en) * | 2008-10-22 | 2010-05-06 | Fujitsu Ltd | Virtual system control program, method, and device |
| JP2010102414A (en) * | 2008-10-22 | 2010-05-06 | Fujitsu Ltd | Virtual system control program, method, and device |
| US8799896B2 (en) | 2008-10-22 | 2014-08-05 | Fujitsu Limited | Virtual system control method and apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11755346B2 (en) | Method and apparatus for user interface modification | |
| US7072951B2 (en) | HTTP transaction monitor with capacity to replay in debuggings session | |
| US6119247A (en) | Remote debugging of internet applications | |
| US8682636B2 (en) | Non-client-specific testing of applications | |
| US7016953B2 (en) | HTTP transaction monitor | |
| US6067579A (en) | Method for reducing message translation and traffic through intermediate applications and systems in an internet application | |
| US7099939B2 (en) | HTTP transaction monitor with sequence replay capacity | |
| US7882497B2 (en) | Symbiotic computer application and system and method for generation and presentation of same | |
| US8640104B2 (en) | Computer method and apparatus for debugging in a dynamic computer language | |
| US20020156881A1 (en) | HTTP transaction monitor with replay capacity | |
| US20030056173A1 (en) | Method, system, and program for dynamically generating input for a test automation facility for verifying web site operation | |
| WO2002029571A2 (en) | Http transaction monitor with edit and replay capacity | |
| US7478142B1 (en) | Self-contained applications that are applied to be received by and processed within a browser environment and that have a first package that includes a manifest file and an archive of files including a markup language file and second package | |
| US20170286040A1 (en) | Display and operating unit and method of operating a field instrument having a display and operating unit | |
| US20030018627A1 (en) | Apparatus and method for workflow | |
| US20060070075A1 (en) | Server-recorded macros and web application automation | |
| JP4048736B2 (en) | Failure analysis support method and apparatus | |
| JP4487725B2 (en) | Analytical data processing system and analyzer | |
| CA2297711A1 (en) | Method and system for building internet-based applications | |
| JP2001159988A (en) | Web server system and web application executing method | |
| JP5001747B2 (en) | Web page browsing device | |
| JP2006276939A (en) | Virtual machine program start method and client server system | |
| Nguyen | Design and implementation of a full stack React and Node. js application: simulating driver’s license exams | |
| JP4903278B2 (en) | Operation verification apparatus, operation verification method, and operation verification program | |
| US5671418A (en) | Operating system translator incorporating a verbose mode of operation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040511 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050201 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050607 |