distributed component object model (dcom) by deepak goel & mukesh punhani

17
Distributed Component Distributed Component Object Model (DCOM) Object Model (DCOM) By By Deepak Goel & Mukesh Punhani Deepak Goel & Mukesh Punhani

Upload: deborah-whitehead

Post on 12-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Distributed Component Distributed Component Object Model (DCOM)Object Model (DCOM)

By By

Deepak Goel & Mukesh Punhani Deepak Goel & Mukesh Punhani

Page 2: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Component Software Component Software ProblemProblem

InteroperabilityInteroperability VersioningVersioning Language IndependenceLanguage IndependenceTransparencyTransparency

Page 3: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Inherently DistributedInherently DistributedFlexibilityFlexibilityScalabilityScalability

Why Distributed Why Distributed Applications ?Applications ?

Page 4: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

COM ArchitectureCOM Architecture

COM Components in the same process

COM components in different processes

Page 5: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

DCOM : COM components on different machines

DCOM ArchitectureDCOM Architecture

Page 6: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Components ReusabilityComponents Reusability

Using Existing Components to Using Existing Components to Reduce Development CostReduce Development Cost

Future Reusability of Components Future Reusability of Components being Developedbeing Developed

Page 7: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Language NeutralityLanguage Neutrality

Virtually all languages such as Virtually all languages such as Java, Visual C++, Visual Basic, Java, Visual C++, Visual Basic, Delphi, PowerBuilder, COBOL Delphi, PowerBuilder, COBOL interact well with DCOMinteract well with DCOM

Enables Rapid PrototypingEnables Rapid Prototyping

Page 8: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Location IndependenceLocation Independence

Components that interact more Components that interact more should be closer to each othershould be closer to each other

Some components can only be run Some components can only be run on specific machineson specific machines

Small Components : Easy to Deploy Small Components : Easy to Deploy - Increased Network Traffic- Increased Network Traffic

Large Components : Difficult to Large Components : Difficult to Deploy - Reduced Network TrafficDeploy - Reduced Network Traffic

Page 9: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

ScalabilityScalability

Parallel Deployment

Page 10: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Isolating Critical Components

ScalabilityScalability

Page 11: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Pipelining

ScalabilityScalability

Page 12: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

SecuritySecurity

Provides Security at Component Provides Security at Component Level and Method LevelLevel and Method Level

Uses Access Control Lists (ACL) Uses Access Control Lists (ACL) similar to Windows NT File Systemsimilar to Windows NT File System

Page 13: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Per Interface Security using Registry Keys

SecuritySecurity

Page 14: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Load BalancingLoad Balancing

Static Load BalancingStatic Load Balancing Dynamic Load BalancingDynamic Load Balancing

Page 15: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

PlatformsPlatforms

UNIX/MainframeUNIX/Mainframe Apple MacintoshApple Macintosh WindowsWindows JavaJava

Page 16: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

Comparison with CORBA Comparison with CORBA and RMIand RMI

DCOM fits best with Microsoft DCOM fits best with Microsoft Platform i.e. Windows 98 and Platform i.e. Windows 98 and Windows NT while CORBA is quite Windows NT while CORBA is quite general. general.

RMI works only with Java but is RMI works only with Java but is quite suitable when application quite suitable when application wants to exploit features of Javawants to exploit features of Java

Page 17: Distributed Component Object Model (DCOM) By Deepak Goel & Mukesh Punhani

PerformancePerformance

Parameter Size 4 Bytes Parameter Size 4 Bytes 50 Bytes 50 Bytes

In-Process 0.00031 In-Process 0.00031 0.00031 0.00031

Cross Process 0.42 Cross Process 0.42 0.49 0.49

Remote Call 2.7 Remote Call 2.7 3.27 3.27