Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Multiple client in RMI application

  Asked By: Mada    Date: Jun 14    Category: Java    Views: 1057

I've just started learning RMI..
I'd like to ask something. Can RMI application (server) handle
multiple client without specific code, or I must write another thread
code to handle multiple client? If i must write another thread code,
in which part of server, and how to write the code? Beside, I still
don't understand about how and when communication opened and closed
between server-client in RMI-based application. Please let me know if
you understand about this....



2 Answers Found

Answer #1    Answered By: Jarrod Williams     Answered On: Jun 14

when i learn RMI i found out that RMI architecture in java automaticly
handles many client  so we don't have to make 'special' thread  to handle
the client for RMI

Answer #2    Answered By: Evelyn Hughes     Answered On: Jun 14

But java wont handle  conqurent access to shared data in rmi  server program.
so if u use shared data space, synchronize your data access routines.

Didn't find what you were looking for? Find more on Multiple client in RMI application Or get search suggestion and latest updates.