908 WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile
25.3 Packaging an SCA application for deployment
Figure 25-7 shows the files that are contained in the sample SCA application package, as
shown in the Enterprise Explorer view in IBM Rational Application Developer.
Figure 25-7 SCA application package
The composites are created by the developer as part of the application development process.
The developer adds components to the composite, writes the implementation code for the
components, and adds the interface files. These development activities are independent of
deployment activities. The contribution file is related to packaging for deployment and must be
created to deploy the application.
Tip: SCA applications are displayed in the Enterprise Explorer view of the IBM Rational
Application Developer with features in a manner that makes working with the components
easy. The SCA Content section (highlighted in Figure 25-7) contains entries for the
contributions and composites, making them easily visible and selectable to open for
editing. This is simply a structural view of the files. The SCA contribution file, SCA
composite, and SCA composite diagram files (all located beneath the META-INF folder in
Figure 25-7) are not normally visible as raw files.
We changed the view properties for the Enterprise Explorer view to show them to you in
this format. So, you see these files twice, once by file name and once as an element under
the SCA Content folder. Double-clicking SCA 1.0 Content Contributions
sca-contribution opens the same file that opens if you double-clicked META-INF
sca-contribution.xml. The same is true for the composite.
To use these settings, click the View menu. Click Customize view. Click the Filter tab, and
clear SCA 1.0 resources.
Implementation file
SCA contribution file
SCA composite file
Interface file
View menu
Chapter 25. Working with SCA applications 909
You can see the composite and components in Figure 25-8. Selecting any of the components
in the composite shows the properties in the lower window. In Figure 25-8, the
AtomFeedFetcher component is selected, and in the properties window, you can see the
implementation class listed.
Figure 25-8 SupportFeeds composite
25.3.1 Creating the contribution
Before you can export the project for deployment, you need to create the contribution file. This
is a simple process using the IBM Rational Application Developer.
910 WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile
Complete the following steps to create the contribution file:
1. In the Enterprise Explorer, expand SCA 1.0 Content. Right-click Contributions, and click
New SCA 1.0 Contribution. (Figure 25-9).
Figure 25-9 Contribution file creation
2. In the New Contribution Wizard window, select the composites to be deployed
(Figure 25-10), and click Finish.
Figure 25-10 Add composites to the contribution
Chapter 25. Working with SCA applications 911
25.3.2 Exporting the SCA application for deployment
To export the contribution as an SCA archive file:
1. Right-click the project, and select Export, as shown in Figure 25-11.
Figure 25-11 Exporting an SCA application
2. In the Export dialog box, select Service Component Architecture 1.0 SCA Archive
File, as shown in Figure 25-12 and then click Next.
Figure 25-12 Selecting the archive file

Get WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.