PrepAway - Latest Free Exam Questions & Answers

What should you do to ensure that the Windows-based application can connect to the component?

You create a serviced component.

You install the component into the COM+ catalog.
COM+ runs on the server.

A Windows-based application that is installed on multiple desktop computers must use the component.

The component must run on the server, but the Windows-based application must send component method calls over the network to the component.

The communications protocol used is DCOM.
You need to ensure that the Windows-based application can connect to the component.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
In the client application, create the serviced component using the Marshal class to bind to the following moniker.
“tcp://MyComponents.MyServicedComponent”

B.
In the client application, create the serviced component using the Marshal class to bind to the following moniker.
“dcom://MyComponents.MyServicedComponent”

C.
Generate a proxy component for the serviced component and install it on the desktop computers that are running the client application.
In the client application, create a reference to the serviced component’s assembly.

D.
Generate a proxy component for the serviced component and install it on the desktop computers that are running the client application.
In the client application, create a reference to the serviced component’s type library.


Leave a Reply