Component contract-based interface specification technique using Z

被引:4
作者
Lee, JH [1 ]
Yoo, CJ [1 ]
Chang, OB [1 ]
机构
[1] Chonbuk Natl Univ, Dept Comp Sci, Software Engn Lab, Jeonju, South Korea
关键词
∗This work was supported by Grant No. R05-2001-000-01033-0 from the Basic Research Program of the Korea Science & Engineering Foundation;
D O I
10.1142/S0218194002000974
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
A simple contract contains formalizing preconditions, postconditions, and invariants. A contract describes the services that are provided by an object. In the component world, it is essential to describe correctly what services are provided by the components and how we can use them. Till now, interfaces are specified in IDL, which describes the syntactic aspect of interface. IDL cannot describe the semantic aspects and safety condition of a component that a client and a server must know how to use or implement it. In this paper, we use contracts specifying components and, propose an interface specification technique to describe components as a contract (namely, component contract). We regard a component's interface as contract and present which aspect to be specified for providing correct information of the components. This paper defines some definitions and describes operators such as cooperating components, component version, functional requirements, nonfunctional requirements, and performance measurements to specify components, and specifies them using Z scheme. Finally, we apply this interface specification technique to develop an e-commerce system.
引用
收藏
页码:453 / 469
页数:17
相关论文
共 15 条
[1]  
[Anonymous], FORMAL SPECIFICATION
[2]   Making components contract aware [J].
Beugnard, A ;
Jézéquel, JM ;
Plouzeau, N ;
Watkins, D .
COMPUTER, 1999, 32 (07) :38-+
[3]  
Bowen J., 1994, Z User Workshop, Cambridge 1994. Proceedings of the Eighth Z User Meeting, P141
[4]  
HELM R, 1990, P EUR C OBJ OR PROGR, P169
[5]  
HOLLAND IM, 1992, LECT NOTES COMPUT SC, V615, P287, DOI 10.1007/BFb0053043
[6]  
JUBIN H, 1999, ENTERPRISE JAVABEANS, P141
[7]  
KINIRY JR, 1999, UNPUB ADV TOP WORKSH
[8]  
KREUZ D, 1999, 21073 U HAMB HARB TE
[9]  
LEE JH, 2002, ANAL OBJECT INTERACT
[10]  
Potter B., 1996, An Introduction to Formal Specification and Z