The RESTful Web Service is a lightweight framework which includes some important ideas such as addressability of resources, statelessness, connectedness, and uniform interface and has good interaction and elasticity by its loose coupling and other distributed components. Since there is no need to introduce the complex SOAP, it is easier to use, easier to combine than RPC-style services and has gained wide spread acceptance across the web. In this paper, it is researched how to use Restlet framework to build RESTful Web Services in a Chinese medicine information system.% RESTful Web Services 是一个轻量级的架构,其中包含的重要概念有资源的可寻址性、连通性、无状态、统一接口等.通过低耦合和其他分布式组件,使其具有良好的交互性和可伸缩性.由于无需引入复杂的 SOAP 协议,比起 RPC 风格的 Web Services,很容易使用并且获得了广泛的应用.研究了在一个中医药信息系统中如何使用 Restlet 框架构建 RESTful Web Services.
展开▼