Originally posted by upul indrajith:
Is there any standard API support for this??
Do we need to have a service end point , every time to invoke or bind a service to a client ???
NoCan we consume a web service with out a exact service end point and or a exact method signature as it described in WSDL if it a RPC style web service
Hence the realization by experts that the specialized interfaces that are defined in WSDL actually promote tight coupling.
Unlike a tightly coupled approach, using the adapter approach presented in this paper leaves you with Web services invocation code that is highly reusable and configurable.
A significant advantage of the uniform interface constraint lies in the area of scalability. For a client to correctly interact with a SOA service, it must understand the specifics of both that service�s interface contract and data contract. But for a client to invoke a REST service, it must understand only that service�s specific data contract: the interface contract is uniform for all services. I can�t overstate this difference�s impact on large-scale systems. Imagine, for example, that the Web comprised millions of Web sites and that each defined its own special interface. To use your Web browser to interact with a particular site, you�d likely need to download or write a new browser plug-in that understood that site�s interface.
Originally posted by James Clark:
Tight coupling between a service provider and consumer at run-time is not a problem, in my opinion. The two applications need to connect at some point. At a syntax level, there can be zero coupling, and this is the benefit that a web service delivers."
Any other type of "coupling metric" is not really significant enough to jump thru five or six more hoops, just to say "we have loose coupling in regards to xyz."
If there is such a fine list of aspects of loose coupling, and minimizing dependencies is good, you might be wondering why you don't simply use all these forms of loose coupling in each SOA. The answer is that there is a price to pay for loose coupling, in that it makes systems more complex. That means more development and/or maintenance effort.
The aim of loose coupling is to minimize dependencies. When there are fewer dependencies, modifications to or faults in one system will have fewer consequences on other systems.
Hard mounts mean that the application hangs until the server comes back up. This generally prevents a client program from seeing partial failure, but it leads to a malady familiar to users of workstation networks: one server crashes, and many workstations�even those apparently having nothing to do with that server�freeze. Figuring out the chain of causality is very difficult, and even when the cause of the failure can be determined, the individual user can rarely do anything about it but wait. This kind of brittleness can be reduced only with strong policies and network administration aimed at reducing interdependencies. Nonetheless, hard mounts are now almost universal.
Originally posted by upul indrajith:
For example lets say there are 3 web services called A , B and C. All services are giving the same business functionality. And there can be any number of web services in the environment which serve the same functionality as A , B, and C.
Orchestration A way of aggregating services to business processes. In contrast to choreography, orchestration composes services to a new service that has a central control over the whole process.
For Web Services, BPEL is a standard for orchestration, for which development tools and engines are available.
Choreography A way of aggregating services to business processes. In contrast to orchestration, choreography does not compose services to a new service that has central control over the whole process. Instead, it defines rules and policies that enable different services to collaborate to form a business process. Each service involved in the process sees and contributes only a part of it.
Hub-and-spoke An abstract software pattern used to transfer data between multiple systems. In contrast to the bus pattern, it uses a central component that coordinates all communication between senders and receivers.
Bus An abstract software pattern used to transfer data between multiple systems. In contrast to the hub-and-spoke pattern, it uses a federation of components that all follow a common policy or protocol to send, route, and receive messages.
Event-Driven Architecture (EDA) A software architecture pattern promoting the production, detection, consumption of, and reaction to events. Some consider EDA an extension or complement to SOA; others consider EDA to be part of the SOA approach (a special message exchange pattern where the service provider sends a message to multiple consumers)
so new services that use a different interface are still out of your reach
However to make this form of loose-coupling work you have to standardize the service interface and data contracts in some way
Originally posted by upul indrajith:
In current SOA service consumers are depending upon the service implementation regardless of the business itself.
There is no clear separation between the service consumer's business requirements and the implementation of these business requirements / functionality as various web services.
I mean why should the service consumer bother about the service provider's interface?
Will it be more logical if the service consumer bother about the business functionality or the service requirement regardless of the interface which is exposed as a WSDL. This part is missing in the current SOA standard model , so the tight coupling arise.
What if we build some ontology on top of the registry to define various business functions / requirements and let the consumer to inquire services as a business functionality request.
Then the service discovery will happen based on a particular business function rather than a service interface.
No holds barred. And no bars holed. Except this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|