ECMA TR 59-1992 OBJECT-ORIENTED DATABASES《面向对象的数据库》.pdf
《ECMA TR 59-1992 OBJECT-ORIENTED DATABASES《面向对象的数据库》.pdf》由会员分享,可在线阅读,更多相关《ECMA TR 59-1992 OBJECT-ORIENTED DATABASES《面向对象的数据库》.pdf(20页珍藏版)》请在麦多课文档分享上搜索。
1、EUROPEAN COMPUTER MANUFACTURERS ASSOCIATIONOBJECT-ORIENTED DATABASESECMA TR/59June 1992.EUROPEAN COMPUTER MANUFACTURERS ASSOCIATIONOBJECT-ORIENTED DATABASESECMA TR/59June 1992.BRIEF HISTORYObject-oriented databases, or OODBs, are likely to be the databases of the future. A flurry of activity over th
2、e next fewyears is expected - not least in the area of standardization and development of commercial object-oriented databaseproducts.These databases are capable of handling any type of data that may be represented as objects. Such type of data includetext, graphics (still and moving images), and au
3、dio data. Popularity of object-oriented database is assured by virtue ofuser-friendly features: as an example, a single retrieval command would send appropriate data to the relevant port, bethis connected to a printer, a screen or a loudspeaker system.This ECMA Technical Report provides general back
4、ground information on object-oriented systems, object-orienteddatabases and object-oriented database management systems, and identifies the issues related to databases. It isintended as a tutorial for novices.Work on this ECMA Technical Report started in ECMA TC22, Databases, in the middle of 1990 a
5、nd was completed atthe end of 1991.Adopted as an ECMA Technical Report by the ECMA General Assembly of June 1992.- i -Table of Contents1Scope 12 Structure 13 Acronyms 14 Object-Oriented Approach 14.1 Object 14.2 Object-oriented programming languages 34.3 Benefits of object-oriented systems 34.4 Limi
6、tations of object-oriented systems 45 Object-oriented databases 45.1 Viable object-oriented database solutions 45.2 Problems and issues to be resolved 56 Standards 66.1 International 66.2 National standardisation activity 77 Conclusions 7- ii -.1ScopeThis ECMA Technical Report provides general backg
7、round information on object-oriented systems, object-oriented databases, object-oriented database management systems, and identifies issues related to databases.General background information on the object-oriented approach is provided, and specifically the followingitems are discussed:- significanc
8、e of current interest in object-oriented systems;- issues to be addressed by object-oriented database developers;- standardisation activity.The intent of the report is to inform readers who are unfamiliar with object-oriented databases and highlight therelated issues.2 StructureThe rest of this repo
9、rt describes the object-oriented (OO) approach and a number of characteristics of theobjects. It gives considerations to the current standardisation work and identifies a number of sources that werestudied or have influenced this report.3 AcronymsDB database DBL database languageDBMS database manage
10、ment system OO object-orientedOODB object-oriented database OODBMS object-oriented database management systemOOPL Object-oriented programming language OOS object-oriented systemSQL structured query language4 Object-Oriented ApproachThe advantages of using an object-oriented approach have been recogn
11、ised for some time and stem from thebasic concepts of an object-oriented system (OOS). Before considering object-oriented databases therefore,these basic concepts are introduced first.4.1 Object4.1.1 Black-box view of an objectThe most fundamental concept in an object-oriented system is that of a se
12、lf-contained modularisation intoentities called “objects“. An object is an entity that can be identified by a name, however, it should beessentially regarded as a “black box“. As such, an object is characterised by the public interface offered tothe outside world and the behaviour exhibited when mes
13、sages are passed to the object via that interface.The internal workings of an object is hidden from the surrounding external environment. See figure 1.objectexternal interfaceinput messageresponse behaviourFigure 1 - Black-box view of an object- 2 -4.1.2 Object classes and instancesAn object belongs
14、 to a class which identifies its type. A particular example of class of an object is termedan instance of an object. An object class may have subclasses below it. The object can then be referred toas the superclass of the subclass object and the classes form an hierarchy. The features of the class b
15、asicobject are shared and propagated down the hierarchy of classes. See figure 2, giving examples ofhierarchy of objects called shapes.Classshapessubclass subclass subclasstriangles squares circlessub-subclassinstancesinstancesinstancesFigure 2 - Object classes and instances4.1.3 Data abstraction an
16、d extendibilityGeneric messages can be used to invoke specific methods on the hidden data. Table 1 is an example of theresponses to a message, depending on the real structure of the object.Table 1 - Relationship between messages and responsesInput message to an object: add (A+B) ResponseA and B real
17、 numbers (A+B)A and B complex numbers (a+jA) + (b+jB) (a+b) + j(A+B)A and B characters string ABA and B others (not recognised type) reject messageThis characteristic makes the addition of new features to produce a new class of specialised objects froman existing one relatively easy.4.1.4 Inside vie
18、w of an objectThe objects contain data and code for procedures to manipulate the data. These procedures are referred toas “methods“ in the object-oriented terminology. This containment of data and procedure within an objectis called encapsulation.The data within an object can only be accessed by the
19、 internal procedure and in order to access andmanipulate this data, an appropriate method needs to reside inside the relevant object, see figure 3. If therequired method does not exist within the object then the request would be ineffective and rejected.Any object can be a composite object made up o
20、f any number of one or more objects, not visibleexternally.- 3 -PPPPPPPP12345678DATAexternal interfacecomposite objectIO internal objectinternal mechanism for message distributionP - P - Procedures 1 - 818Figure 2 - Inside structure of an object4.2 Object-oriented programming languagesWriting progra
21、ms using an object-oriented approach requires object-oriented programming languages(OOPL).A number of object-oriented programming languages have emerged such as SIMULA, LISP, MODULA,ADA, SMALLTALK-80 and, as noted above, C+. None of them are perfect object-oriented programminglanguages, but each add
22、resses some of the requirements . In addition, object-oriented features have beenadded to other popular programming languages such as PASCAL.C+ and SMALLTALK-80 appear to be emerging as the leading object-oriented programming languages.4.3 Benefits of object-oriented systems4.3.1 Increased productiv
23、ityObject-oriented technology increases productivity through the software life cycle offering return oninvestment.With the object-oriented approach time required for software system design phase is found to be reducedby as much as half with perhaps only a quarter of the effort in man-years being req
24、uired compared with aconventional approach.4.3.2 Models complexityA physical system can be mapped on to a software design by identifying all significant physical objectsand mapping them on to classes of corresponding software objects which could be arranged in a hierarchy.The approach consists of de
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ECMATR591992OBJECTORIENTEDDATABASES 面向 对象 数据库 PDF

链接地址:http://www.mydoc123.com/p-704868.html