Contrast OOP and SOA. What are tenets of each?
Answer Posted / santhoshmx
OOP is a programming paradigm, where the basic unit is
called Object. OOP can also be called as Real World
Modelling. Every real world entity can be represented by an
object. An object is designed based on its actual
attributes and behavior/functionality. One or more objects
inter-relate and inter-operate to perform a specific task.
In other words, OOP is a method of creating applications
using well-defined entities called Objects.
Where as, SOA(Service Oriented Architecture) is a more
broader and more abstract term. It is not just about
creating a single application. In this architecture, an
application or even Data can also be called as a Service.
Here applications or data are created and deployed in web
as SERVICES which are independent, interoperable and
reusable. Another application may use one or more existing
Servives to perform its task. Here the usage of service may
vary from interoperation, coordination or even as simple as
data sharing. The services are grouped together based on
business processes. Let me provide a simple example, where
GoogleMaps and YahooMaps can be referred as a Service on
the web. They host the map info and geodata and it is
widely accessible. Many GPS related and location based
applications use this service and share those data to
perform its own functionality. In other applications, the
usage of service may be complex(Many Services participating
and sharing or interoperating with each other forming a
Mesh).
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What is the example of polymorphism?
Can a destructor be called directly?
Write a program to sort the number with different sorts in one program ??
What is polymorphism give a real life example?
write a C++ program for booking using constructor and destructor.
What do you mean by Encapsulation?
What is this pointer in oop?
What are the components of marker interface?
What is class and object with example?
What is encapsulation in simple terms?
What is the main feature of oop?
What are the benefits of oop?
What do you mean by abstraction?
Why is destructor used?
What are the 5 oop principles?