官术网_书友最值得收藏!

Web services

Web services can be viewed as web applications that don't include a presentation layer. Service-oriented architecture allows a web service provider to integrate easily with the consumer of that service. Web services enable different applications to share data and functionality among themselves. They allow consumers to access data over the internet without the application knowing the format or the location of the data.

This becomes extremely critical when you don't want to expose the data model or the logic used to access the data, but you still want the data readily available for its consumers. An example would be a web service exposed by a stock exchange. Online brokers can use this web service to get real-time information about stocks and display it on their own websites, with their own presentation style and branding for purchase by end users. The broker's website only needs to call the service and request the data for a company. When the service replies back with the data, the web application can parse the information and display it.

Web services are platform independent. The stock exchange application can be written in any language, and the service can still be called regardless of the underlying technology used to build the application. The only thing the service provider and the consumer need to agree on are the rules for the exchange of the data.

There are currently two different ways to develop web services:

  • Simple Object Access Protocol (SOAP)
  • Representational State Transfer (REST), also known as RESTful web services.
主站蜘蛛池模板: 菏泽市| 桐庐县| 泸定县| 定结县| 潼南县| 封丘县| 温泉县| 休宁县| 城口县| 南涧| 宜章县| 同德县| 洪洞县| 桃源县| 汶川县| 明星| 山西省| 泰宁县| 原阳县| 扶沟县| 应城市| 合水县| 德令哈市| 临朐县| 桂平市| 兴安县| 龙川县| 灵丘县| 新巴尔虎右旗| 云阳县| 普宁市| 蓝山县| 宁德市| 简阳市| 赣榆县| 临洮县| 桐庐县| 德格县| 曲阳县| 乐安县| 栾城县|