SCA Feature Pack Samples

Overview

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. 

Experimentation

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.

Specifications

SCA specifications are hosted by the Open Service Oriented Architecture collaboration.

Basic Usage

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.

Ant Tasks

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 :

 

Install BLA

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>

Install Ear

Description: Installs Ear
Task: installEAR
Arguments:

Example:
<target name="exampleTarget"/>
  <antcall target="installEAR">
   <param name="source" value="${install.dir}/myEar.jar"/>
  </antcall>
</target>

Basic BLA commands using wsadmin

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.