D.7. サーバービュー
Server View は、JBoss Developer Studio 環境内でサーバーインスタンスとそれらのコンテンツを表示および管理する方法を提供します。Teiid Designer は JBoss Data Virtualization サーバーの一部としてインストールされるため、そのコンテンツも親の JBoss の一部として表示されます。
Server View を表示するには、Window > Show View > Other... とクリックし、Show View ダイアログを表示します。Server > Servers と選択し、OK をクリックします。
図D.9 サーバービュー
Teiid インスタンスを作成するには、以下を行います。
- Server View で New... を選択すると、JBoss Data Virtulization Server ウィザードが起動されます。JBoss Data Virtualization Server インスタンスを Teiid がインストールされた状態で設定すると、Teiid サーバーへの接続が可能になります。
- New Server ウィザードで、JBoss Enterprise Middleware カテゴリー下にあるJBoss Enterprise Application Platform サーバータイプを選択し、Next > をクリックします。
図D.10 New Server ダイアログ
- JBoss Runtime のページで上部の Browse... ボタンをクリックし、JBoss Enterprise Application Platform サーバーのインストールフォルダーを選択します。
図D.11 JBoss Runtime の定義
- 下部の Browse... ボタンをクリックし、ファイルシステムの EAP_HOME/standalone/configuration/ フォルダー下にある
standalone.xml設定ファイルを選択します。Finish をクリックします。図D.12 Teiid 設定ファイルの選択
- 新しい JBoss Data Virtualization サーバー設定が JBoss / Teiid Editor で開かれ、表示されます。このエディターでは、Teiid 管理と JDBC 接続の両方をテストできます。
図D.13 Teiid Editor
このビューで使用できるアクションは次のとおりです
Teiid Server Properties - View and edit properties of an existing Teiid instance.
Reconnect - Reconnect and refresh contents of the selected Teiid instance.
Execute VDB - Creates a JDBC Teiid connection profile and opens the Data Tools Database Development perspective.
Undeploy VDB - Removes the selected VDB from the Teiid instance.
Create Data Source - Launches the New Data Source wizard.
Delete Data Source - Removes the selected Data Source from the Teiid instance.
注記
サーバーが起動すると、Server ビューに稼働している Teiid サーバーのデータソース、トランスレーター、および VDB コンテンツが表示されます。
図D.14 Server ビューの Teiid コンテンツ