🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16806

RMI threads in remote object

#16806
From: Boris Makhlin
Date: Wed, 13 Jan 1999 00:00
10 lines
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-mail

Show 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