Service Layer and ESB Question

Hello,

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.
sachinb99Asked:
Who is Participating?
 
girionisConnect With a Mentor Commented:
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.
0
 
girionisCommented:
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.
0
 
sachinb99Author Commented:
Hello,

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?

SB
0
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.

All Courses

From novice to tech pro — start learning today.