Formal Specification of Design Patterns - A Balanced Approach
نویسندگان
چکیده
Pattern users are faced with difficulties in understanding when and how to use the increasing number of available design patterns. This is mainly due to the inherent ambiguity in the existing means (textual and graphical) of describing them. Hence, there is a need to introduce formalism in order to describe them accurately and allow rigorous reasoning about them. The main problem of existing formal specification languages for design patterns is their lack of completeness. This is mainly because they tend to focus on specifying either the structural or the behavioral aspect of design patterns but not both of them. We propose a simple yet Balanced Pattern Specification Language (BPSL) that is aimed to achieve equilibrium by specifying both aspects of design patterns. BPSL combines two subsets of logic, one from First Order Logic (FOL) and one from Temporal Logic of Actions (TLA).
منابع مشابه
Formal Specification of Real-Time Requirements for Building Automation Systems
A generic approach to the formal specification of system requirements is presented. It is based on a pool of requirement patterns, which are related to design patterns well-known in object-oriented software development. The application of such patterns enhances the reusability and genericity as well as the intelligibility of the formal requirement specification. The approach is instantiated by ...
متن کاملReuse of Specification Patterns with the B Method
This paper describes an approach for reusing specification patterns. Specification patterns are design patterns that are expressed in a formal specification language. Reusing a specification pattern means instantiating it or composing it with other specification patterns. Three levels of composition are defined: juxtaposition, composition with inter-patterns links and unification. This paper sh...
متن کاملDeveloping Reliable yet Flexible Software through If-Then Model Transformation Rules
Developing reliable yet flexible software is a hard problem. Although modeling methods enjoy a lot of advantages, the exclusive use of just one of them, in many cases, may not guarantee the development of reliable and flexible software. Formal modeling methods ensure reliability because they use a rigorous approach to software development. However, lack of knowledge and high cost practically fo...
متن کاملWeb Service Choreography Verification Using Z Formal Specification
Web Service Choreography Description Language (WS-CDL) describes and orchestrates the services interactions among multiple participants. WS-CDL verification is essential since the interactions would lead to mismatches. Existing works verify the messages ordering, the flow of messages, and the expected results from collaborations. In this paper, we present a Z specification of WS-CDL. Besides ve...
متن کاملRigorous development of JavaCard applications
We present an approach to rigorous, tool supported design and development of JavaCard applications. We employ the Unified Modelling Language (UML) and formal methods for object oriented software development in our approach. Our goal is to make JavaCard applications robust “by design”, to make the development process independent of the JavaCard platform used and to enable applications to be veri...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Object Technology
دوره 2 شماره
صفحات -
تاریخ انتشار 2003