Part 2: Working with Integration Designer
Bring up Integration Designer to implement an SCA-based Plain Old Java Object (POJO) service that will be used by the second of the three activities in TopDown1Bpd.
- Launch Integration Designer.
- In the Workspace Launcher window, enter a workspace name, such as
C:\IBM\workspaces\TopDown(Figure 20).
Figure 20. Selecting a workspace
- Click OK.
Note: Do not check the box that says “Use this as the default and do not ask again”.
- You are asked for the Process Center connection details:
- Enter the Process Center URL as
http://<SERVER_NAME>:<PORT_NUMBER>/ProcessCenter, as shown in Figure 18. - Enter the appropriate credentials, such as
tw_admin/tw_admin. - Click Login (Figure 21).
Figure 21. Process Center login
- If a Getting Started welcome screen is displayed, close it.
- You are now in the Process Center perspective.
Note: In case you are taken to the Business Integration perspective, which is the default perspective in the Integration Designer, click the tab on the top right to open the Process Center perspective. You can also get to that perspective by selecting Windows > Open Perspective > Process Center.
- Enter the Process Center URL as
- Once you are in the Process Center screen, open the Top
Down 1 Process Application in the Integration
Designer workspace by clicking Open in workspace.
- Notice the subtle difference between the Process Center
screens. In Process Designer, the menu option reads "Open
in designer", whereas in Integration Designer, the menu
option reads "Open in workspace" (see Figure 22).
Figure 22. Process app listed in Process Center perspective
Note: The Process Center, which is the common repository, is accessible via Process Designer as well as Integration Designer.
- Select Top Down 1 in the Open Process
Applications pop-up window and click OK,
as shown in Figure 23.
Figure 23. Process apps to be opened in the workspace
- Notice the subtle difference between the Process Center
screens. In Process Designer, the menu option reads "Open
in designer", whereas in Integration Designer, the menu
option reads "Open in workspace" (see Figure 22).
- It takes some time for the Process Application information to be populated and built in Integration Designer. Watch the little status bar at the bottom right of the tool.
After everything is loaded, let's explore the creation and deployment of a Service Component Architecture (SCA) service.
- In the Business Integration perspective, navigate down to Top Down 1 > Advanced Integration Services.
- Right-mouse click on sca service and choose
Implement as shown in Figure 24.
Figure 24. Context menu in Integration Designer
- From the four choices for implementation type, select Java
component (Figure 25) and click
Finish.
Figure 25. Implementation types
- The Java™ implementation window is displayed.
In another tab, the Assembly diagram is updated. If you browse it, you see that there are two components wired together: scaservice is an import component that is wired to the reference of the Java component named
scaservice_JavaImplementation.Note: The tooling generates most of the Java code for you.
- Go back to the Java implementation tab. Scroll to
the bottom and implement the invoke method.
Similar to what you did in Process Designer, you added println
(see Listing 3). The output shows up on the log and returns a new
string.
Listing 3. Java implementation codepublic String invoke(String data) { System.out.println("BU: sca service "+data); data = "hi dad"; return data;
- Press Ctrl+S to save the edits and then close the Java editor.
The service, although a simple println statement, has been implemented. At this time, the updates only exist in the Integration Designer workspace. You need to update the Process Center with these code changes.
Publishing to the Process Center
- Still in the Business Integration perspective, right-mouse click
on the project folder, Top Down 1 Main, and
choose Refresh and Publish (Figure 26). Watch the
little status bar at the bottom right of the tool to make sure all
the artifacts get updated.
Figure 26. Context menu in Integration Designer to sync up with Process Center
- Choose Yes, if prompted to close the editors.
You may minimize the Integration Designer for now. Next, you will run the process using Process Designer.






