Lec2 Unit V Service Oriented Architecture
Lec2 Unit V Service Oriented Architecture
1. Service provider: The service provider is the maintainer of the service and the
organization that makes available one or more services for others to use. To
advertise services, the provider can publish them in a registry, together with a
service contract that specifies the nature of the service, how to use it, the
requirements for the service, and the fees charged.
2. Service consumer: The service consumer can locate the service metadata in the
registry and develop the required client components to bind and use the service.
Services might aggregate information and data retrieved from other services or create
workflows of services to satisfy the request of a given service consumer. This practice
is known as service orchestration Another important interaction pattern is service
choreography, which is the coordinated interaction of services without a single point of
control.
COMPONENTS OF SOA:
ADVANTAGES OF SOA:
• Service reusability: In SOA, applications are made from existing services. Thus,
services can be reused to make many applications.
• Easy maintenance: As services are independent of each other they can be updated
and modified easily without affecting other services.
• Platform independent: SOA allows making a complex application by combining
services picked from different sources, independent of the platform.
• Availability: SOA facilities are easily available to anyone on request.
• Reliability: SOA applications are more reliable because it is easy to debug small
services rather than huge codes
• Scalability: Services can run on different servers within an environment, this
increases scalability
DISADVANTAGES OF SOA:
• High overhead: A validation of input parameters of services is done whenever
services interact this decreases performance as it increases load and response time.
• High investment: A huge initial investment is required for SOA.
• Complex service management: When services interact, they exchange messages to
tasks. the number of messages may go in millions. It becomes a cumbersome task
to handle a large number of messages.
PRACTICAL APPLICATIONS OF SOA:
SOA is used in many ways around us whether it is mentioned or not.
• SOA infrastructure is used by many armies and air forces to deploy situational
awareness systems.
• SOA is used to improve healthcare delivery.
• Nowadays many apps are games and they use inbuilt functions to run. For example,
an app might need GPS so it uses the inbuilt GPS functions of the device. This is
SOA in mobile solutions.
• SOA helps maintain museums a virtualized storage pool for their information and
content.