Re: Connecting Out of Process Servers via COM+




"Lance Wynn" <lance_wynn@xxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:eZobDukjFHA.3144@xxxxxxxxxxxxxxxxxxxxxxx

> This is what I was thinking of doing.
>
> Have you ever done anything like this before,
Yes, both approaches (singlethreaded ROT-Singletons with direct access to
the worker-class and ROT-Dispatchers with indirekt access to multithreaded
worker-pools).
But always behind our own (socketbased) Appserver-Environment and not in
combination with COM+.

> and if so did it work well, did you
> get any difficult to track errors? I have never tried using a
> singleton server in this way, and so I am unaware of the many
> pitfalls that could arise out of implementing it like this.
It works well, but you have to ensure a very clean timing/timeout-handling
(over the entire roundtrip) - especially, if you want to use the
singlethreaded approach - so that the ROT-Objects are never blocked for more
than 1-3 seconds.

Olaf


P.S. Here are a few ROT-VB-examples:

www.datenhaus.de/Downloads/ROT Server.zip
www.datenhaus.de/Downloads/ROT _Threading.zip


.


Loading