Skip to main content

Use WebSphere Business Services Fabric v6.1 to Build Composite Business Services: Part 2: Business analysis and component business services scenario

Jing Feng Zhang (zjfeng@cn.ibm.com), Software Engineer, IBM
Jing Feng Zhang
Jing Feng is a member of IBM GBSC, and focuses on issues of J2EE, SOA solutions, EAI, and BPM.
Peng Tang (tangpcdl@cn.ibm.com), Software Engineer, IBM
Peng Tang
Peng Tang is a software engineer from Global Business Solution Center, IBM, where he is currently building CBE (Common Business Enabler) to enhance the common business service usage among different industrial sectors.
Lei Zhang (zzhangl@cn.ibm.com), Associate I/T Architect, IBM
Lei Zhang
Lei Zhang is the lead architect of Road User Charging (RUC) solution of Intelligent Transportation System (ITS) in government industry from Global Business Solution Center. WBSF is one of the important products in GBSC solution stack as part of SOA fundamental. Especially, in the 2007, Lei led a team to join the WBSF V6.1 BETA program, and verified the WBSF 6.1 is much valuable in the government solution development.
Yan Jun Mo (moyanjun@cn.ibm.com), Software Engineer, IBM
Yan Jun Mo
Yan Jun Mo is a software engineer from Global Business Solution Center, IBM, where he is currently building SOA-based business solutions for the government industry.
Wei Wang (wsdl@cn.ibm.com), Software Engineer, IBM
Wei Wang
Wei Wang is a software engineer from Global Business Service Center, IBM. Currently he is building SOA-based business solutions for the government industry.

Summary:  In Part 1 of this series, we gave an overview of, and described the new features in WebSphere Business Services Fabric (WBSF), v6.1. Now this article will introduce a small business case study to show the business problem, analyze the business requirements, and finally to provide a solution based on WBSF.

View more content in this series

Date:  10 Mar 2009
Level:  Intermediate PDF:  A4 and Letter (24KB | 6 pages)Get Adobe® Reader®
Activity:  2845 views

Scenario introduction: Visa application

As most people know, when traveling abroad, you are required to have a passport, or Visa, to gain entry into another country. The first step in the process of obtaining a Visa is to submit the proper forms to the correct agency. At that point, there is some time the submitter must wait before getting the verification result of the information submitted. In this step, the embassy to which he submits the paperwork will choose a service provider, whose job it is to process the verification. If the information submitted is actual and eligible, the Visa is approved.

Let’s suppose that, by way of an example, Embassy ABC typically deals with the three types of Visas: Tourist, Business and Student. The Tourist Visa requires the greatest urgency and has to be dealt with in the shortest amount of time, the Student Visa has the least amount of urgency and can be dealt with in the longest period of time, and the Business Visa is somewhere in the middle.

For our scenario, let’s say there are four service providers who can provide the information verification services. They are: HUG, OMMK, ABQ and UY. The main difference among them is that their response time and costs are all different.

Problem statement

The four providers (HUG, OMMK, ABQ and UY) can provide services with different response time and cost, but no one single provider stands out as the best choice for meeting our needs for all the 3 types (Tourist, Business and Student) of Visa applications, because the response time and cost should be balanced (the customer hopes to get response as soon as possible but spend as little as possible).

Furthermore, the conditions may be changed as according to these variables:

  • Response time of some provider changes
  • Cost of some provider changes
  • A new provider joins
  • An existing provider quits

Among the players in the scenario are the embassies that grant and accept Visas. So the main pain point of the embassies is how to choose the most cost-effective service dynamically for a particular service request.

On the other hand, Embassy ABC also wants to know:

  • The ratio of successful invocations per provider
  • Total cost in a given period of time
  • Average response time
  • Proportion of service providers by invocation

Business analysis

In this section we will analyze the business case and problem in detail.

Response time requirements

The response time requirements of all types of Visa application are shown below:


Table 1. Response time requirements
Visa typeRequired response time
Tourist< 10 days
Business< 15 days
Student< 20 days

Existing services

The four existing service providers will deliver service in different time periods, and at different costs:


Table 2. Provider time and cost
ProviderService max response timeService cost
HUG5 days$20 per transaction
OMMK12 days$10 per transaction
ABQ17 days$8 per transaction
UY18 days$5 per transaction

HUG can provide the most efficient service, but its cost are the highest. UY can provide the cheapest service, but it has the lowest efficiency. OMMK and ABQ can provide the information verification service too, and their efficiency and cost are in the middle of HUG and UY.

Principles

According to the response time requirement and cost-efficient requirement, the principles shown below need to be followed in choosing the service provider for each application request.


Table 3. Principles
NumberConditionRequirementPriority
1Visa type = TouristResponse time < 10 daysHigh
2Visa type = BusinessResponse time < 15 daysHigh
3Visa type = StudentResponse time < 20 daysHigh
4N/AMinimize costLow

In this table, a principle is a kind of service selection rule and every principle is independent. Once receiving a request, a principle is valid only when its condition is satisfied. When a principle is valid, the requirement of the principle must be satisfied. If multiple principles are satisfied, they will take effect by the “Priority” in the table.

There are 3 high-priority principles in the table according to the response time requirements. The first principle will be valid when Visa Type is Tourist; then the verification must be finished in 10 days. The second will be valid when Visa Type is Business; then it is required to be finished in 15 days. When the Visa Type is Student, the third one will be valid and the service must respond within 20 days.

Another requirement needs to be satisfied to pick out the lowest cost one from all the providers with satisfied response time. It forms the fourth principle in the table.

Expected result

According to the requirements and principles, the provider is based on the Visa type, as shown below:


Table 4. Provider choice
NumberVisa typeChosen provider
1TouristHUG
2BusinessOMMK
3StudentUY

Let’s break this down:

  • If the Visa Type is Tourist, the required response time will be less than 10 days, then only HUG can provide the service in this timeframe, so we have to choose it even it’s a little expensive.
  • If the Visa Type is Business, the verification needs to be done in 15 days. Then both HUG and OMMK can do that. But OMMK is less expensive, so the chosen provider should be OMMK.
  • If the Visa Type is Student, the service needs to be finished in 20 days and now the 4 providers all can do that. The cheapest provider is UY and it should be chosen.

As listed in the table above, the provider ABQ has never been chosen, which is an indication of it’s pricing – it is the most expensive. If ABQ could improve its efficiency or reduce its cost, it would have the chance to be used.

Solution: Adopt WBSF

To satisfy the requirements and fix the business problem, a variety of solutions can be used.

Hard coding is a typical choice. However, once the service response time or cost change, modifying, re-compiling the source code, and re-deploying the application can not be avoided.

Using a Rule Engine is also a good choice. It can choose the right service provider with predefined rules.

Adopting IBM WebSphere Business Services Fabric (WBSF). WBSF provides an end-to-end platform for the rapid assembly, delivery, and governance of industry focused composite business services based on an SOA foundation, and is a better choice here, because the concepts of WBSF match the business very well, as we see in this table:


Table 5. Using WBSF
Business conceptWBSF element
Visa Information Verification ServiceBusiness Services
Service ProvidersEndpoints
Response time and costEndpoint Assertion
PrinciplesPolicies

WBSF can choose the most suitable provider by policies for every request and also provides these valuable features:

  • A Business Service in WBSF can be mapped to the Visa Information Verification Service.
  • A New Endpoint can be registered into, or be removed from, WBSF easily when new service provider joins or quits.
  • The response time or cost of a provider can be updated by changing the Endpoint Assertion at runtime.
  • Policies can be modified, added or deleted dynamically for response time requirements changing, adding or reducing Visa types.

In the following two articles in this series, we’ll cover the solution in more detail and show how it can be implemented.

Summary

In this article, we demonstrated how a business case is analyzed and a solution of using WBSF is discovered based on analysis of changing service conditions (e.g. cost, service providers, service qualities, etc.). In next article, the implementation of the solution will be introduced in detail.


Resources

About the authors

Jing Feng Zhang

Jing Feng is a member of IBM GBSC, and focuses on issues of J2EE, SOA solutions, EAI, and BPM.

Peng Tang

Peng Tang is a software engineer from Global Business Solution Center, IBM, where he is currently building CBE (Common Business Enabler) to enhance the common business service usage among different industrial sectors.

Lei Zhang

Lei Zhang is the lead architect of Road User Charging (RUC) solution of Intelligent Transportation System (ITS) in government industry from Global Business Solution Center. WBSF is one of the important products in GBSC solution stack as part of SOA fundamental. Especially, in the 2007, Lei led a team to join the WBSF V6.1 BETA program, and verified the WBSF 6.1 is much valuable in the government solution development.

Yan Jun Mo

Yan Jun Mo is a software engineer from Global Business Solution Center, IBM, where he is currently building SOA-based business solutions for the government industry.

Wei Wang

Wei Wang is a software engineer from Global Business Service Center, IBM. Currently he is building SOA-based business solutions for the government industry.

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=SOA and Web services, WebSphere
ArticleID=374874
ArticleTitle=Use WebSphere Business Services Fabric v6.1 to Build Composite Business Services: Part 2: Business analysis and component business services scenario
publish-date=03102009
author1-email=zjfeng@cn.ibm.com
author1-email-cc=
author2-email=tangpcdl@cn.ibm.com
author2-email-cc=
author3-email=zzhangl@cn.ibm.com
author3-email-cc=
author4-email=moyanjun@cn.ibm.com
author4-email-cc=
author5-email=wsdl@cn.ibm.com
author5-email-cc=

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers