Abstract
The ObjectLens framework of VisualWorks maps objects to ta bles. This mapping is described in a data mapping model, which itself is spe cified in one dataModelSpec method. This method is monolithic and defines the whole data model of an application. This is a suitable approach to start with. However, when the business area extends to a set of similar applications, like a software product family, each of these applications needs its own data mo del specification. All specifications of the product family would be quite si milar but there is no appropriate reuse-mechanism, which could be used. Consequently, the monolithic design specifications lead to a high degree of redundancy, which complicates software development and maintenance. Therefore, this paper describes an approach, which leads to a separation of the monolithic data model specifications. The main idea is to define the map pings of each class in the class itself using inheritance and generate the whole specification from a list of single class data models. In this way, declarative and generative programming techniques are combined.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abadi, M., Cardelli, L.: A Theory of Objects. Springer, New York (1996)
Alpert, S.R., Brown, K., Woolf, B.: The Design Patterns Smalltalk Companion. Addison-Wesley, Reading (1998)
Bauer, C., King, G.: Hibernate in Action. Manning, Greenwich (2004)
Brown, K., Whitenack, B.: Crossing Chasms for Object-Relational Integration. In: Proceedings of the 3rd Conference on the Pattern Languages of Programs (1996)
Cincom Systems: VisualWorks: Version 7.2.1, Database Application Developer’s Guide. Cincom Systems (2003), http://www.cincom.com/smalltalk
Cincom Systems: VisualWorks: Version 7.2.1, Application Developer’s Guide. Cincom Systems (2003), http://www.cincom.com/smalltalk
Cook, W., Hill, W., Canning, P.: Inheritance Is Not Subtyping. In: POPL 1990, pp. 125–135 (1990)
Copeland, G., Maier, D.: Making Smalltalk a Database System. SIGMOD Record 14(2), 316–325 (1984)
Date, C.J.: An Introduction to Database Systems, vol. 1, 6th edn. Addison-Wesley, Reading (1995)
Elmasari, R., Navathe, S.: Fundamentals of Database Systems. Cummings Publishing, Redwood City (1989)
GemsStone Systems: GemStone Documentation: Version 5.0. GemStone Systems, Inc. (Juli 1996)
Gamma, E., et al.: Design Patterns CD: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1998)
Howard, T.: The Smalltalk Developer. SIGS, New York (1995)
IBL Ingenieurbüro Letters GmbH: Polar(R): Ein Werkzeug zur Abbildung objektorientierter Strukturen auf relationale Datenbanken (Produktpräsentation). In: Tagungsband STJA ’98: Smalltalk und Java in Industrie und Ausbildung (1998)
Keller, W., Coldewey, J.: A Design Cookbook for Business Information Systems. SD&M report (1996)
Knight, A.: Tutorial Using Glorp. In: Proccedings of Smalltalk Solutions (2004), http://www.glorp.org
Meyer, B.: Object-oriented Software Construction, 2nd edn. Prentice-Hall, Englewood Cliffs (1997)
MicroDoc GmbH: MicroDoc Persistence Frameworks für Smalltalk und Java (Produktpräsentation). In: Tagungsband STJA ’98: Smalltalk und Java in Industrie und Ausbildung (1998)
ParcPlace Systems: VisualWorks: Version 2.0. Cincom Systems (2003)
Prasse, M.: Entwicklung und Formalisierung eines objektorientierten Sprachmodells als Grundlage für MEMO-OML. Fölbach, Koblenz (2002)
Rumbaugh, J., Jacobson, I., Booch, G.: The Unified Modeling Language Reference Manual. Addison-Wesley, Reading (1999)
Roos, R.M.: Java Data Objects. Addison-Wesley, Boston (2003)
The Object People GmbH: TOPLink: Persistenzframework für Smalltalk und Java (Produktpräsentation). In: Tagungsband STJA ’98: Smalltalk und Java in Industrie und Ausbildung (1998)
Woolf, B.: Understanding and Using ValueModels. Whitepaper. Knowledge Systems Corporation (1994)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer Berlin Heidelberg
About this paper
Cite this paper
Prasse, M. (2007). Let’s Modularize the Data Model Specifications of the ObjectLens in VisualWorks/Smalltalk. In: De Meuter, W. (eds) Advances in Smalltalk. ISC 2006. Lecture Notes in Computer Science, vol 4406. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71836-9_6
Download citation
DOI: https://doi.org/10.1007/978-3-540-71836-9_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-71835-2
Online ISBN: 978-3-540-71836-9
eBook Packages: Computer ScienceComputer Science (R0)