Skip to main content

OCL as a Specification Language for Business Rules in Database Applications

  • Conference paper
  • First Online:
≪UML≫ 2001 — The Unified Modeling Language. Modeling Languages, Concepts, and Tools (UML 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2185))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. ACT-NET Consortium, The Active Database Management System Manifesto: A Rulebase of ADBMS Features. SIGMOD Record 25(1996)3:40–49

    Google Scholar 

  2. Argo/UML Page, http://www.ArgoUML.com

  3. Blaha, M., Premerlani, W.: Object-Oriented Modeling and Design for Database Applications. Prentice Hall, 1998

    Google Scholar 

  4. Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language User Guide. Addison-Wesley, 1999

    Google Scholar 

  5. 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

    Google Scholar 

  6. Eisenberg, A., Melton, J.: SQL: 1999, formerly known as SQL-3. ACM SIGMOD Record, 22(1999)1, 131–138

    Article  Google Scholar 

  7. Eriksson, H.-E., Penker, M. Business Modeling with UML. Business Patterns at Work, John Wiley & Sons, Inc., New York, 2000

    Google Scholar 

  8. Finger, F., Design and Implementation of a Modular OCL Compiler. diploma thesis, Dresden University of Technology, 2000

    Google Scholar 

  9. 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

    Google Scholar 

  10. 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

    Google Scholar 

  11. Melton, J., Simon, A.: Understanding the New SQL: A Complete Guide. Morgan Kaufmann, 1993

    Google Scholar 

  12. 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

    Google Scholar 

  13. O’Neil, P., Database-principles, programming, performance. Morgan Kaufmann, 1994

    Google Scholar 

  14. OCL Center, Klasse Objecten, http://www.klasse.nl/ocl/index.htm

  15. OCL Page, Dresden University of Technology, http://dresden-ocl.sourceforge.net/

  16. OMG UML v. 1.3 specification, http://www.omg.org/cgi-bin/doc?ad/99-06-08

  17. Motro, A., Integrity= validity + completeness. ACM Transactions on Database Systems, 14(1989)4,480–502

    Article  Google Scholar 

  18. 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

    Google Scholar 

  19. Rational. The UML and Data Modeling. Whitepaper TP-180, 2000, http://www.rational.com

  20. Rational. Mapping Objects to Data Models with the UML. Whitepaper TP-185, 2000, http://www.rational.com

  21. 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

    Google Scholar 

  22. Schmidt, A.: Untersuchungen zur Abbildung von OCL-Ausdruecken auf SQL. Dresden University of Technology, diploma thesis, 1998

    Google Scholar 

  23. Spencer, B., Business Rules vs. Database Rules. A Position Statement. in: Object oriented technology: ECOOP’98 Workshop Reader. Springer, 1998

    Google Scholar 

  24. Warmer, J., Kleppe, A.: The Object Constraint Language. Precise Modeling with UML. Addison-Wesley, 1999

    Google Scholar 

  25. Wiebicke, R., Utility Support for Checking OCL Business Rules in Java Programs. diploma thesis, Dresden University of Technology, 2001

    Google Scholar 

  26. OMG, XMI SMIF Revised Submission (ad/98-10-06). http://www.omg.org

  27. W3C, Extensible Markup Language (XML). http://www.w3.org

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics