Can I call from one domain BL to another domain DAL?

76 views Asked by At

In SOA, Can I call from one domain Business component to another domain DAL? or should I go through that second component's BC?

1

There are 1 answers

0
Tyler Day On BEST ANSWER

Always go through the second BC. If your services start sharing databases then you will have the coupling that you are trying to get rid of by doing SOA in the first place. People often overlook database coupling when designing their services. I know it's tempting to take that short cut sometimes, but this is something you need to be strict about.