Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 13. Putting it all together by e... > Application bundles and their contai...

13.1. Application bundles and their containers

As you’ve seen in the previous chapters, a common pattern for enabling a bundle with a new feature is to annotate the bundle’s manifest file. For example, to enable a bundle to persist its Java classes, you can add the Meta-Persistence header entry to its MANIFEST.MF file. The following table summarizes some of the standard manifest header entries used to create feature-specific powered bundles, or, perhaps a bit more colorful, bundle flavors.

Application bundles

Table 13.1 lists just a few examples of the different flavors of bundles that exist. Some of them have been discussed in previous chapters, but some of them are out of the scope of this book and aren’t discussed; they’ve been included here for completeness.

Table 13.1. Flavored bundles
NameDescriptionManifest header
WABWeb application bundleWeb-ContextPath
Persistence bundleBundle with persistence unitsMeta-Persistence
SCA config bundleBundle with SCA configurationSCA-Configuration
Component bundleBundle with declarative componentsService-Component
Blueprint bundleBundle with Blueprint componentsBundle-Blueprint
Endpoint bundleBundle with endpoint descriptionsRemote-Service

New flavors are being created constantly. For instance, there’s currently work on a resource adapter bundle (RAB), which contains configuration for Java EE connector-enabled resources.


You are currently reading a PREVIEW of this book.


Get instant access to over $1 million worth of books and videos.


Start a Free 10-Day Trial

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint