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

D.1.1 サンプルプログラムの種別

  以下に、サンプルプログラムの種別と格納されているフォルダ、ディレクトリを示します。

種別

フォルダ  (注1)

言語

静的インタフェース

各種データ型

%OD_SAMPLES%\complex\samplelist.C\data\*
%OD_SAMPLES%\complex\samplelist.C++\data\*
%OD_SAMPLES%\complex\samplelist.Java\data\*
%OD_SAMPLES%\complex\samplelist.COBOL\data\*

C
C++
Java
COBOL

四則演算

%OD_SAMPLES%\CalcSample\c_s, c_c
%OD_SAMPLES%\CalcSample\c++_s, c++_c
%OD_SAMPLES%\CalcSample\COBOL
%OD_SAMPLES%\CalcSample\java

C
C++
COBOL
Java

動的起動インタフェース

基本

%OD_SAMPLES%\complex\samplelist.C\dii\*
%OD_SAMPLES%\complex\samplelist.C++\dii\*

C
C++

四則演算

%OD_SAMPLES%\CalcSample\c_dii
%OD_SAMPLES%\CalcSample\c++_dii

C
C++

ネーミングサービス

%OD_SAMPLES%\complex\samplelist.C\naming\*
%OD_SAMPLES%\complex\samplelist.C++\naming\*

C
C++

インタフェースリポジトリ

%OD_SAMPLES%\irsample\*

C, C++
COBOL

POAインタフェース

%OD_SAMPLES%\POA\C++
%OD_SAMPLES%\POA\java_1_4

C++
Java

各種API

%OD_SAMPLES%\complex\samplelist.C\api\*
%OD_SAMPLES%\complex\samplelist.C++\api\*
%OD_SAMPLES%\complex\samplelist.Java\api\*

C
C++
Java

プロセスバインド

%OD_SAMPLES%\complex\samplelist.C++\ssn\*

C++

Portable-ORB

各種データ型

%OD_SAMPLES%\complex\samplelist.Java\data\*

Java

POAインタフェース

%OD_SAMPLES%\POA\java_1_4\*

Java

四則演算

%PORB_SAMPLES%\CalcSample\java

Java

各種API

%OD_SAMPLES%\complex\samplelist.Java\api\*

Java

その他

%OD_SAMPLES%\simple_s, simple_c
%OD_SAMPLES%\simple_cpp_s, simple_cpp_c
%OD_SAMPLES%\java

C
C++
Java

注1)
  ここで使用している環境変数は以下のとおりです。なお、Interstageのインストールフォルダはデフォルトです。

環境変数

OD_SAMPLES

C:\Interstage\ODWIN\src\sample

PORB_SAMPLES

C:\Interstage\Porb\src\samples

  

種別

ディレクトリ  (注1)

言語

静的インタフェース

各種データ型
(スレッドモード用)

$OD_SAMPLES/complex/samplelist.C/data/*
$OD_SAMPLES/complex/samplelist.C++/data/*
$OD_SAMPLES/complex/samplelist.Java/data/*
$OD_SAMPLES/complex/samplelist.C/data_win/*  (2)

C
C++
Java
C

各種データ型
(プロセスモード用)

$OD_SAMPLES/complex/samplelist.C_nt/data/*
$OD_SAMPLES/complex/samplelist.C++_nt/data/*
$OD_SAMPLES/complex/samplelist.COBOL/data/*

C
C++
COBOL

四則演算

$OD_SAMPLES/CalcSample/c
$OD_SAMPLES/CalcSample/c++
$OD_SAMPLES/CalcSample/COBOL
$OD_SAMPLES/CalcSample/java  (2)

C
C++
COBOL
Java

動的起動インタフェース

基本
(スレッドモード用)

$OD_SAMPLES/complex/samplelist.C/dii/*
$OD_SAMPLES/complex/samplelist.C++/dii/*

C
C++

基本
(プロセスモード用)

$OD_SAMPLES/complex/samplelist.C_nt/dii/*
$OD_SAMPLES/complex/samplelist.C++_nt/dii/*

C
C++

四則演算

$OD_SAMPLES/CalcSample/c_dii
$OD_SAMPLES/CalcSample/c++_dii

C
C++

ネーミングサービス

$OD_SAMPLES/complex/samplelist.C/naming/*
$OD_SAMPLES/complex/samplelist.C++/naming/*

C
C++

インタフェースリポジトリ

$OD_SAMPLES/irsample/*

C, C++
COBOL

POAインタフェース

$OD_SAMPLES/POA/C++/*
$OD_SAMPLES/POA/java_1_4/*

C++
Java

プロセスバインド

$OD_SAMPLES/complex/samplelist.C++/ssn/*

C++

各種API

スレッドモード用

$OD_SAMPLES/complex/samplelist.C/api/*
$OD_SAMPLES/complex/samplelist.C++/api/*
$OD_SAMPLES/complex/samplelist.Java/api/*

C
C++
Java

プロセスモード用

$OD_SAMPLES/complex/samplelist.C_nt/api/*
$OD_SAMPLES/complex/samplelist.C++_nt/api/*

C
C++

Portable-ORB

各種データ型

$OD_SAMPLES/complex/samplelist.Java/data/*

Java

POAインタフェース

$OD_SAMPLES/POA/java_1_4/*

Java

四則演算

$PORB_SAMPLES/CalcSample/java

Java

各種API

$OD_SAMPLES/complex/samplelist.Java/API/*

Java

その他

スレッドモード用

$OD_SAMPLES/simple
$OD_SAMPLES/simple_cpp
$OD_SAMPLES/java  (2)

C
C++
Java

プロセスモード用

$OD_SAMPLES/complex/samplelist.C_nt/simple
$OD_SAMPLES/complex/samplelist.C++_nt/simple_cpp

C
C++

soライブラリ化

$OD_SAMPLES/simple_so
$OD_SAMPLES/simple_cpp_so

C
C++

注1)
  ここで使用している環境変数は以下のとおりです。なお、Interstageのインストールパスはデフォルトです。

環境変数

備考

OD_SAMPLES

/opt/FSUNod/src/samples

/opt/FJSVod/src/samples

PORB_SAMPLES

/opt/FJSVporb/src/samples

  

2)
  Windows(R)クライアント用のサンプルです。