The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Service Oriented Architecture - Dividing your services

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Avery

Posts: 1206
Nickname: james615
Registered: Sep, 2003

James Avery is a .NET pimp
Service Oriented Architecture - Dividing your services Posted: Mar 11, 2004 8:05 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by James Avery.
Original Post: Service Oriented Architecture - Dividing your services
Feed Title: .Avery Blog
Feed URL: /blog/Install/BlogNotConfiguredError.aspx
Feed Description: .NET and everything nice
Latest .NET Buzz Posts
Latest .NET Buzz Posts by James Avery
Latest Posts From .Avery Blog

Advertisement

Last week Marcus Mac Innes sent me an email asking me how to divide his services, he also started a blog and posted about his question. His basic scenario was this:

He has two services, UserManagerService and CustomManagerService. The next step is that he wants to relate users to customers, each customer is linked to a user. He is trying to decide whether or not the CustomerManagerService should accept a userid and save that id. Or if he should have a separate service, called AddUserToCustomer or something, that links the two objects together.

I think the answer is to include the user id on the CustomManagerService, it is information about the customer and deserves to be on that service. Knowing that the customer is a certain user id does not give the customer service any inappropriate knowledge of the user service. The CustomManagerService simply knows that to get any user information about this customer that it should call the user service and pass the ID. (This might be done in the CustomManagerService or in whatever is consuming both of these services)

Opinions?

Read: Service Oriented Architecture - Dividing your services

Topic: Mobile Leaders Announce Initative to Create a Mobile Top-Level Domain (TLD) Previous Topic   Next Topic Topic: ImageURLEditor

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use