Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Azure

Service-Orientation with .NET : Service Loose Coupling

5/16/2011 6:22:48 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
The goal of the Service Loose Coupling principle is to allow services to develop and evolve with minimal impact on each other, a consideration that is key to achieving the Increased Organizational Agility goal of service-oriented computing.

This principle is primarily concerned with design-time dependencies, with a particular focus on the technical service contract. Coupling considerations apply, regardless of service implementation medium.

When applying the Service Loose Coupling  principle to a service architecture, we need to understand the different kinds of coupling (good and bad) that can exist.

  • logic-to-contract coupling– This refers to the coupling of the internal service logic to the service contract. It is generally considered a positive form of coupling that preserves the service contract’s independence from the underlying service implementation.

  • contract-to-logic coupling– The opposite of logic-to-contract coupling is contract-to-logic coupling. When the service contract is dependent on the underlying service logic, it results in an architecture contrary to the goals of the Service Loose Coupling principle because changes to the logic can impact the service contract and, consequently, service consumers that have formed dependencies on the service contract.

  • contract-to-technology coupling– Similar to contract-to-logic coupling, this negative coupling type results from forcing service consumers to bind to a platform-specific technology protocol in order to invoke a service. For example, expecting consumers to send a serialized DataSet object to a WCF service or returning such an object to the consumer will introduce this kind of coupling.

  • contract-to-implementation coupling– This type of negative coupling results from directly expressing characteristics of the underlying service implementation (the physical data models of databases or APIs of legacy software, for example) within the service contract.

  • contract-to-functional coupling– This negative coupling type can sneak into a service when generic logic is designed with a particular business process or pre-built consumer in mind. As a result, the service contract can become dependent on the underlying functionality.

  • consumer-to-implementation coupling– This form of negative coupling occurs when the Contract Centralization pattern is not consistently applied. Allowing consumer programs to bypass a published technical contract in order to directly access underlying resources was also a common side-effect of point-to-point integration architectures.

  • consumer-to-contract coupling– A positive coupling type that results from service consumers having limited access to the service contract. Consumer-to-contract coupling is the desired result of Contract Centralization .

Note how all described coupling types revolve around how the service contract is defined and architecturally positioned (Figure 1).

Figure 1. This diagram (originally from the SOA Principles of Service Design book) illustrates how consumer-to-contract coupling alone can be insufficient when the service contract is negatively coupled to other parts of the service implementation


Other -----------------
- Service-Orientation with .NET : Service Contracts and Interoperability - Canonical Protocol
- Service-Orientation with .NET : Service Contracts and Interoperability - Data Model Transformation
- Service-Orientation with .NET : Service Contracts and Interoperability - Canonical Schema
- Service-Orientation with .NET : Standardized Service Contract
- Cloud Services with Windows Azure : Windows Azure Storage
- A REST Service in Windows Azure
- Cloud Services with Windows Azure : A Web Service in Windows Azure
- Cloud Services with Windows Azure : Hello World in Windows Azure
- Cloud Services with Windows Azure : Windows Azure Roles
- Cloud Services with Windows Azure : Windows Azure Platform Overview
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server