IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Service Component Architecture programming > Service Component Definition Language

Module definition

SCA defines a standard deployment model for packaging components into a service module. The sca.module file contains the definition of the module.

An SCA module is not just another type of package. In IBM BPM, an SCA service module is equivalent to a Java™ EE EAR file and several other Java EE submodules. Java EE elements, such as a WAR file, can be packaged along with the SCA module.

Non-SCA artifacts (JSPs and others) can also be packaged together with an SCA service module. These artifacts can then invoke SCA services through the SCA client programming model using a special type of reference called a stand-alone reference.

Here is an example of an sca.module file:

<?xml version="1.0" encoding="UTF-8"?>
<scdl:module xmlns:scdl="http://www.ibm.com/xmlns/prod/websphere/scdl/7.0.0"
name="CreditApproval"/>

A module in IBM Integration Designer is associated with a SCDL module definition. You can view the module definition in an editor. In this example, the module type is a mediation module.

<?xml version="1.0" encoding="UTF-8"?>
<scdl:module xmlns:mt="http://www.ibm.com/xmlns/prod/websphere/scdl/moduletype/7.0.0"    
  xmlns:scdl="http://www.ibm.com/xmlns/prod/websphere/scdl/7.0.0"name="StockQuote">   
  <mt:moduleType type="com.ibm.ws.sca.scdl.moduletype.mediation" version="1.0.0"/>
</scdl:module>

Service Component Definition Language