Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Corba Basics

Corba Basics

Ratings: (0)|Views: 78 |Likes:
Published by Puspala Manojkumar

More info:

Published by: Puspala Manojkumar on Sep 17, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/17/2010

pdf

text

original

 
1
Objects
Object has
 –Attributes (data or state) –Methods
Interface: Collection of methods to manipulatestate(s) of an object
 –An object can have multiple interfaces
DirectShow’sIMediaSeeking: for specify the location to playback a videoDirectShow’sIMediaControl: for play, pause, stop a video
 –One interface definition can be implemented byseveral objects
Tools/Environments for SupportingDistributed Objects
Commercial
 –Java Remote Method Invocation (RMI) by Sun –DCE by Open Source Foundation –Common Object Request Broker Architecture (CORBA) by ObjectManagement Group (OMG)
Open-source ORBs(e.g., TAO, JacORB, omniORB, MICO)BEA TuxedoIONA OrbixBorland VisiBrokerOIS ORB Express
 –Distributed Component Object Model (DCOM) by Microsoft –.NET Framework –Java Enterprise Edition
Academia
 –Global Object-Based Environment (GLOBE) by Vrijeet al. UniversiteitAmsterdam
 
2
Why Supporting DistributedObjects?
Object oriented paradigmHide implementation details under objectinterface (heterogeneity)Wrap procedures accessing legacysystems as an object
Separation of interfaces andobjects is crucial
Interface on one machine (client)Actual objects are on a different machine(server)
 –Object on the server has a similar interface as theclient –In most systems, state of the object is notdistributed, but the methods are distributed in theform of proxy
Use object reference to refer to an object
 
3
Object hidesimplementationdetails, providingtransparency
LQWHUIDFH+HOOR^VWULQJVD\+HOOR `
+HOORLGO
From: http://www.molecular.com/news/recent_articles/051904_javaworld.aspx
From: http://java.sun.com/docs/books/tutorial/idl/hello/index.html
2EMHFWFDQEHPRYHGDURXQGRQGLIIHUHQWVHUYHUVRQGLIIHUHQWSODWIRUP
Proxy is equivalent to client stub in RPC; it providesthe same object interface as the server objectProxy marshallsmethod invocations into messagesand unmarshallthe reply messagesSkeleton is like a server stub in RPC

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->