Re: Real Basic Stuff
From: Sunny (sunnyask_at_icebergwireless.com)
Date: 04/16/04
- Next message: J.R: "Re: soapsuds create complet assembly"
- Previous message: Roy Chastain: "Re: Confusion: Server side creation of CAO's"
- In reply to: David Waldock: "Re: Real Basic Stuff"
- Next in thread: Allen Anderson: "Re: Real Basic Stuff"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 16 Apr 2004 12:17:55 -0500
Hi david,
read inline:
> 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.
The Consumer object can be passed and received from a web service also.
The real difference is:
1. Web services use only XML SOAP serialization over HTTP, and are
hosted in IIS
1.1. They are good for sharing data between different platforms.
2. With remoting you can also use a binary serialization (much faster)
and TCP channels, also much faster.
2.2. Proprietary channels and formatters, so good only for .Net
client/servers.
> 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.
>
You can control the serialization both in remoting and web service, so
you can get what you need.
Sunny
- Next message: J.R: "Re: soapsuds create complet assembly"
- Previous message: Roy Chastain: "Re: Confusion: Server side creation of CAO's"
- In reply to: David Waldock: "Re: Real Basic Stuff"
- Next in thread: Allen Anderson: "Re: Real Basic Stuff"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|