Service Layer and ESB Question

Posted on 2013-12-12
Medium Priority
Last Modified: 2014-02-17

We are developing a web application for different customers which can access middleware services of different customers to make transactions.

Top layer will be presentation layer
Middle layer will be service configuration layer where middlware services exposed from tuxedo or java services can be configured for different customers and their applications.

Can anybody give any idea how this middle layer can be developed where a service call from presentation layer is configured to call specific service from customers middleware service layer.

If such article exists on internet please let me know.

Thanks in advance.
Question by:sachinb99
  • 2
LVL 36

Expert Comment

ID: 39716050
You will have different services for different clients. Lets say that you have three clients, IBM, Google and Microsoft, then you can have three different services for each one of them. GoogleService which Google will call, IBMService for IBM and MicrosoftService for Microsoft.

The other solution is to have a centralised service and ask each of your clients to provide a token of authorisation, so you know who calls the service. Then upon receiving this token you identify the caller and act accordingly.

Author Comment

ID: 39716619

Thanks for your reply, I will just clarify my question.
The services are on customer side. We are developing a common web interface. This interface will call customer services based on the login credentials.  What I need a architectural example of developing such a layer where I can configure different services in a one layer and the business logic decides which service to call?

LVL 36

Accepted Solution

girionis earned 1000 total points
ID: 39725858
What you essentially need is the service locator pattern, where you have a central registry (the service locator), which locates the services and then redirects you to the one you need.

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question