الثلاثاء، 1 يناير 2013

Web Services & Service Oriented Architecture SOA

 

 

 

 

 

introduction

 

SOA and Web Services are two buzzwords in the software industry now a days . Most of the people are confused about What they are?  they take them as synonyms , Well I will try to clear the difference between these two
 Before going for the definition of SOA , we should at least know what actually a service is ? 

what is service   

A Service is a unit of work done by a service provider to achieve desired end results for a service consumer. It represents a publicized package of functionality .
 
Both service provider and service consumer are the roles played by software agents on behalf of their owner .

Definition of Web services

Web services are software systems designed to support interoperable machine-to-machine interaction over a network. This interoperability is gained through a set of XML-based open standards, such as WSDL, SOAP, and UDDI. These standards provide a common approach for defining, publishing, and using web services .
 

Definition of SOA

SOA is an architectural style for building software applications that use services available in a network such as the web. It promotes loose coupling between software components so that they can be reused. Applications in SOA are built based on services. A service is an implementation of a well-defined business functionality, and such services can then be consumed by clients in different applications or business processes .

About Web services :-




The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI is used for listing what services are available
 
Web services allow different applications from different sources to communicate with each other without time-consuming custom coding, and because all communication is in XML, Web services are not tied to any one operating system or programming language. For example, Java can talk with Perl, Windows applications can talk with UNIX applications.
Web services do not require the use of browsers or HTML , Web services are sometimes called application services. 

About SOA :

 

SOA allows for the reuse of existing assets where new services can be created from an existing IT infrastructure of systems. In other words, it enables businesses to leverage existing investments by allowing them to reuse existing applications, and promises interoperability between heterogeneous applications and technologies. SOA provides a level of flexibility that wasn't possible before ,:


A very good example of SOA :-
 Take a CD for instance. If you want to play it, you put your CD into a CD player and the player plays it for you. The CD player offers a CD playing service. Which is nice because you can replace one CD player with another. You can play the same CD on a portable player or on your expensive stereo. They both offer the same CD playing service, but the quality of service is different

Difference between WS & SOA :- 

- SOA and web services are two different things , but web services are the preferred standards-based way to realize SOA

A Serviced Oriented Architecture describes a way of designing a complete solution; the solution may include web services as part of the solution.  
-  On the other hand, Web Services is an approach to realizing a SOA.
-  Web Services is the base for implementing SOA and the Service bus is the centerpiece of this implementation.
 

Conclusion



The advent of web services and SOA offers potential for lower integration costs and greater flexibility. An important aspect of SOA is the separation of the service interface (the what) from its implementation (the how). Such services are consumed by clients that are not concerned with how these services will execute their requests. Web services are the next step in the Web's evolution, since they promise the infrastructure and tools for automation of business-to-business relationships over the Internet.


 



 









ليست هناك تعليقات:

إرسال تعليق