ページの先頭行へ戻る
Interstage Application Server アプリケーション作成ガイド(CORBAサービス編)
Interstage

6.1.6 サーバアプリケーションの登録

OD_impl_instコマンドを使用して、インプリメンテーションリポジトリにサーバアプリケーション情報を登録します。
また、ネーミングサービスにサーバアプリケーションのオブジェクトリファレンスを登録する場合は、OD_or_admコマンドを使用します。

OD_impl_instコマンド実行例

OD_impl_inst -ax def

defファイルの内容

rep_id                    = IDL:ODdemo/calculator:1.0
type                      = persistent
IDL:ODdemo/calculator:1.0 = ./libODDEMO-CALCULATOR.so
mode                      = SYNC_END

OD_or_admコマンド実行例

OD_or_adm -c IDL:ODdemo/calculator:1.0 -n ODdemo::calculator