Re: remoting options



A key factor would be to use dynamic/loose binding to your "business" layer.

Avoid adding a reference to the "business" dll to your GUI project.

Instead implement some sort of factory pattern that supplies the UI code
with a PROXY to your "business" dll (e.g. GetServerObject(type,location)).
Both the proxy and the actual implementation implement a common interface
known to both client + server.

In the first instance the proxy can be a simple wrapper to the class in the
local assembly (or maybe even the class itself).
Later you can change the factory to supply a web-service proxy, a COM+
proxy, an Indigo proxy, or whatever.

Do this and you're well on the way to a service oriented architecture.
No-one says the services have to run on different boxes to start with.


Of course this proxy approach is exactly what web-services, remoting or COM+
do for you under the covers - but you have to CHOOSE one of them.
By implementing your own proxy factory your application code is more
isolated from the underlying client-server protocol.

We can look forward to Indigo - the communications architecture in
Longhorn - which will address the problem in a more elegant way.


.



Relevant Pages

  • Re: Bypass School And Work Filters www.classgetter.com
    ... Someone has set up an encrypted proxy service in Hanoi, ... WINDOWS is a MUST for business. ... In any case, I was referring to what you use as a firewall, and any sensible organisation will not be using Windows as a firewall. ...
    (comp.security.firewalls)
  • Re: msmagnet.org
    ... I run my own web design business and I usually make domains I purchase ... "Domains by Proxy" but I do use another hosting company, ... Registrant Name:Registration Private ... Registrant Organization:(enter my hosting company here) ...
    (alt.support.mult-sclerosis)
  • Re: remoting options
    ... e.g. lets say one of my business classes is called ... How would the proxy wrapper plugin into the above code? ... Also, if I dont add a reference to the business dll itself, wont the above ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: HTTP Proxy via HTTP Layer by Perl?
    ... that is what a proxy server does. ... It allows high speed for download (to your computer from the Internet) ... does business with you are all on the same high speed network. ...
    (comp.lang.perl.misc)
  • Re: creating Out-of-proc server in wince 6.0
    ... you deploy that DLL to the device? ... Also, don't choose a generic name, like proxy.dll for your proxy. ... We build a subproject in Server project in Visual Studio 2005. ... For the registry entries, we make the changes manually by editing the ...
    (microsoft.public.windowsce.embedded.vc)

Loading