Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This picture has been further complicated by the drive toward greater modularity and designing applications as loosely coupled services. Packaging applications as a single archive, while simple, does not lend itself well to modularity. Fabric3 addresses these requirements by providing a Maven plugin for assembling a custom runtime image including application modules as part of an automated build. The produced image can then be integrated into a deployment setup managed by IT automation software. The following illustrates a typical (and recommended) Fabric3 delivery model:

        

Instead of packaging an application separately from the server image, the Fabric3 Assembly Plugin allows you to define a runtime image including a set of contributions that contain application services. The runtime image can be customized to contain only extensions required for the application as well as custom configuration. After the runtime image is built, it can be released to a repository and further integrated with a deployment system such as Chef or Puppet. 

The next section describes how to use the Fabric3 Maven Assembly Plugin.