Abstract
Business rules are often specified only implicitly by applications to express user-defined constraints. OCL provides the chance to explicitly and automatically deal with business rules when building object-oriented applications. We investigate how OCL constraints can be handled in database applications as one of the most important kind of business applications. Based on our OCL toolset prototype and earlier research work we particularly experiment with various strategies for the evaluation of OCL constraints in object-oriented applications which use relational databases. For this work, a flexible SQL code generator is needed which can be used and adapted for different relational database systems and different object-to-table mappings. We implement such a database tool as an additional module for our OCL toolset using XML techniques.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
ACT-NET Consortium, The Active Database Management System Manifesto: A Rulebase of ADBMS Features. SIGMOD Record 25(1996)3:40–49
Argo/UML Page, http://www.ArgoUML.com
Blaha, M., Premerlani, W.: Object-Oriented Modeling and Design for Database Applications. Prentice Hall, 1998
Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language User Guide. Addison-Wesley, 1999
Demuth, B., Hussmann, H.: Using OCL Constraints for Relational Database Design. in: UML’99 The Unified Modeling Language, Second Int. Conference Fort Collins, CO, USA, October 1999, Springer, 1999
Eisenberg, A., Melton, J.: SQL: 1999, formerly known as SQL-3. ACM SIGMOD Record, 22(1999)1, 131–138
Eriksson, H.-E., Penker, M. Business Modeling with UML. Business Patterns at Work, John Wiley & Sons, Inc., New York, 2000
Finger, F., Design and Implementation of a Modular OCL Compiler. diploma thesis, Dresden University of Technology, 2000
Herbst, H. et al, The specification of business rules: a comparison of selected methodologies. in: Methods and Associated Tools for the Information System Life Cycle. Elsevier, Amsterdam, 1994
Hussmann, H., Demuth, B., Finger, F.: Modular Architecture for a Toolset Supporting OCL. in: UML’2000-The Unified Modeling Language. Advancing the Standard, Third Int. Conference York, UK, October 2000, Springer, 2000
Melton, J., Simon, A.: Understanding the New SQL: A Complete Guide. Morgan Kaufmann, 1993
Mens, K. et al, Workshop Report-ECOOP’98 Workshop 7 Tools and Environments for Business Rules. in: Object oriented technology: ECOOP’98 Workshop Reader. Springer, 1998
O’Neil, P., Database-principles, programming, performance. Morgan Kaufmann, 1994
OCL Center, Klasse Objecten, http://www.klasse.nl/ocl/index.htm
OCL Page, Dresden University of Technology, http://dresden-ocl.sourceforge.net/
OMG UML v. 1.3 specification, http://www.omg.org/cgi-bin/doc?ad/99-06-08
Motro, A., Integrity= validity + completeness. ACM Transactions on Database Systems, 14(1989)4,480–502
Richters, M., Gogolla, M., Validating UML Models and OCL Constraints. in: UML’2000-The Unified Modeling Language. Advancing the Standard, Third Int. Conference York, UK, October 2000, Springer, 2000
Rational. The UML and Data Modeling. Whitepaper TP-180, 2000, http://www.rational.com
Rational. Mapping Objects to Data Models with the UML. Whitepaper TP-185, 2000, http://www.rational.com
Ross, K., Srivastava, D., Sudarshan, S., Materialized view maintenance and integrity constraint checking: Trading space for time. in: Proc. of the ACM SIGMOD Int. Conference on Management of Data, Montreal, Canada, 1996, ACM Press, 1996
Schmidt, A.: Untersuchungen zur Abbildung von OCL-Ausdruecken auf SQL. Dresden University of Technology, diploma thesis, 1998
Spencer, B., Business Rules vs. Database Rules. A Position Statement. in: Object oriented technology: ECOOP’98 Workshop Reader. Springer, 1998
Warmer, J., Kleppe, A.: The Object Constraint Language. Precise Modeling with UML. Addison-Wesley, 1999
Wiebicke, R., Utility Support for Checking OCL Business Rules in Java Programs. diploma thesis, Dresden University of Technology, 2001
OMG, XMI SMIF Revised Submission (ad/98-10-06). http://www.omg.org
W3C, Extensible Markup Language (XML). http://www.w3.org
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Demuth, B., Hussmann, H., Loecher, S. (2001). OCL as a Specification Language for Business Rules in Database Applications. In: Gogolla, M., Kobryn, C. (eds) ≪UML≫ 2001 — The Unified Modeling Language. Modeling Languages, Concepts, and Tools. UML 2001. Lecture Notes in Computer Science, vol 2185. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45441-1_9
Download citation
DOI: https://doi.org/10.1007/3-540-45441-1_9
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42667-7
Online ISBN: 978-3-540-45441-0
eBook Packages: Springer Book Archive