EQuestionAnswers.com Computer/Electronics Questions and Answers
C, C++, VC++, COM/DCOM, DLL and more
#Login #Sign up  Facebook Twitter TGoogle+

#Previous question #Index of COM/DCOM Questions #Next question

Marshalling and transport

DCOM client and server can be in same host or in a different host on a network. Client and server do not talk directly to each other like In-Proc COM DLL server and client application. They are decoupled by an abstruction layer.

MIDL compiler generates the proxy and stub scheleton files which are the part of this abstruction layer. Marshalling and DCOM framework components helps in exchanging parameters between client and server with the help of proxy/stub layer. Local procedure call or LPC mechanism is used for the DCOM in same host. Remote procedure call or RPC mechanism is used for the DCOM where client and server are in different network host. Stub or proxy interface deals with the calls and parameter exchange whereas LPC or RPC transport layer deals with the transport of the parameters over the network in byte streams.

Stub proxy interface

Proxy Interface

Client is coupled with the proxy interface and passes parameters to proxy. Proxy interface talks to Marshalling and DCOM framework. Now these parameters are serialize to network fraindly stream and sent to the server side.

Stub Interface

DCOM Server is coupled with stub interface. The parameters from client reached to the DCOM framework of the server side through LPC or RPC. Then it de-serialized to stub interface and reached to server. Server returns the call and parameters to stub. Stub hands over the parameters to DCOM framework. The return parameters again serialized and travels back to client side. Now they reach the client side and de-serialized to proxy and then returns to client.

You have viewed 1 page out of 66. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.

 Vote 0

Similar topics related to this section

# COM DCOM Interview Questions and Answers :: ALL Interview .com
# COM DCOM - COM DCOM Interview Questions
# COM interview questions | TechInterviews
# COM Interview Questions - CodeProject
# Com Dcom Interview Questions - Com and Dcom in Asp Net
# ATL Interview Questions and Answers :: ALL Interview .com
# ActiveX Interview Questions and Answers :: ALL Interview .com

* #1 webmaster Tue 29 Apr/2014 04:15:18(GMT)  Like 0 Unlike 0

Dear Users,

We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.


Your message goes here:

My Post:*
Secutiry Code: ******  *
Preview this compose before posting this in discussion forum.
  1. Use [Sxx] code to show smiles. Example [S02]
  2. Use [URL ], example [URL http://www.google.com/]
  3. To display code or un formatted text use [CODE] [/CODE]. Example: [CODE] printf("Hello world"); [/CODE]
 [S01]   [S02]   [S03]   [S04]   [S05]   [S06]   [S07]   [S08] 
 [S09]   [S10]   [S11]   [S12]   [S13]   [S14]   [S15]   [S16] 
 [S17]   [S18]   [S19]   [S20]   [S21]   [S22]   [S23]   [S24] 

Note: Only members are allowed, * fields are mandatory.