Article View: borland.public.jbuilder.java.language
Article #16806RMI threads in remote object
From: Boris Makhlin
Date: Wed, 13 Jan 1999 00:00
Date: Wed, 13 Jan 1999 00:00
10 lines
1081 bytes
1081 bytes
Hello! I would like to make remote object run separate thread each time client is accessing its method. If two clients access the same method on remote object simultaneously and that method takes long time to execute, second client gets blocked until first client exits remote method. I want to solve this problem. Sun documentation says that method dispatched by the RMI runtime to a remote object implementation may or may not execute in a separate thread. So there is not guarantee remote object will run in a separate thread. How can run remote object in a separate thread for each client call? Thank you!
Technical Details
Message-ID:
<77ida7$s7i7@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,40d7f40e84519c0e,start X-Google-Attributes: gidf74b3,public From: "Boris Makhlin" <boris.makhlin@deluxe.com> Subject: RMI threads in remote object Date: 1999/01/13 Message-ID: <77ida7$s7i7@forums.borland.com> X-Deja-AN: 432148973 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.language