Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

In SCA, applications are packaged in one or more contributions. Contributions can be a variety of formats. Fabric3 supports the following formats and can be extended to support others:

  • JAR archives
  • OSGi bundles
  • WAR archives
  • ZIP archives
  • XML documents 

JAR contributions

...

The Fabric3 Contribution Plugin

...

Contribution Imports and Exports

...

  • XML resource sharing
  • Java package sharing
  •  

In both cases, a resource (or set of resources) are exported by one contribution and imported by another. Imports and exports are specified in the contribution manifest file.

XML Resource Sharing

...

Java Package Sharing

...

Fabric3 and OSGi Classloading

...

OSGi Bundles

...

WAR Archives

...

Excluding Contribution Contents

Sometimes it is necessary to exclude contents of a contribution from being scanned. For example, generated XML files that contain invalid markup. Exclude patters can be specified using the <scan> element from the Fabric3 namespace in an sca-contribution.xml manifest with a REGEX pattern:
<contribution ....>
<f3:scan exclude=".*\.ds\.xml"/>
</contribution>This chapter covers application and runtime packaging, including best practices for preparing code for deployment.

Page Tree
root@self