示例:计算密集型属性文件
示例文件 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