• Post Reply Bookmark Topic Watch Topic
  • New Topic

Business Delegator a MUST vor service to service communication?  RSS feed

 
chuan ito
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that it's a strange question...

Usually it's a best practice to give clients the possibility to access services through Business Delegate that hides the complexity of the service/method invocations behind...

But how is it for inter-service communication? What is the best practices to let one service invoke another one?

Should that be done also over a Business Delegate to function like a controller, which gives a controlled access from one service to another or is it a good practice to just let one service directly invoke another one?

Thanks in advance for your help :-)
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I understand your question correctly your interested in inter-service communication patterns. There is an excellent book written on this topic : Enterprise Integration Patterns It's quite a good read.
 
chuan ito
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hiho,

Thanks for your answer but this book is more about messaging :-/ Im not talking about web services etc. consuming each other etc...

Im talking about the service layer in general. A Web Service could act as a facade to such a layer etc...

Im really talking about the service classes that need some functionality from another service class...

e.g A Contract service that needs some user information. The user is submitted through the user and now i have to assemble the contract according to some configuration setting.

Usually different service domains are needed for such an information structure.
 
chuan ito
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any further inputs on this?
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. I can answer your question from different point of views.
But hopefully I can provide you some guidance.
* internal inter-service communication : use a business delegate
* external inter-service communication : use an orchestration engine
[ August 07, 2008: Message edited by: Arnold Reuser ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!