Re: Real Basic Stuff

From: David Waldock (david_at_socialnetworks.co.uk)
Date: 04/16/04


Date: Fri, 16 Apr 2004 17:58:45 +0100


> in remoting you have 2 types of remoted objects -
> MarshalByReferenceObject and marshaled by value.
> The first passes only a reference (proxy) to the server object.

Hmmm. Would it be better to implement a methods MBR object "Customers"
(with GetCustomer(), UpdateCustomer() as exposed methods etc...) which
returns and consumes an MBV object "Customer" (with all the
customer-specific properties and methods exposed). The MBV object could
then be used on the client.

> All other classes, which are not MBR, and are marked Serializable, or
> implement ISerializable interface are passed by value, I.e. a copy of
> the class is send to client.
>
> If you are going to use MBVs objects only, maybe WebService is a better
> solution.
> The true power of remoting is in MBRs, where the work is initiated by
> the client, but done on the server.

Thing is, the MBV object created by the WebService is a very shallow
instance of the object "CustomerProxy" (ie: simply a collection of fields).
Is there a simple way of taking a proxy object and deserializing it into an
instance of the original object (the Base class library will be included in
the Winforms client) which can be manipulated by the client software and
then passed back as an argument in another WS call? If there is, WS is my
architecture of choice; if not Remoting is the way forward.

David



Relevant Pages

  • Re: Remobjects v KBM
    ... >> client query components) follow from that. ... Then, connections can be created to say SQL Server, Oracle, Interbase and ... can then be created from the abstract dataset definition in 'customers' to ... implicitly - this makes your code not be database connection specific). ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Freezing requirements in embedded product development
    ... managing embedded product requirements then into involving in nittie ... changing.I have informed my top management and they say when customers ... a few other books on project management. ... involve penalties to be paid to your client. ...
    (comp.arch.embedded)
  • **** Immediate Opening for a Senior Microsoft Solution Architect ****
    ... Our client is a Fortune 10 company, and provides customers the ability ... Sales and Service delivery capabilities in major North ... He plays a leadership role in supporting the company's ...
    (microsoft.public.exchange.applications)
  • **** Immediate Opening for a Senior Microsoft Solution Architect ****
    ... Our client is a Fortune 10 company, and provides customers the ability ... Sales and Service delivery capabilities in major North ... He plays a leadership role in supporting the company's ...
    (microsoft.public.exchange.admin)
  • **** Immediate Opening for a Senior Microsoft Solution Architect ****
    ... Our client is a Fortune 10 company, and provides customers the ability ... Sales and Service delivery capabilities in major North ... He plays a leadership role in supporting the company's ...
    (microsoft.public.exchange2000.admin)