Monday, September 28, 2009

GS-IBM Business Services Tool Pack

Installation
Websphere Business Services Fabric v612
Contact us...

Getting Started with the IBM Business Services Tool pack

The IBM® Business Services Tool Pack (referred to as the Tool Pack) provides a complete development environment for building and testing business services. Tool Packs consists of the tooling necessary to build business services and the runtime environment (Fabric Unit Test Environment contains all the components of the Foundation pack) for deploying and testing your business services.  

To help you get started with your Tool Pack environment, this section describes how to complete the following activities.
  1. Configure and Start the Fabric Unit Test Environment.
  2. Sign on to the Fabric Administrative Console.
  3. Create team/users
  4. Create a Fabric Project in the Fabric Administrative Console (Governance Manager)
  5. Create a Fabric Project in the Business Services perspective (Composition Studio)

Configure and Start the Fabric Unit Test Environment

Before you can build a business service with Fabric, you must first start WebSphere® Integration Developer and set up an environment to allow the Fabric server to be used as the test environment. The Fabric server is a WebSphere Process Server instance with a profile that is configured and loaded with the Foundation Pack components. The profile is located at: <WIDHOME>\pf\WBSFabric\.
  1. Start WebSphere Integration Developer.
  2. When prompted, enter a location for your Workspace as shown in the following image. As an option, you can accept the default location ().
  3. The Welcome page opens.  Close it.
  4. In the Servers tab, double-click on the WebSphere Business Services Fabric Server name to open the configuration editor ().The Fabric Unit Test environment is a secured administrative console that requires an username and a password. In the Security setting shown in the following image, enter admin as the user id and admin as the password ().
  5. Save these settings and close the configuration editor.
  6. Start the Fabric UTE (in the Servers tab, right-click on the Fabric  server and select Start ().
    The message Server server1 open for e-business indicates that the server started successfully.

Sign on to the Fabric Administrative Console

Once your Fabric Unit Test Environment server has been configured and has finished starting, the next step is to login to the Fabric Administrative Console by using the following steps.
  1. Open a browser and go to http://localhost:9082/fabric().The default port of your Fabric Unit Test Environment administrative console is 9080.
    Note: If you already have instances of the WebSphere® Application Server or the WebSphere Process Server running on your machine, the port number will be something other than 9080.  The port number of your Fabric Administrative Console is in a file called AboutThisProfile.txt () located at WIDHOME>pf\WBSFabric\logs ().
  2. Login with the default user name and password. UserName: "admin" Password: "admin"
  3. All administrative console functionality in WebSphere Business Services Fabric is modeled as a set of business services. 

Create a Team

All projects are associated with a team. To staff a project you have to create a team organization by using the Create Teams feature, add user-accounts to the team and then associate its team members to a particular project. Only users on the team can access a given project in IBM Business Services Composition Studio.

In the Fabric Administrative console, do the following:
  1. Select Governance Manager\Manage Teams\Create A Team().
  2. Enter required data(*) and other data and click Save button().
  3. A new team is created().

Assign Users

After creating a team, add user-accounts to it and then associate its team members to a particular project. Only users on the team can access a given project in IBM Business Services Composition Studio.

In the Fabric Administrative console, do the following:
  1. Select Governance Manager\Manage Team.  Click on the team that you just created (i.e Ccambil Team, ).
  2. Select a user(i.e admin,admin(admin) from the list of Available Users and click the right-arrow().

Create a Fabric Project in the Fabric Administrative Console

Before you can define business service metadata, you must define a Fabric Project by using the Fabric Administrative Console.

Conceptually, a Fabric Project serves the same purpose that a SCA module project does in the WebSphere® Integration Developer. A Fabric Project is used to group all the metadata related to your business service that can be exported and shared with other developers. Within a Fabric Project, you can use namespaces for grouping and organizing objects in the business services model and assign access rights to those objects. A Fabric Project provides scope across all project metadata, a system to institute safeguards, and provisions to exchange and ratify metadata changes.

In the Fabric Administrative console, do the following:
  1. Select Governance Manager\Configure Projects\Create a Project().
  2. Enter the following information and then click Create Project():
    1. Project Name:
      "HelloWorld"
    2. Project Type:
      "Business Service"
    3. Team:
      "Ccambil Team" This is the team that owns this Fabric Project. All users belonging to this project will have the ability to make metadata changes.
  3. After creating a Fabric Project, the next step is to create a namespace where the business services Templates will reside within that Fabric Project. 
  4. Select the Namespaces tab and click on Create a Namespace().
    In Fabric, a namespace groups a set of related objects in the Business Services model. A Fabric Project can consist of one or more namespaces. All objects in the Business Service model belong to a namespace. Each namespace is identified by a uniform resource identifier (URI). Conceptually, a namespace is similar to the package construct in the Java™ programming language that is used to group a set of related classes.
  5. Enter the following information and then click Create Namespace().
    1. Display Name: 
      "HelloWorld Namespace"
    2. Namespace Type: 
      "Instance"
    3. Namespace URI: 
      "http://helloworldns#"

Create a Fabric Project in the Business Services perspective

The final step in defining your business services template (metadata) is to create a Fabric Project in the Business Service perspective of WebSphere® Integration Developer.


This Fabric project is a local replica of the one created in the Fabric Administrative Console in the previous section.


Note: Before you create the Fabric Project in the Business Services perspective, make sure that your Fabric unit test environment (UTE) server is started and running.
  1. In WebSphere Integration Developer, switch to the Business Service perspective (Select Windows\Open Perspective\Other().Then select the Business Service perspective().
  2. Navigate to File > New > Project(). Select Business Services Fabric > Fabric Project().
  3. Enter HelloWorld as the Project Name and click Next().
  4. Click Update Project().  When the Fabric UTE is running, go to 6, else go to 5.
  5. When you see this connection window(), it means you forgot to start the Fabric UTE.  Cancel and start the Fabric UTE.
  6. Project is being replicated().
  7. Click Next to proceed and select a Fabric Project (i.e HelloWorld which is the project you created in Fabric Admin Console,) and click Finish.
  8. A new composition studio project is created().

Related links

 


















 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 




No comments:

Post a Comment