Hi,
Just wondering which of the following is correct for a multi-threaded server in RMI or neither.
I could call the RMI connection in package remote from client GUI like this and assumed server started.
(a)
Now does it automatically create a multi-threaded server. using following in the GuestConnector class in remote package.
or does it require the creation of a
thread each time this GuestConnector class is called in order to run.
(b)
(1) ensure class implements Runnable interface.
Does RMI automatically create new threads for user or does one have to create multi-threaded server as in b.
Please note I am also sharing the one object amongst threads. (hopefully)
Thanks.