arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1210.6115cs.SE
收藏

行为REST Web服务接口的一致性分析

Analyzing Consistency of Behavioral REST Web Service Interfaces

Irum Rauf, Ali Hanzala Khan, Ivan Porres

摘要:

REST Web服务可以提供复杂的操作,这些操作不仅仅是简单地从数据库中创建、检索、更新和删除信息。我们已经提出了一种方法来设计行为REST Web服务的接口,通过使用UML定义一个资源和一个行为模型。在本文中,我们讨论了资源和行为模型,表示使用状态不变量的服务状态之间的一致性。状态不变量被定义为资源上的谓词,并描述行为模型的有效状态配置。如果一个状态不变量是不可满足的,那么就没有包含该状态的有效状态配置,也没有可以实现该服务接口的服务。我们还展示了如何使用推理工具来确定这些设计模型之间的一致性。

英文摘要:

REST web services can offer complex operations that do more than just simply creating, retrieving, updating and deleting information from a database. We have proposed an approach to design the interfaces of behavioral REST web services by defining a resource and a behavioral model using UML. In this paper we discuss the consistency between the resource and behavioral models that represent service states using state invariants. The state invariants are defined as predicates over resources and describe what are the valid state configurations of a behavioral model. If a state invariant is unsatisfiable then there is no valid state configuration containing the state and there is no service that can implement the service interface. We also show how we can use reasoning tools to determine the consistency between these design models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑