SlideShare a Scribd company logo
Overview of Object-Oriented Concepts Characteristics
BY VIKAS JAGTAP
1.1 Overview of Object-Oriented Concepts Characteristics:
Object-oriented data base systems are proposed as alternative
to relational systems and are aimed at application domains
where complex objects play a central role.
The approach is heavily influenced by object-oriented
programming languages and can be understood as an attempt to
add DBMS functionality to a programming language
environment
The Object Database Management Group (ODMG) has developed
a standard Object Data Model (ODM) and Object Query Language
(OQL), which are the equivalent of the SQL standard for relational
database system.
Object Relational Database Systems:
Object-Relational Data Base Management System (ORDBMS), is a
database management system (DBMS) similar to a relational
database, but with an object-oriented database model,
objects, classes, inheritance and polymorphism are directly
supported in database schemas and in the query language. In
addition, it supports extension of the data model with custom data-
types and methods.
• One aim for the Object-relational database is to bridge the gap
between conceptual data modeling techniques such as Entity-
relationship diagram (ERD) and object-relational mapping (ORM),
which often use classes and inheritance, and relational databases,
which do not directly support them.
Another, related, aim is to bridge the gap between relational
databases and the object-oriented modeling techniques used in
programming languages such as Java, C++, or C#.
Object oriented programming
Data Base capabilities
An OODB bridges gap between OOP & Data Base Technology
Inheritance
Data Encapsulation Object Identity
Polymorphism
Security
Integrity
versioning
Transactions
Persistence
Concurrency
Query
Recovery
Archive
An object-relational DBMS allows software-developers to integrate
their own types and the methods that apply to them into the
DBMS.
ORDBMS technology aims to allow developers to raise the level of
abstraction at which they view the problem domain.
This goal is not universally shared; proponents of relational
databases often argue that object-oriented specification lowers the
abstraction level.
Many SQL ORDBMS in the market today are extensible with user-
defined types (UDT) and custom-written functions (e.g. stored
procedures).
Some (e.g. Microsoft SQL Server) allow such functions to be
written in object-oriented programming languages, but this by
itself doesn't make them object-oriented databases; in an object-
oriented database, object orientation is a feature of the data model.
Any product that adheres to the object-oriented aspects of
SQL:1999 could be described as an object-relational database
management product.
For example, IBM's DB2, Oracle database, and Microsoft SQL
Server, make claims to support this technology and do so with
varying degrees of success.
1.2 Objects: An object is the basic building block of object-
oriented programming.
Programmers developing a system model create object classes to
represent each component of a system.
Those generic classes are then used to create specific instances of
each object for use in the program.
Objects may interact with each other through the use of
methods.
Examples: In an object-oriented personnel database, there
might be a generic object class called "Employee."
Administrators may then create specific instances of that object
for individual employees, such as "Bill Jones" and "Mary Evans.“
 Users may then interact with those objects using methods
For example: HR personnel might use the increase_salary(x)
method to increase an employee's salary by $X. Mary would be
given a $500 raise by invoking "Mary Evans"-
>increase_salary(500).
OID’s:
In object database systems, data objects can be given an object
identifier (OID), which is some value i.e unique in the database
across time.
The DBMS is responsible for generating OID’s,
ensuring that an OID identifies an object uniquely over its entire
life time.
• OIDs can be system generated and user defined.
Reference Types:
The reference types are used in order to refer to a particular
location in table.
• Classes:
A class defines the data values stored by, and the functionality
associated with, an object of that class.
• One of the primary advantages of OO data
modeling is this tight integration of data and
behavior through class mechanism.
• Each object belongs to one, and only one, class.
• An object is often referred to as an instance of a
class.
• A class specification provides the external view of
the instances of that class.
• A class has an extent (sometimes called an extension), which is the
set of all instances of the class.
• Within an OODBMS, the class construct is normally used to define
the database schema.
• Some OODBMS use the term type instead of class. The OODBMS
schema defines what objects may be stored within the database.
Attributes:
Attributes represent data components that make up the content
of a class. Attributes are called data members in the C++
programming language.
• Instance attributes are data components that are stored by each
instance of the class. Class attributes (static data members in C++)
are data values stored once for all instances of the class.
• Attributes may or may not be visible to external users of the class.
Attribute types are typically a subset of the basic data types
supported by the programming language that interfaces to the
OODBMS.
Typically this includes enumeration types such as characters and
booleans, numeric types such as integers and floats, and fixed
length arrays of these types such as strings.
The OODBMS may allow variable length arrays, structures (i.e.,
records) and classes as attribute types.
Pointers are normally not good candidates for attribute types since
pointer values are not valid across application executions.
An OODBMS will provide attribute types that support inter-object
references.
OO applications are characterized by a network of inter-connected
objects.
Object inter-connections are supported by attributes that reference
other objects.
Other types that might be supported by an OODBMS include text,
graphic, and audio.
Often these data types are referred to as binary large objects
(BLOBS).
 Derived attributes are attributes that are not explicitly stored but
instead calculated on demand.
Derived attributes require that attribute access be in-distinguishable
from behavior invocation
 Behaviors:
Behaviors represent the functional component of a class.
• A behavior describes how an object operates upon its attributes and
how it interacts with other related objects.
• Behaviors are called member functions in the C++ programming
language.
• Behaviors hide their implementation details from users of a class.
Encapsulation:
Classes are said to encapsulate the attributes and behaviors of their
instances.
• Behavior encapsulation shields the clients of a class (i.e.,
applications or other classes) from seeing the internal
implementation of a behavior.
• This shielding provides a degree of data independence so that
clients need not be modified when behavior implementations are
modified (they will have to be modified if behavior interfaces
change).
• A class's attributes may or may not be encapsulated.
• Attributes that are directly accessible to clients of a class are not
encapsulated (public data members in C++ classes).
• Modifying the definition of a class's attributes that are not
encapsulated requires modification of all clients that access them.
• Attributes that are not accessible to the clients of a class are
encapsulated (private or protected data members in C++ classes).
• Encapsulated attributes typically have behaviors that provide clients
some form of access to the attribute.
• Modifications to these attributes typically do not require
modification to clients of the class.
Inheritance:
Inheritance allows one class to incorporate the attributes and
behaviors of one or more other classes.
 A subclass is said to inherit from one or more super classes.
The subclass is a specialization of the super class in that it adds
additional data or behaviors, or overrides behaviors of the super
class.
Super classes are generalizations of their subclasses.
Inheritance is recursive.
A class inherits the attributes and behaviors from its super classes,
and from its super class's super classes, etc.
In a single inheritance model, a class may directly inherit from only
a single other class.
In a multiple inheritance model a class may directly inherit from
more than one other class.
Systems supporting multiple inheritance must specify how
inheritance conflicts are handled.
Inheritance conflicts are attributes or behaviors with the same name
in a class and its superclass, or in two superclasses.
Inheritance is a powerful OO modeling concept that supports reuse
and extensibility of existing classes.
The inheritance relationships between a group of classes define a
class hierarchy.
Class hierarchies improve the ability of users to understanding
software systems by allowing knowledge of one class (a super class)
to be applicable to other classes (its subclasses).
Polymorphism:
Polymorphism allows the same operator or symbol to have
different implementations, depending on the type of objects to
which the operator is applied.
• Polymorphism and dynamic binding allow one to define operations
for one object and then to share the specification of the operation
with other objects.
• These objects can further extend this operation to provide
behaviors that are unique to those objects.
• Dynamic binding determines at runtime, which of these operations
is actually executed, depending on the class of the object requested
to perform the operation.
• Polymorphism and dynamic binding are powerful object-oriented
features that allow one to compose objects to provide solutions
without having to write code that is specific to each object.
• All of these capabilities come together synergistically to provide
significant productivity advantages to database application
developers.
DATABASE DESIGN FOR ORDBMS:
 The main objective of ORDBMS design was to achieve the
benefits of both the relational and the object models such as
scalability and support for rich data types.
ORDBMSs employ a data model that attempts to incorporate
OO features into RDBMSs.
All database information is stored in tables, but some of the
tabular entries may have richer data structure, termed abstract
data types (ADTs).
An ORDBMS supports an extended form of
SQL called SQL3 that is still in the development
stages.
The extensions are needed because ORDBMSs have to support
ADT's.
The ORDBMS has the relational model in it because the data is
stored in the form of tables having rows and columns and SQL is
used as the query language and the result of a query is also table or
tuples (rows).
But the relational model has to be drastically modified in order to
support the classic features of object-oriented programming.
Hence the characteristics of an ORDBMSs are:
Base data type extension
Support complex objects,
Inheritance, and
Rule Systems.
ORDBMS allow users to define data types, functions and operators.
As a result, the functionality of the ORDBMSs increases along with
their performance.
An example schema of a student relation which ORDBMS supports
is :
STUDENT
(fname,lname,ID,sex,major,address,dname,location,picture).
The extra attributes "location" and "picture" which are not present
in the traditional EMPLOYEE relation of RDBMS. The data type of
"location" is "geographic point" and that of "picture" is "image“ are
included in ORDBMS.
1.4 Comparing RDBMS,OODBMS & ORDBMS:
Criteria RDBMS OODBMS
ORDB
MS
Defining
standard
SQL2 ODMG-2.0
SQL3
(in
proces
s)
Support for
object-oriented
features
Does not support; It is
difficult to map program
object to the database
Supports extensively
Limited
support
;
mostly
to new
data
types
Usage Easy to use
OK for programmers; some
SQL access for end users
Easy to
use
except
for
some
extensi
ons
Support for
Complex
relationships
Does not support abstract
data types
Supports a wide variety of
data types and data with
complex inter-relationships
Supports
Abstract
Data types
And
Complex
Relationship
s
Performance Very good performance Relatively less performance
Expected to
perform very
well
Product
maturity
Relatively old and so very
mature
This concept is few years old
and so relatively mature
Still in
Developmen
t
stage so
immature.
The use of
SQL
Extensive supports SQL
OQL is similar to SQL, but with
additional features like Complex
objects and object-oriented
features.
SQL3 is
Being
Developed
with OO
Features
Incorporated
in it
Advantages
Its dependence on SQL,
relatively simple query
optimization hence good
Performance
It can handle all types of
complex applications,
reusability
of code, less coding
Ability to
Query
Complex
Applications
and ability
To
handle large
And
complex
Applications
Disadvantages
Inability to handle complex
Applications
Low performance due to
complex query optimization,
inability to support large
scale
Systems
Low
Performanc
e
in web
Applications
Support from
vendors
It is considered to be highly
successful so the market
size is
very large but many vendors
are
moving towards ORDBMS
Presently lacking vendor
support due to vast size of
RDBMS market
All major
RDBMS
vendors are
after this so
has very
good future
The main advantage of ORDBMSs is their massive scalability.
Oracle8, released by Oracle Corporation, is designed to manage
large amounts of information.
Oracle8 is expected to help NASDAQ manage its Very Large Data
Bases, VLDBs, which contain hundreds of gigabytes of time series
applications are required by traders and analysts to examine trends
on stock data.
 In spite of many advantages, ORDBMSs also have a drawback.
The architecture of object-relational model is not appropriate for
high-speed web applications.
However, with advantages like large storage capacity, access speed,
and manipulation power of object databases, ORDBMSs are set to
conquer the database market.
The support from major DBMS vendors and its features will make
ORDBMSs the market leader.
The International Data Corporation (IDC) also expresses the
opinion that the ORDBMS market will surpass the size of the
ODBMS market in next three years.

More Related Content

What's hot

All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
Implementation Issue with ORDBMS
Implementation Issue with ORDBMSImplementation Issue with ORDBMS
Implementation Issue with ORDBMS
Sandeep Poudel
 
Object oriented database
Object oriented databaseObject oriented database
Object oriented database
Md. Hasan Imam Bijoy
 
ER MODEL
ER MODELER MODEL
ER MODEL
Rupali Rana
 
Rdbms
RdbmsRdbms
Rdbms
rdbms
 
Ooad
OoadOoad
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
Rabin BK
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJ
Dharita Chokshi
 
Object persistence
Object persistenceObject persistence
Object persistenceVlad Vega
 
Data models
Data modelsData models
Data models
RituBhargava7
 
EER modeling
EER modelingEER modeling
EER modeling
Dabbal Singh Mahara
 
PPL, OQL & oodbms
PPL, OQL & oodbmsPPL, OQL & oodbms
PPL, OQL & oodbms
ramandeep brar
 
Encapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistenceEncapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistence
Prem Lamsal
 
The database applications
The database applicationsThe database applications
The database applications
Dolat Ram
 
DBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCLDBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCL
Sreedhar Chowdam
 
Chapter02
Chapter02Chapter02
Chapter02
sasa_eldoby
 
Xml databases
Xml databasesXml databases
Xml databases
Srinivasan R
 
embedded-static-&dynamic
embedded-static-&dynamicembedded-static-&dynamic
embedded-static-&dynamic
Saranya Natarajan
 

What's hot (20)

All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Implementation Issue with ORDBMS
Implementation Issue with ORDBMSImplementation Issue with ORDBMS
Implementation Issue with ORDBMS
 
Object oriented database
Object oriented databaseObject oriented database
Object oriented database
 
ER MODEL
ER MODELER MODEL
ER MODEL
 
Rdbms
RdbmsRdbms
Rdbms
 
Ooad
OoadOoad
Ooad
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJ
 
Object oriented data model
Object oriented data modelObject oriented data model
Object oriented data model
 
Object persistence
Object persistenceObject persistence
Object persistence
 
Data models
Data modelsData models
Data models
 
EER modeling
EER modelingEER modeling
EER modeling
 
Dbms models
Dbms modelsDbms models
Dbms models
 
PPL, OQL & oodbms
PPL, OQL & oodbmsPPL, OQL & oodbms
PPL, OQL & oodbms
 
Encapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistenceEncapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistence
 
The database applications
The database applicationsThe database applications
The database applications
 
DBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCLDBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCL
 
Chapter02
Chapter02Chapter02
Chapter02
 
Xml databases
Xml databasesXml databases
Xml databases
 
embedded-static-&dynamic
embedded-static-&dynamicembedded-static-&dynamic
embedded-static-&dynamic
 

Viewers also liked

CSCI-383 Lecture 5-6-7: Object-Oriented Design
CSCI-383 Lecture 5-6-7: Object-Oriented DesignCSCI-383 Lecture 5-6-7: Object-Oriented Design
CSCI-383 Lecture 5-6-7: Object-Oriented DesignJI Ruan
 
The Object Oriented Database System Manifesto
The Object Oriented Database System ManifestoThe Object Oriented Database System Manifesto
The Object Oriented Database System Manifesto
Beat Signer
 
Object Oriented Design Concept
Object Oriented Design ConceptObject Oriented Design Concept
Object Oriented Design Concept
Sharath g
 
Object oriented dbms
Object oriented dbmsObject oriented dbms
Object oriented dbms
Kartik Kalpande Patil
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
Sudarsun Santhiappan
 
Chapter 5 software design
Chapter 5 software designChapter 5 software design
Chapter 5 software designPiyush Gogia
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database modelPAQUIAAIZEL
 
Heuristics 101: Understanding and Applying Design Principles
Heuristics 101: Understanding and Applying Design PrinciplesHeuristics 101: Understanding and Applying Design Principles
Heuristics 101: Understanding and Applying Design Principles
Kamaria Campbell
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
maryeem
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMSkoolkampus
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering conceptsKomal Singh
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Conceptsthinkphp
 

Viewers also liked (16)

CSCI-383 Lecture 5-6-7: Object-Oriented Design
CSCI-383 Lecture 5-6-7: Object-Oriented DesignCSCI-383 Lecture 5-6-7: Object-Oriented Design
CSCI-383 Lecture 5-6-7: Object-Oriented Design
 
Comparision
ComparisionComparision
Comparision
 
The Object Oriented Database System Manifesto
The Object Oriented Database System ManifestoThe Object Oriented Database System Manifesto
The Object Oriented Database System Manifesto
 
Oodbms ch 20
Oodbms ch 20Oodbms ch 20
Oodbms ch 20
 
Object Oriented Design Concept
Object Oriented Design ConceptObject Oriented Design Concept
Object Oriented Design Concept
 
Object oriented dbms
Object oriented dbmsObject oriented dbms
Object oriented dbms
 
"Diffrence between RDBMS, OODBMS and ORDBMS"
"Diffrence between RDBMS, OODBMS and  ORDBMS""Diffrence between RDBMS, OODBMS and  ORDBMS"
"Diffrence between RDBMS, OODBMS and ORDBMS"
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Chapter 5 software design
Chapter 5 software designChapter 5 software design
Chapter 5 software design
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
Heuristics 101: Understanding and Applying Design Principles
Heuristics 101: Understanding and Applying Design PrinciplesHeuristics 101: Understanding and Applying Design Principles
Heuristics 101: Understanding and Applying Design Principles
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 

Similar to Overview of Object-Oriented Concepts Characteristics by vikas jagtap

MIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptxMIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptx
elsagalgao
 
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modeling
Pooja Dixit
 
OODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdfOODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdf
ssuserd5e338
 
Object oriented programming
Object oriented programmingObject oriented programming
OOP intro.ppt
OOP intro.pptOOP intro.ppt
OOP intro.ppt
NoreenNyauchiSarai1
 
Concepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptConcepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.ppt
nafsigenet
 
Object Oriented Programming Language is an oop
Object Oriented Programming Language is an oopObject Oriented Programming Language is an oop
Object Oriented Programming Language is an oop
sanaiftikhar23
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
kaavyashruthi
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
RamadossSundaramoort1
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases
Jayanthi Kannan MK
 
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
cscpconf
 
m211c25.ppt
m211c25.pptm211c25.ppt
m211c25.ppt
HaymanotTadese
 
8 oo approach&uml-23_feb
8 oo approach&uml-23_feb8 oo approach&uml-23_feb
8 oo approach&uml-23_febRaj Shah
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
ACCESS Health Digital
 
ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3Erdem Sahin
 
Comparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseComparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented Database
Editor IJMTER
 
JAVA-PPT'S.pdf
JAVA-PPT'S.pdfJAVA-PPT'S.pdf
JAVA-PPT'S.pdf
AnmolVerma363503
 
Abap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorialsAbap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorials
cesarmendez78
 
object oriented Programming ppt
object oriented Programming pptobject oriented Programming ppt
object oriented Programming ppt
Nitesh Dubey
 
Adbms 14 oodbms concepts for managing objects
Adbms 14 oodbms concepts for managing objectsAdbms 14 oodbms concepts for managing objects
Adbms 14 oodbms concepts for managing objects
Vaibhav Khanna
 

Similar to Overview of Object-Oriented Concepts Characteristics by vikas jagtap (20)

MIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptxMIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptx
 
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modeling
 
OODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdfOODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdf
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
OOP intro.ppt
OOP intro.pptOOP intro.ppt
OOP intro.ppt
 
Concepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptConcepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.ppt
 
Object Oriented Programming Language is an oop
Object Oriented Programming Language is an oopObject Oriented Programming Language is an oop
Object Oriented Programming Language is an oop
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases
 
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
 
m211c25.ppt
m211c25.pptm211c25.ppt
m211c25.ppt
 
8 oo approach&uml-23_feb
8 oo approach&uml-23_feb8 oo approach&uml-23_feb
8 oo approach&uml-23_feb
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3
 
Comparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseComparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented Database
 
JAVA-PPT'S.pdf
JAVA-PPT'S.pdfJAVA-PPT'S.pdf
JAVA-PPT'S.pdf
 
Abap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorialsAbap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorials
 
object oriented Programming ppt
object oriented Programming pptobject oriented Programming ppt
object oriented Programming ppt
 
Adbms 14 oodbms concepts for managing objects
Adbms 14 oodbms concepts for managing objectsAdbms 14 oodbms concepts for managing objects
Adbms 14 oodbms concepts for managing objects
 

More from Vikas Jagtap

ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
Vikas Jagtap
 
broad band networks
 broad band networks broad band networks
broad band networks
Vikas Jagtap
 
Simple Network Management Protocol by vikas jagtap
Simple Network Management Protocol by vikas jagtapSimple Network Management Protocol by vikas jagtap
Simple Network Management Protocol by vikas jagtap
Vikas Jagtap
 
KNOWLEDGE BASE SYSTEMS
KNOWLEDGE  BASE SYSTEMSKNOWLEDGE  BASE SYSTEMS
KNOWLEDGE BASE SYSTEMS
Vikas Jagtap
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
Vikas Jagtap
 
things which make think ooh!!!!!!!! by vikas jagtap
things which make think ooh!!!!!!!! by vikas jagtapthings which make think ooh!!!!!!!! by vikas jagtap
things which make think ooh!!!!!!!! by vikas jagtap
Vikas Jagtap
 
Paradise on earth
Paradise on earthParadise on earth
Paradise on earth
Vikas Jagtap
 
Dear son daughter by vikas jagtap
Dear son daughter   by vikas jagtapDear son daughter   by vikas jagtap
Dear son daughter by vikas jagtap
Vikas Jagtap
 
Double vision by vikas jagtap
Double vision by vikas jagtapDouble vision by vikas jagtap
Double vision by vikas jagtap
Vikas Jagtap
 
Dubai by vikas jagtap
Dubai by vikas jagtapDubai by vikas jagtap
Dubai by vikas jagtap
Vikas Jagtap
 
District of maharashtra by vikas jagtap
District of maharashtra by vikas jagtapDistrict of maharashtra by vikas jagtap
District of maharashtra by vikas jagtap
Vikas Jagtap
 
Cr java concept by vikas jagtap
Cr java  concept by vikas jagtapCr java  concept by vikas jagtap
Cr java concept by vikas jagtap
Vikas Jagtap
 
Jdbc ppt
Jdbc pptJdbc ppt
Jdbc ppt
Vikas Jagtap
 
Jsp ppt
Jsp pptJsp ppt
Jsp ppt
Vikas Jagtap
 
Servlet ppt by vikas jagtap
Servlet ppt by vikas jagtapServlet ppt by vikas jagtap
Servlet ppt by vikas jagtap
Vikas Jagtap
 
Animation technique
Animation techniqueAnimation technique
Animation techniqueVikas Jagtap
 
Amit
AmitAmit
An Introduction to BLUETOOTH TECHNOLOGY
An Introduction to BLUETOOTH TECHNOLOGYAn Introduction to BLUETOOTH TECHNOLOGY
An Introduction to BLUETOOTH TECHNOLOGY
Vikas Jagtap
 
Network security
 Network security Network security
Network security
Vikas Jagtap
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)
Vikas Jagtap
 

More from Vikas Jagtap (20)

ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
broad band networks
 broad band networks broad band networks
broad band networks
 
Simple Network Management Protocol by vikas jagtap
Simple Network Management Protocol by vikas jagtapSimple Network Management Protocol by vikas jagtap
Simple Network Management Protocol by vikas jagtap
 
KNOWLEDGE BASE SYSTEMS
KNOWLEDGE  BASE SYSTEMSKNOWLEDGE  BASE SYSTEMS
KNOWLEDGE BASE SYSTEMS
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
 
things which make think ooh!!!!!!!! by vikas jagtap
things which make think ooh!!!!!!!! by vikas jagtapthings which make think ooh!!!!!!!! by vikas jagtap
things which make think ooh!!!!!!!! by vikas jagtap
 
Paradise on earth
Paradise on earthParadise on earth
Paradise on earth
 
Dear son daughter by vikas jagtap
Dear son daughter   by vikas jagtapDear son daughter   by vikas jagtap
Dear son daughter by vikas jagtap
 
Double vision by vikas jagtap
Double vision by vikas jagtapDouble vision by vikas jagtap
Double vision by vikas jagtap
 
Dubai by vikas jagtap
Dubai by vikas jagtapDubai by vikas jagtap
Dubai by vikas jagtap
 
District of maharashtra by vikas jagtap
District of maharashtra by vikas jagtapDistrict of maharashtra by vikas jagtap
District of maharashtra by vikas jagtap
 
Cr java concept by vikas jagtap
Cr java  concept by vikas jagtapCr java  concept by vikas jagtap
Cr java concept by vikas jagtap
 
Jdbc ppt
Jdbc pptJdbc ppt
Jdbc ppt
 
Jsp ppt
Jsp pptJsp ppt
Jsp ppt
 
Servlet ppt by vikas jagtap
Servlet ppt by vikas jagtapServlet ppt by vikas jagtap
Servlet ppt by vikas jagtap
 
Animation technique
Animation techniqueAnimation technique
Animation technique
 
Amit
AmitAmit
Amit
 
An Introduction to BLUETOOTH TECHNOLOGY
An Introduction to BLUETOOTH TECHNOLOGYAn Introduction to BLUETOOTH TECHNOLOGY
An Introduction to BLUETOOTH TECHNOLOGY
 
Network security
 Network security Network security
Network security
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 

Overview of Object-Oriented Concepts Characteristics by vikas jagtap

  • 1. Overview of Object-Oriented Concepts Characteristics BY VIKAS JAGTAP
  • 2. 1.1 Overview of Object-Oriented Concepts Characteristics: Object-oriented data base systems are proposed as alternative to relational systems and are aimed at application domains where complex objects play a central role. The approach is heavily influenced by object-oriented programming languages and can be understood as an attempt to add DBMS functionality to a programming language environment
  • 3. The Object Database Management Group (ODMG) has developed a standard Object Data Model (ODM) and Object Query Language (OQL), which are the equivalent of the SQL standard for relational database system. Object Relational Database Systems: Object-Relational Data Base Management System (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model,
  • 4. objects, classes, inheritance and polymorphism are directly supported in database schemas and in the query language. In addition, it supports extension of the data model with custom data- types and methods. • One aim for the Object-relational database is to bridge the gap between conceptual data modeling techniques such as Entity- relationship diagram (ERD) and object-relational mapping (ORM),
  • 5. which often use classes and inheritance, and relational databases, which do not directly support them. Another, related, aim is to bridge the gap between relational databases and the object-oriented modeling techniques used in programming languages such as Java, C++, or C#.
  • 6. Object oriented programming Data Base capabilities An OODB bridges gap between OOP & Data Base Technology Inheritance Data Encapsulation Object Identity Polymorphism Security Integrity versioning Transactions Persistence Concurrency Query Recovery Archive
  • 7. An object-relational DBMS allows software-developers to integrate their own types and the methods that apply to them into the DBMS. ORDBMS technology aims to allow developers to raise the level of abstraction at which they view the problem domain. This goal is not universally shared; proponents of relational databases often argue that object-oriented specification lowers the abstraction level.
  • 8. Many SQL ORDBMS in the market today are extensible with user- defined types (UDT) and custom-written functions (e.g. stored procedures). Some (e.g. Microsoft SQL Server) allow such functions to be written in object-oriented programming languages, but this by itself doesn't make them object-oriented databases; in an object- oriented database, object orientation is a feature of the data model.
  • 9. Any product that adheres to the object-oriented aspects of SQL:1999 could be described as an object-relational database management product. For example, IBM's DB2, Oracle database, and Microsoft SQL Server, make claims to support this technology and do so with varying degrees of success.
  • 10. 1.2 Objects: An object is the basic building block of object- oriented programming. Programmers developing a system model create object classes to represent each component of a system. Those generic classes are then used to create specific instances of each object for use in the program. Objects may interact with each other through the use of methods.
  • 11. Examples: In an object-oriented personnel database, there might be a generic object class called "Employee." Administrators may then create specific instances of that object for individual employees, such as "Bill Jones" and "Mary Evans.“  Users may then interact with those objects using methods
  • 12. For example: HR personnel might use the increase_salary(x) method to increase an employee's salary by $X. Mary would be given a $500 raise by invoking "Mary Evans"- >increase_salary(500). OID’s: In object database systems, data objects can be given an object identifier (OID), which is some value i.e unique in the database across time. The DBMS is responsible for generating OID’s,
  • 13. ensuring that an OID identifies an object uniquely over its entire life time. • OIDs can be system generated and user defined. Reference Types: The reference types are used in order to refer to a particular location in table. • Classes: A class defines the data values stored by, and the functionality associated with, an object of that class.
  • 14. • One of the primary advantages of OO data modeling is this tight integration of data and behavior through class mechanism. • Each object belongs to one, and only one, class. • An object is often referred to as an instance of a class. • A class specification provides the external view of the instances of that class.
  • 15. • A class has an extent (sometimes called an extension), which is the set of all instances of the class. • Within an OODBMS, the class construct is normally used to define the database schema. • Some OODBMS use the term type instead of class. The OODBMS schema defines what objects may be stored within the database.
  • 16. Attributes: Attributes represent data components that make up the content of a class. Attributes are called data members in the C++ programming language. • Instance attributes are data components that are stored by each instance of the class. Class attributes (static data members in C++) are data values stored once for all instances of the class. • Attributes may or may not be visible to external users of the class.
  • 17. Attribute types are typically a subset of the basic data types supported by the programming language that interfaces to the OODBMS. Typically this includes enumeration types such as characters and booleans, numeric types such as integers and floats, and fixed length arrays of these types such as strings. The OODBMS may allow variable length arrays, structures (i.e., records) and classes as attribute types. Pointers are normally not good candidates for attribute types since pointer values are not valid across application executions.
  • 18. An OODBMS will provide attribute types that support inter-object references. OO applications are characterized by a network of inter-connected objects. Object inter-connections are supported by attributes that reference other objects. Other types that might be supported by an OODBMS include text, graphic, and audio. Often these data types are referred to as binary large objects (BLOBS).  Derived attributes are attributes that are not explicitly stored but instead calculated on demand.
  • 19. Derived attributes require that attribute access be in-distinguishable from behavior invocation  Behaviors: Behaviors represent the functional component of a class. • A behavior describes how an object operates upon its attributes and how it interacts with other related objects. • Behaviors are called member functions in the C++ programming language. • Behaviors hide their implementation details from users of a class.
  • 20. Encapsulation: Classes are said to encapsulate the attributes and behaviors of their instances. • Behavior encapsulation shields the clients of a class (i.e., applications or other classes) from seeing the internal implementation of a behavior. • This shielding provides a degree of data independence so that clients need not be modified when behavior implementations are modified (they will have to be modified if behavior interfaces change). • A class's attributes may or may not be encapsulated.
  • 21. • Attributes that are directly accessible to clients of a class are not encapsulated (public data members in C++ classes). • Modifying the definition of a class's attributes that are not encapsulated requires modification of all clients that access them. • Attributes that are not accessible to the clients of a class are encapsulated (private or protected data members in C++ classes). • Encapsulated attributes typically have behaviors that provide clients some form of access to the attribute.
  • 22. • Modifications to these attributes typically do not require modification to clients of the class. Inheritance: Inheritance allows one class to incorporate the attributes and behaviors of one or more other classes.  A subclass is said to inherit from one or more super classes. The subclass is a specialization of the super class in that it adds additional data or behaviors, or overrides behaviors of the super class.
  • 23. Super classes are generalizations of their subclasses. Inheritance is recursive. A class inherits the attributes and behaviors from its super classes, and from its super class's super classes, etc. In a single inheritance model, a class may directly inherit from only a single other class. In a multiple inheritance model a class may directly inherit from more than one other class.
  • 24. Systems supporting multiple inheritance must specify how inheritance conflicts are handled. Inheritance conflicts are attributes or behaviors with the same name in a class and its superclass, or in two superclasses. Inheritance is a powerful OO modeling concept that supports reuse and extensibility of existing classes. The inheritance relationships between a group of classes define a class hierarchy.
  • 25. Class hierarchies improve the ability of users to understanding software systems by allowing knowledge of one class (a super class) to be applicable to other classes (its subclasses). Polymorphism: Polymorphism allows the same operator or symbol to have different implementations, depending on the type of objects to which the operator is applied.
  • 26. • Polymorphism and dynamic binding allow one to define operations for one object and then to share the specification of the operation with other objects. • These objects can further extend this operation to provide behaviors that are unique to those objects. • Dynamic binding determines at runtime, which of these operations is actually executed, depending on the class of the object requested to perform the operation.
  • 27. • Polymorphism and dynamic binding are powerful object-oriented features that allow one to compose objects to provide solutions without having to write code that is specific to each object. • All of these capabilities come together synergistically to provide significant productivity advantages to database application developers.
  • 28. DATABASE DESIGN FOR ORDBMS:  The main objective of ORDBMS design was to achieve the benefits of both the relational and the object models such as scalability and support for rich data types. ORDBMSs employ a data model that attempts to incorporate OO features into RDBMSs. All database information is stored in tables, but some of the tabular entries may have richer data structure, termed abstract data types (ADTs).
  • 29. An ORDBMS supports an extended form of SQL called SQL3 that is still in the development stages. The extensions are needed because ORDBMSs have to support ADT's. The ORDBMS has the relational model in it because the data is stored in the form of tables having rows and columns and SQL is used as the query language and the result of a query is also table or tuples (rows).
  • 30. But the relational model has to be drastically modified in order to support the classic features of object-oriented programming. Hence the characteristics of an ORDBMSs are: Base data type extension Support complex objects, Inheritance, and Rule Systems.
  • 31. ORDBMS allow users to define data types, functions and operators. As a result, the functionality of the ORDBMSs increases along with their performance. An example schema of a student relation which ORDBMS supports is : STUDENT (fname,lname,ID,sex,major,address,dname,location,picture).
  • 32. The extra attributes "location" and "picture" which are not present in the traditional EMPLOYEE relation of RDBMS. The data type of "location" is "geographic point" and that of "picture" is "image“ are included in ORDBMS.
  • 33. 1.4 Comparing RDBMS,OODBMS & ORDBMS: Criteria RDBMS OODBMS ORDB MS Defining standard SQL2 ODMG-2.0 SQL3 (in proces s) Support for object-oriented features Does not support; It is difficult to map program object to the database Supports extensively Limited support ; mostly to new data types Usage Easy to use OK for programmers; some SQL access for end users Easy to use except for some extensi ons
  • 34. Support for Complex relationships Does not support abstract data types Supports a wide variety of data types and data with complex inter-relationships Supports Abstract Data types And Complex Relationship s Performance Very good performance Relatively less performance Expected to perform very well Product maturity Relatively old and so very mature This concept is few years old and so relatively mature Still in Developmen t stage so immature. The use of SQL Extensive supports SQL OQL is similar to SQL, but with additional features like Complex objects and object-oriented features. SQL3 is Being Developed with OO Features Incorporated in it
  • 35. Advantages Its dependence on SQL, relatively simple query optimization hence good Performance It can handle all types of complex applications, reusability of code, less coding Ability to Query Complex Applications and ability To handle large And complex Applications Disadvantages Inability to handle complex Applications Low performance due to complex query optimization, inability to support large scale Systems Low Performanc e in web Applications Support from vendors It is considered to be highly successful so the market size is very large but many vendors are moving towards ORDBMS Presently lacking vendor support due to vast size of RDBMS market All major RDBMS vendors are after this so has very good future
  • 36. The main advantage of ORDBMSs is their massive scalability. Oracle8, released by Oracle Corporation, is designed to manage large amounts of information. Oracle8 is expected to help NASDAQ manage its Very Large Data Bases, VLDBs, which contain hundreds of gigabytes of time series applications are required by traders and analysts to examine trends on stock data.  In spite of many advantages, ORDBMSs also have a drawback.
  • 37. The architecture of object-relational model is not appropriate for high-speed web applications. However, with advantages like large storage capacity, access speed, and manipulation power of object databases, ORDBMSs are set to conquer the database market. The support from major DBMS vendors and its features will make ORDBMSs the market leader.
  • 38. The International Data Corporation (IDC) also expresses the opinion that the ORDBMS market will surpass the size of the ODBMS market in next three years.