General information
Category:
Object Oriented Programming
>As for communications, AFAIK, this only results in two inter-object calls. The >ServerObject receives a copy of your parameter object (via marshalling), >performs its manipulations on the copy and transfers those changes back to >your to the local Param object (via Unmarshalling) when the Execute method >ends.
I'm getting different opinions on this from different sources. I would like it if it worked the way you described, but, after doing a bit more testing, I believe now it doesn't.
I created both my client and server objects on my pc. Inserted a suspend within the server object, after the parameters objects properties are updated, and before the execute method finishes. Looking at the Locals window, it appears that the parameter objects properties are updated prior to the server object method finishing. This would seem to indicate to me, that there are 3 inter-object calls instead of 2.
I even tried with making the parameter objects LOCAL to the client object, same result.
I'm trying to get some idea here of the performance trade off between using parameter objects ( resulting in more inter-object calls ) versus the overhead of object to XML conversion, and passing the XML string back and forth.
I realize each situation would be unique, but if there is a significant difference between one way or the other, I'll know which way to lean.
thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only