Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Develop and Deploy Multi-Tenant Web-delivered Solutions Using IBM Middleware: Part 6: Web service mediation proxy pattern for routing multiple tenant requests using WebSphere Business Services Fabric

Indrajit Poddar (ipoddar@us.ibm.com), Software Architect, IBM
Indrajit Poddar
Indrajit Poddar (IP) is a member of the Strategy, Technology, Architecture, and Incubation team at IBM Software Group Strategy, where he leads several integration PoCs for building composite business services delivered in the Software-as-a-Service (SaaS) model.
Devaprasad Nadgir (devaprasad@in.ibm.com), IBM Certified Senior IT Architect, IBM  
Nadgir
Devaprasad is a Certified Senior IT Architect and works out of India Software Lab, Bangalore. He is currently involved in Service Registry and Federated SOA Governance initiatives in IBM Software Group. His areas of interest also include Architectural Methods, Cloud Computing, Virtualization and Software-as-a-Service. Check out his blog where he shares some of his insights and technology trends.

Summary:  Part 1 of this series describes multi-tenancy and several technical challenges faced by service providers for deploying multi-tenant web-delivered solutions. In part 5, we presented a mediation approach for addressing this challenge and introduced three implementation options using multiple IBM middleware products. In this tutorial, we describe detailed implementation steps for one of those three options i.e. how to use WebSphere Business Services Fabric in the context of a example multi-tenant banking application scenario also introduced in part 5.

View more content in this series

Date:  27 Jul 2009
Level:  Intermediate PDF:  A4 and Letter (1182 KB | 50 pages)Get Adobe® Reader®

Activity:  9506 views
Comments:  

Before you start

About this tutorial

WebSphere Business Services Fabric (WBSF) offers the ability to dynamically select web service endpoints based on business policies. Business policies are defined using assertions on properties in the web service request. Assertions on similar properties are also associated with web service endpoints to describe the capabilities unique to that endpoint. The referenced article in the Resources section describes the dynamic endpoint selection capability in greater details. WBSF also offers the ability to extend its core ontology to define new assertions and web service context properties for the assertions to act on.

In this tutorial, we will demonstrate how to exploit the dynamic endpoint selection capability in WBSF to bind service requests from a tenant’s user to tenant specific endpoints. We will also show how to take advantage of the built in concepts of Organizations and users and the Subscriber Manager functions to offer tenant specific access control to multi-tenant services. Finally, we will show how to keep track of the invocations for each tenant through the built in Performance Manager functions.


Figure 1. Dynamic assembly of tenant specific business service endpoints with business policies based on a TenantID assertion
Dynamic assembly of tenant

In part 5, of this series a scenario and use case was described with Sam Peters as the service provider administrator for the Jivaro bank multi-tenant application. In this tutorial, we will show how Sam Peters can use WBSF to implement a mediation approach. Figure 1 describes the components of the WBSF implementation option. Sam Peters will use the following major steps in this implementation approach:

  1. Define a composite business service with routing policies
  2. Enroll tenants organizations and users to business services
  3. Monitor tenant specific service usage

Prerequisites

Sam Peters will use the following IBM development tools to enable multi-tenancy for his credit check Web service solution:

  • WebSphere Integration Developer (WID) v6.1
  • Rational Software Architect (RSA) v7.0.05
  • WebSphere Business Services Fabric Tool Pack (WBSF-TP) v6.1
  • WebSphere Business Services Fabric Modeling Tool – A plug-in for RSA v7 (WBSF-MT)
  • WebSphere Business Services Fabric Server – Foundation Pack – v6.1 (WBSF-FP)

In order to deploy multiple instances of the credit check Web service, the following software needs to be available:

  • WebSphere Process Server v6.1
  • WebSphere Portal Server v6
  • Tivoli Directory Server v6.0

The following prerequisite configuration is required (see Resources):

  • Web services implementation for Expo and S&R enterprises are deployed on the WebSphere Process Server. The ear files for these services are attached to the demo page. (Expo_SandR_ThirdParty_Credit_Score_Implementation_20080429.zip)
  • The Credit score portlet is deployed on a WebSphere Portal Server. The ear file for the portlet is attached to the demo page. (SaasCreditCheckPortlet31_14thmay.war)
  • Portal server is configured with websphere member manager and is integrated with LDAP. Please see the WebSphere Portal Server Info center for more information: http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp
  • LDAP is configured with multi-tenant directory structure for FirstBank N.A and Second Canada Bank. The LDIF files are attached to the demo page. (Tenant_Banks_LDAP_Structure.ldif)

1 of 8 | Next

Comments



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=414801
TutorialTitle=Develop and Deploy Multi-Tenant Web-delivered Solutions Using IBM Middleware: Part 6: Web service mediation proxy pattern for routing multiple tenant requests using WebSphere Business Services Fabric
publish-date=07272009
author1-email=ipoddar@us.ibm.com
author1-email-cc=
author2-email=devaprasad@in.ibm.com
author2-email-cc=

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).

Try IBM PureSystems. No charge.