Seminarium on Component-based Software Engineering Feraaz Imami LIACS – Leiden University Fall 2005 Component Object Model (COM)

Slides:



Advertisements
Similar presentations
Component Object Model
Advertisements

Microsoft Word © Automation from Microsoft Access © by Ofer Shimrat for AUGSD MS Office Versions 2000 & 2002.
Fundamentals of COM Mary Kirtland Program Manager COM Team Microsoft Corporation.
COM vs. CORBA.
Software Architectural Design Software Components Instructor Dr. Lawrence Chung.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
CORBA - Common Object Request Broker Architecture.
Intro to COM What is it and how do I use it?. Objectives Teach the fundamentals of COM. Understand the reason for using it. Learn to make a simple in-process.
Component-based Software Engineering Marcello Bonsangue LIACS – Leiden University Fall 2005 Component Model Comparison.
Software Engineering 6/e, Chapter 8
OPC - OLE For Process Control Paul C. Shafer Bently Nevada Corp.
A brief look at CORBA. What is CORBA Common Object Request Broker Architecture developed by OMG Combine benefits of OO and distributed computing Distributed.
Computer Science Lecture 24, page 1 CS677: Distributed OS Today: More Case Studies DCOM Jini.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
University of Genoa Course of Software Engineering II 01-02
1 COM/DCOM n Part of Project Presentation (Concept Outline)
Page 1 Building Reliable Component-based Systems Chapter 18 - A Framework for Integrating Business Applications Chapter 18 A Framework for Integrating.
Object Based Operating Systems1 Learning Objectives Object Orientation and its benefits Controversy over object based operating systems Object based operating.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
WebDynpro for ABAP Short introduction.
COM: Microsoft's Component Object Model Andrew C. Hopkins CSCI 397C-16 Object Oriented Database Design and Management Professor Renee Renner.
Object Linking and Embedding A tool which allows different software application packages to share data.
Copyright 2004, SPSS Inc. 1 Using the SPSS MR Data Model Sam Winstanley Solution Architect - SPSS 21 st January 2004.
DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,
UNIT-V The MVC architecture and Struts Framework.
1 DirectX CIS 487/587 Bruce R. Maxim UM-Dearborn.
Intro to COM What is it and what can it do for me?
DCOM Technology. What is DCOM? DCOM is just COM with a longer wire DCOM is just COM with a longer wire DCOM extends COM to support communication among.
DCOM Technology Şevket Duran Haşim Sak.
1 Modular Software/ Component Software 2 Modular Software Code developed in modules. Modules can then be linked together to produce finished product/program.
Visual Basic: An Object Oriented Approach 12 – Creating and using ActiveX objects.
L6 - March 1, 2006copyright Thomas Pole , all rights reserved 1 Lecture 6: Software Packaging: Dynamically Integrable Components and Text Ch.
CSC Proprietary 9/11/2015 2:16:16 AM 008_P2_CSC_white 1.
Software components With special focus on DLL Software components1.
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
Fundamentals of Database Chapter 7 Database Technologies.
Threading Models in Visual Basic Language Student Name: Danyu Xu Student ID:98044.
Chapter 1: Creating ActiveX Clients By Noppadon Kamolvilassatian Dept. of Computer Engineering, Prince of Songkla University Source: Mastering Visual Basic.
Microsoft’s Distributed Component Object Model (DCOM) Jim Ries Updated 10/5/1999 A semi-technical overview.
COM/DCOM Implementation Basics of: Object creation and access Object Reuse Interface referencing.
OLE / COM Helia / Martti Laiho Sources: MSDN Kraig Brockschmidt: Inside OLE Orfali-Harkey-Erwards: Client/Server Survival Guide.
COM and DCOM CS 562 February 27, Motivation Data Analyzer Resource Monitor int compute (…) { } int compute (…) { } Data Analyzer int compute (…)
Introduction to COM and DCOM Organizational Communications and Technologies Prithvi N. Rao H. John Heinz III School of Public Policy and Management Carnegie.
CS 603 DCOM April 5, DCOM – What is it? Start with COM – Component Object Model –Language-independent object interface Add interprocess communication.
COMCOM omponent bject odel After this presentation, you will: Be Able To: Conceptual understanding of COM How it works, What it’s used for Decode Acronyms.
Component Object Model
Information Management NTU Interprocess Communication and Middleware.
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
Ni.com Understanding COM/ActiveX Jeff Paulter Staff Software Engineer Thurs Aug 17 10:15-11:30 a.m., 1:45-3:00 p.m. Ash (10A) Jeff Paulter Staff Software.
Introduction to COM and ActiveX Controls. What is an object? In the Fayad sense of the word.
Component Technology. Challenges Facing the Software Industry Today’s applications are large & complex – time consuming to develop, difficult and costly.
Modelling Class T16: Conceptual Modelling – Architecture Image from
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Implementation Diagrams
GAM666 – Introduction To Game Programming ● DirectX is implemented as a collection of COM objects ● To use a DirectX program, the user must have the correct.
COM / DCOM Xiaolan Lu Mingzhen Wang Dong Xie. Why COM / DCOM?  Challenges facing the software industry  Component software provides a solution  General.
Client – Server Architecture A Basic Introduction 1.
1 Distributed Processing Framework Behind the scenes.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
R R R CSE870: UML Component Diagrams Implementation Diagrams.
Component Object Model(COM)
Microsoft’s Distributed Component Object Model (DCOM)
Out-of-Process Components
Flexible Extensible Digital Object Repository Architecture
Flexible Extensible Digital Object Repository Architecture
Out-of-Process Components
Presented By Justas Raslanas
Jim Fawcett CSE775 – Distributed Objects Spring 2007
CORBA and COM TIP Two practical techniques for object composition
Presentation transcript:

Seminarium on Component-based Software Engineering Feraaz Imami LIACS – Leiden University Fall 2005 Component Object Model (COM)

11/11/2005Seminar Component Based Software Engineering 2 Introduction: COM  Binary software components  Foundation for higher-level software services Example OLE,  Compound documents, custom controls, inter-application scripting, data transfer etc.  Com, developing and supporting program component objects.  Dynamic Link library  Interoperability and reusability

11/11/2005Seminar Component Based Software Engineering 3 COM  Com is a binary standard. defines an interface,  pointer to an interface node  Basis for interoperability. Point of contact is the runtime binary represent.,  C, C++, SmallTalk, Ada, and BASIC.

11/11/2005Seminar Component Based Software Engineering 4 COM – Multiple Interfaces  Com component is free to contain implementations for any number of interfaces. Multiple interfaces Avoid versioning problem; Logical immutable IDL ex. page 333

11/11/2005Seminar Component Based Software Engineering 5 QueryInterface  How does a client access the other interfaces on that same object?  IID – Interface Identifier  IUnknown QueryInterface AddRef Release.  AddRef, Release used in reference counting

11/11/2005Seminar Component Based Software Engineering 6 COM object reuse  Containment/Delegation: The outer object behaves like an object client to the inner object.  Aggregation: The outer object wishes to expose interfaces from the inner object as if they where implemented on the outer object itself.

11/11/2005Seminar Component Based Software Engineering 7 Versioning  A good versioning mechanism allows system component be upgraded without requiring all the system components to be upgraded.  QueryInterface allows an object to make more interfaces (that is, new groups of functions) available to new clients while at the same time retaining complete binary compatibility with existing client code.

11/11/2005Seminar Component Based Software Engineering 8 COM object creation  COM, Class Instance, GUID, CLSID.  The Com library provides a way for clients to start an object server.

11/11/2005Seminar Component Based Software Engineering 9 Monikers, storage and persistence  Structured storage and persistence: Com objects need a way to store their data when they are running.  Monikers: Clients often require a way to allow them to connect to the exact same object instance with the exact same state at a later point in time.

11/11/2005Seminar Component Based Software Engineering 10 COM services  Uniform data transfer: UDT is a important mechanism in any component-based software. Ex. OLE  Dispatch Interfaces: Includes the method invoke that can invoke other methods.  Dual interfaces: Access methods as either dispInterface methods or vtables methods.  Connectable Objects: This enables two-way communication between the client and the component.

11/11/2005Seminar Component Based Software Engineering 11 Compound Documents and OLE  Documents that contain a document from a different application within itself. Excel spreadsheet that is contained within a larger Word document  OLE, Object Linking and Embedding Specially designed for compound documents. OLE builds on COM  provide services such as object "linking" and "embedding" that are used in the creation of compound document

11/11/2005Seminar Component Based Software Engineering 12 Questions ?