soa service registry repository and service discovery whishworks blog
Post on 06-Apr-2017
125 Views
Preview:
TRANSCRIPT
October 30, 2015 by Sreekanth Kondapalli SOA No Comment
SOA Service Registry/Repository and ServiceDiscovery
Technology is changing faster than ever. Today, many organizations arelooking up to SOA as an architectural solution to provide a robust computingplatform in order to connect to legacy systems. In this architectural paradigmthere is a focus on exposing software as a service rather than an application.
One of the challenges faced by SOA is managing services of metadata. AService is an individual or a smaller code base running on separate machineswith separate deployment cycles, that clearly addresses the targeted problemdomains. As and when there is an increase in number of services in thearchitecture, we will also notice several problems.
How do we maintain and manage pool of services?
How do we add new services and remove the deprecated ones?
How to provide “High Availability” of Services to consumers?
How do clients determine the IP and port for a service that exist onmultiple hosts?
An improper service design can lead to duplicate service creation with no reusability. To overcome these challenges, Service Registry and/or Repositoryand Service Discovery should be considered right from the design of SOAImplementation.
SOA Service Registry and/orRepositoryAn SOA Service Registry is the core component of SOA Governance. TheService registry allows service providers to discover and communicate withconsumers efficiently, creating a link between service providers and servicecustomers. The primary focus of Service Registry is to provide fast, easyaccess to communication, and to operate among different applications with alimited human intervention.
An SOA registry supports the UDDI (Universal Description, Discovery andIntegration) specification, an XML– (Extensible Markup Language) basedregistry that was developed for the purpose of making systems interoperable.Publication of a service requires proper description of a Web service in termsof business, service, and technical information. Once, the services arepublished the registry will create the dependencies, associations and versionsof these services and metadata.
Benefits of SOA Service Registry:
Service Registry plays an important role in SOA implementation whichhelps in managing services metadata.
Service Registry is a constantly evolving catalog of information about theavailable services in an SOA implementationService Registry helps in managing service located in different places(internally, externally) and in different lifecycle states (underdevelopment, inplan, deployed or retired)Service Repository is where metadata of services and related SOAartifacts, such as policies can be stored.Service Registry and/or Repository Provides an integrated SOAGovernance Solution management.Provides access to search facilities, notification services, and optimizesservice reuse.Managing the Service lifecycle and visibility to all SOA assets with theirrelated artefacts.
SOA Service DiscoveryService discovery is the process of locating web service providers, andretrieving web services descriptions that have been previously published. Theprimary mechanism involved in performing of Service Discovery is a serviceregistry, which contains relevant metadata about available and upcomingservices as well as pointers to the corresponding service contract documentsthat can include SLAs.
In modern architectures nodes come and go and you need to decoupleindividual service instances from the knowledge of the deployment topologyof your architecture.
After the discovery process is complete, the service developer or clientapplication should know the exact location of a Web service (URI), itscapabilities, and how to interface with it.
Benefits of SOA Service Discovery
Discovery of the service, its status, and its owner will be critical to achievethe benefits of SOA reusability.Dynamic service registration and discovery becomes much moreimportant in these scenarios in order to avoid service interruption.Handling Fail over of service instancesLoad balancing across multiple instances of a Service
Untitled
ConclusionThe Service Registry/Repository and Service Discovery play a major role inSOA lifecycle. During Service Modeling, a registry and repository can be usedto create or reuse service metadata, vocabularies and XML schemas. Duringservice development, a registry and repository can be used to locate servicesfor reuse and to enable service composition. During service deployment,service descriptions stored in a registry and repository are used by runtimessuch as ESB (Enterprise Service Bus) to enable dynamic interaction betweenservices.
top related