I decide to use remoting as a communication solution between my main service
and the billing service.
But I need to know if when I create an instance of a remoting object this
open and close the TCP channel for each?
For example (just an example)
I have a function that create an instance of a remoting object and call some
method in the remote object.
My object type is Singleton
So, this function can be called thousand of time in a day including
simultaneus calls (from differents threads)
But if for each instance remoting open and close connection that will take
too many time.
Another question...
What happen is I create just one static instance of the remoting object,
this instance can handle simultaneus request?
Thanks a lot guys!
AA
Allen Anderson - 24 Jun 2004 21:09 GMT
A singleton will open and hold open the communications channel that
you setup for it. However, remember to setup your lifetime services
to either null or use lease/sponsors to keep your objects from going
away.
Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com
>I decide to use remoting as a communication solution between my main service
>and the billing service.
[quoted text clipped - 18 lines]
>
>AA
AA - 24 Jun 2004 22:22 GMT
is true!
Thanks!!
> A singleton will open and hold open the communications channel that
> you setup for it. However, remember to setup your lifetime services
[quoted text clipped - 27 lines]
> >
> >AA