This tool mentor describes how to create Functional Area Model content using IBM® Rational® Software Architect for WebSphere®
Software, Version 7.5.4 or later. This description assumes that the Rational Software Architect Service Solution
Design Model (the SoaML) template is being used.
In the template, create the Functional Area Model content under the Functional Areas Description package. The
location of this package can be seen, for example, in Tool Mentor: Create Candidate Services Source Elements
Create domains, functional areas, and business service interfaces
-
Create a new Business Domain/Functional Area structure in the model using the
<<BusinessDomain>> building block that can be found in the model template's
<<modelLibrary>> Service Design Building Blocks package.
-
Create additional Functional Areas under the Business Domain by using the <<Functional
Area>> sub-block that is under the <<BusinessDomain>> block. Copy
the portion of the model that begins with the <<Functional Area>> component, and paste
that under the appropriate <<BusinessDomain>> .
-
For each collection of cohesive business functions that you will assign to a Functional Area, create a new
<<BusinessService>> interface under the BusinessServices package in the model
template. Populate this Interface with the appropriate operations.
Assign interfaces to functional areas
Functional areas provide or require business services. These can be modeled using, for example, SoaML ServicePoints, RequestPoints, and ServiceInterfaces -- service-oriented modeling techniques can be used for business
modeling, as well as for IT service modeling. Approaches for doing this are described in the tool mentors that
accompany the Service Specification practice.
Conventional modeling of the Functional Area components and their interfaces can be performed as follows:
-
Create UML Ports by selecting the Functional Area component, right-clicking, and selecting
Add UML > Port. Create a Port for each of the following:
-
Each BusinessService that the Functional Area provides
-
Each BusinessService that the Functional Area requires
-
Upon Port creation, a dialog opens that provides the opportunity to type the Port with either a Class or an
Interface
-
If you know the Port will support only a provided interface, and this will be involved only in simple
request-response communication, type the Port with the appropriate BusinessService interface.
-
Otherwise, type the Port with a Class. It is fine to type the Port with a new Class that is
created "on the fly" by the tooling. If you do this, you most likely will need to rename the
Class and the Port so that the names are more meaningful.
-
You need to assign BusinessService interfaces to the Ports you typed with Classes. Do this as follows:
-
Select the Port, then select its Properties view
-
Using the Interfaces tab of the Properties view, assign provided and/or required interfaces.
Each Functional Area building block begins with two Ports, which you can use or delete as you desire. To type one
of these Ports, select the Port, then use the Select Type button on the General tab
of its Properties view to set its type. Rename the Port appropriately.
|