例: 数値計算のプロパティー・ファイル
サンプル・ファイル WSGrid.ci.job には、SimpleCI 数値計算ジョブの 単一ステップの定義に必要なプロパティーが示されています。
# Specify name by which this job is known job-name=SimpleCIEar
# Note, if not specified application-name defaults to job-name.
# This is the jndi name of the Compute Intensive Controller system SLSB.
controller-jndi-name=ejb/com/ibm/ws/ci/SimpleCIEJB
# This is the name of the compute intensive POJO class that implements the
# business logic
ci-class-name=com.ibm.websphere.ci.samples.SimpleCIWork
# The following properties are passed to SimpleCIWork
prop.calculationTimeInSecs=30
prop.outputFileName=/temp/ci.out
上記のプロパティー・ファイルで記述されているジョブをサブミットする WSGrid 呼び出しは、次のとおりです。
WSGrid WGrid.cntl WSGrid.ci.job