Going from COM to DCOM -
I have comp server (ATL based) and a Java app that instantiates objects from this COM server.
What is the need for DCOM? What is the requirement only on COM server or server and client?
Usually you only need proxy interface on the client side (as well as on server-side) If all of your ATL objects are based on IDispatch, and how do you call them (not through custom interface) then a default proxy is already registered on the Windows machine
at that point You only need to specify the machine name of the server where the fact That objects remain.
With any DCOM remoting you may have problems with the DCOM permissions from the client on the server, which can usually be resolved by using on the server side (possibly even on the client, if using the callback is being done). And of course, potential firewall problems - you may need to allow an exception for Port 135 (used by DCOM by RPM Mapper).
Comments
Post a Comment