Remoting Singleton - singleclass

Krijn

Member
Joined
Jan 16, 2003
Messages
14
Hello,

I have a server - application (windows service) with 40 wellknown remote
objects. All of these objects expose Get and Save methods witch return and
accept only datasets (or integer,strings, ..).
Because the methods or very small (select from a DB) the application works
fine with singletons.
When I put a While block (for 30 seconds) inside a DB-transaction all the
clients are waiting for this transaction (testing purpose). This is normal
because each client uses the same object (singleton), but when I change the
singletons to singleclasses the result is still the same ?

Does somebody know what Im doing wrong ?
 
Back
Top