Skip to main content

Flexible Object-Oriented Views Using Method Propagation

  • Conference paper
  • First Online:

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

Abstract

Object-oriented views play a key role when giving accessing applications a new or restricted perspective on persistent object-oriented data. However, traditional object-oriented view systems only allow for limited changes when it comes to restructuring a database schema and the related persistent objects in a view. We present a new approach for defining object-oriented views that enables view schemas and view objects whose structure is highly flexible with respect to the underlying database structure. Nevertheless we can guarantee complete type-safety of view schemas and a well-defined and consistent behavior when running updates on view objects as well as on underlying database objects.

We reach this goal through the concept of method propagation: given that a method of a persistent base class fulfills certain conditions, it can be attached to view classes after its signature is appropriately adjusted. At runtime a method call on a view object is delegated to a corresponding base object and executed there.

In the course of this paper we introduce a formal model for objectoriented databases which serves as a basis for defining method propagation conditions. We then present a view language that is derived from our formal approach and highlight the architecture of a prototypical view system.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Serge Abiteboul and Anthony J. Bonner. Objects and views. In Proc. of the ACM SIGMOD’ 91, pages 238–247. ACM Press, 1991. 522

    Google Scholar 

  2. W. W. Armstrong. Dependency structure of database relations. Information Processing, pages 580–583, 1974. 530

    Google Scholar 

  3. Elisa Bertino. A view mechanism for object-oriented databases. In Alain Pirotte, Claude Delobel, and Georg Gottlob, editors, Advances in Database Technology (EDBT’ 92), volume 580 of LNCS, pages 136–151. Springer, 1992. 523

    Chapter  Google Scholar 

  4. Grady Booch, James Rumbaugh, and Ivar Jacobson. The Unified Modeling Language User Guide. Addison-Wesley, 1999. 530

    Google Scholar 

  5. Giuseppe Castagna. Covariance and contravariance: Conflict without a cause. ACM Transactions on Programming Languages and Systems, 17(3):431–447, 1995. 524

    Article  Google Scholar 

  6. M. Dobrovnik and J. Eder. Adding view support to ODMG-93. In Proc. of the Intl. Workshop on Advances in Databases and Information Systems (ADBIS’ 94), pages 62–73, 1994. 522

    Google Scholar 

  7. Michael Dobrovnik and Johann Eder. Logical data independence and modularity through views in oodbms. In Proc. of ESDA’ 96, pages 13–20, 1996. 523

    Google Scholar 

  8. D. Gluche, T. Grust, C. Mainberger, and M. H. Scholl. Incremental updates for materialized OQL views. LNCS, 1341:52–69, 1997. 534

    Google Scholar 

  9. Giovanna Guerrini, Elisa Bertino, Barbara Catania, and Jesus Garcia-Molina. A formal model of views for object-oriented database systems. Theory and Practice of Object Systems (TAPOS’ 97), 3(3):157–183, 1997. 522, 523

    Google Scholar 

  10. Sandra Heiler and Stanley B. Zdonik. Object views: Extending the vision. In Proc. of the Sixth International Conference on Data Engineering, pages 86–93. IEEE Computer Science Press, 1990. 522, 523

    Google Scholar 

  11. Alfons Kemper, Christoph Kilger, and Guido Moerkotte. Function materialization in object bases. In James Clifford and Roger King, editors, Proc. of the ACM SIGMOD’ 91, pages 258–267. ACM Press, 1991. 534

    Google Scholar 

  12. Michael Kifer, Won Kim, and Yehoshua Sagiv. Querying object-oriented databases. In Michael Stonebraker, editor, Proc. of the ACM SIGMOD’ 92, pages 393–402. ACM Press, 1992. 522

    Google Scholar 

  13. Harumi A. Kuno and Elke A. Rundensteiner. The multiview oodb view system: Design and implementation. Journal of Theory and Practice of Object Systems (TAPOS’ 96), Special Issue on Subjectivity in Object-Oriented Systems, 2(3):202–225, 1996. 522

    Google Scholar 

  14. Guido Moerkotte and Andreas Zachmann. Towards More Flexible Schema Management in Object Bases. In Proc. of the Intl. Conf. on Data Engineering, pages 174–181. IEEE, 1993. 523, 528

    Google Scholar 

  15. Renate Motschnig-Pitrik. Requirements and comparison of view mechanisms for object-oriented databases. Information Systems, 21(3):229–252, 1996. 522

    Article  Google Scholar 

  16. D. Pfeifer. Ein System zur typsicheren Objektbankevolution. Master’s thesis, Universität Karlsruhe, IPD, Germany, 1999. Only available in German. 523, 528

    Google Scholar 

  17. B. Schiefer. Eine Umgebung zur Unterstützung von Schemaänderungen und Sichten in objektorientierten Datenbanksystemen. PhD thesis, Universität Karlsruhe, FZI, Germany, 1993. Only available in German. 523

    Google Scholar 

  18. Marc H. Scholl, Christian Laasch, and Markus Tresch. Updatable views in object oriented databases. In Proceedings of 2nd International Conference on Deductive and Object-Oriented Databases, LNCS, pages 189–207. Springer, 1991. 522

    Google Scholar 

  19. A. Zachmann. Typsichere Objektmigration. PhD thesis, Universität Karlsruhe, IPD, Germany, 1997. Only available in German. 523, 528

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pfeifer, D. (2002). Flexible Object-Oriented Views Using Method Propagation. In: Bellahsène, Z., Patel, D., Rolland, C. (eds) Object-Oriented Information Systems. OOIS 2002. Lecture Notes in Computer Science, vol 2425. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46102-7_54

Download citation

  • DOI: https://doi.org/10.1007/3-540-46102-7_54

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-44087-1

  • Online ISBN: 978-3-540-46102-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics