Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
About Us
986
Questions
785
Answers
Interview Preparation mode
beta
Funny Facebook Status
Enter your email address
All categories
SQL Server Interview Questions and Answers
(197)
SSIS Interview Questions and Answers
(54)
SSRS Interview Questions and Answers
(9)
SSAS Interview Questions and Answers
(29)
.NET Interview Questions and Answers
(186)
Oracle Interview Questions and Answers
(122)
Java Interview Questions and Answers
(32)
UNIX Interview Questions and Answers
(47)
Networking Interview Questions and Answers
(17)
MySQL Interview Questions and Answers
(30)
HR Interview Questions and Answers
(237)
General Interview Questions and Answers
(9)
Other Interview Questions and Answers
(8)
Job Openings
(3)
Greenplum Database Interview Questions and Answers
(5)
What are the important principles of SOA (Service oriented Architecture)?
Nice?
Vote!
asked
1 year
ago
in
.NET Interview Questions and Answers
by
Pandi
(
540
points)
–
edited
1 year
ago
by
R
wcf
wcf-interview-questions
soa
service-oriented-architecture
1 Answer
Nice?
Vote!
WCF is based on SOA. All big companies are playing big bets on SOA. So how can Microsoft remain behind? So in order to implement SOA architecture easily you need to use WCF.
SOA is based on four important concepts:-
• Boundaries are well defined
In SOA, everything is formalized. The client who is consuming the service does not need to know how the implementation of the service is done. If you look at some old methodologies of communication like DCOM. Any changes at server level the client also has to change. Therefore, the server and client implementation was so much bound that changes need to be done at all places. In SOA, the rule is if you do enhancement you do not need to change anything at the client. SOA based application only understands that there is an end point, contract, and bindings.
• Services evolve
Change is the law of nature and services will evolve. In SOA, services can be versioned and you can host those services in new ends. For instance, you have a service called as “Search Tickets (Ticket Number) “which gives details based on Ticket Number and its exposed on end point “ep1”. Tomorrow you want make your Search Tickets service more useful by also providing an extra option of allowing him to search by passenger name. Therefore, you just declare a new end “ep2” with service “Search Tickets (Ticket Number, Passenger Name)”. So the client who is consuming the service at end ep1 continues and at the other end, we have evolved our service by adding new ends ep2.
• Services share only schemas and contracts
Services use Schemas to represent data and contracts to understand behavior. They do not use language dependent types or classes in order to understand data and behavior. XML is used to define schemas and contracts. Due to this, there is not heavy coupling between environments.
• Service compatibility is policy based
Policy describes the capabilities of the system. Depending on policies, the service can degrade to match the service for the client. For instance your service needs to be hosted for two types of client one which uses Remoting as the communication methodology while other client uses DCOM. An ideal SOA service can cater to both of them according to there communication policies.
answered
1 year
ago
by
Amalan
(
1,150
points)
–
edited
1 year
ago
by
R
Related questions
Nice?
Vote!
1
answer
What are the important principles of SOA (Service oriented Architecture)?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
wcf
Nice?
Vote!
1
answer
What are ends, contract, address, and bindings?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
Mahesh
(
1,100
points)
wcf
wcf-interview-questions
soa
Nice?
Vote!
1
answer
what are the various ways of hosting a WCF service?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
Boni
(
860
points)
wcf
wcf-interview-questions
hosting
Nice?
Vote!
1
answer
What are the advantages of hosting WCF Services in IIS as compared to self-hosting?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
Anand
(
1,440
points)
wcf
wcf-interview-questions
hosting
iis
Nice?
Vote!
1
answer
What are the main components of WCF?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
Karan
(
240
points)
wcf
wcf-interview-questions
components