SOA
is way to develop service oriented applications and WCF is technology
which can be used to develop service oriented applications. BUT SOA
defines strict rules (known as SOA tenets) for applications. If you
don't follow these rules you are building services but these services do
not conform to SOA.
SOA tenets are:
- Boundaries are explicit - service doesn't share anything with other services (even database tables and data can't be shared)
- Services are autonomous - each service is independent, can be separately deployed and versioned
- Services share schema and contract, not class - services are described in WSDL, transported data are described in XSD, orchestrations (aggregation) are described in BPEL
- Services compatibility is based upon policy - WSDL contains WS-Policies to describe configuration needed for interoperability
As you see especially first two tenets can be easily violated when building WCF service.
0 comments:
Post a Comment