This environment provides the ability to build, package, and install SCA sample applications in a single server configuration.
The WAS_HOME/samples/SCA environment relies upon ws_ant.bat|sh to
execute ant. Each sample directory provides a build.xml which defines appropiate
targets for that sample, to be used together with the specific README instructions
for each sample.
These samples are written to be used in conjunction with the specification and other documents. However, the most important function that these samples provide is a place to begin experimenting with the SCA API and programming model. Developers are encouraged to extend and experiment with the current set of samples.
SCA specifications are hosted by the Open Service Oriented Architecture collaboration.
Specific to your environment:
From any of the sample directories located under the WAS_HOME/samples/SCA :
Important Note:
The user should use ws_ant.bat|sh file located within a profile that was
created after the SCA Feature Pack was installed.
Throughout the samples a variety of custom ANT tasks are used for code generation or application installation. The following section provides a brief overview of these options and usage :
Description: Installs BLA ( jar
file packaging for service )
Task:createBLA
Arguments:
Example:
<target name="exampleTarget"/>
<antcall target="createBLA">
<param name="blaName"
value="myBLA"/>
<param name="source"
value="${install.dir}/myBLA.jar"/>
</antcall>
</target>
Description: Installs Ear
Task: installEAR
Arguments:
Example:
<target name="exampleTarget"/>
<antcall target="installEAR">
<param name="source"
value="${install.dir}/myEar.jar"/>
</antcall>
</target>
SCA services are packaged in jar files and can be installed as BLA jar files. This is typically done using wsadmin. The following is a simple set of example wsdadmin commands that can be used to manage BLA applications. Note three commands are required for the full installation and full deletion of the BLA.