Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple RMI Servers problem --- Urgent

 
Sowjanya Raghu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to do some multiple clients testing.
The starting of the server is done within the application itself.
First, if I open a client window and within this the user starts the server say at port 1099.
Things go fine and the server starts without a hitch but if I open another client window and try to start the server , I get a connection refused exception.

I am getting a bit confused here if I am doing the things right.

From two different instances of the application, Is it right to start two different instances of the server ?
Or Should we have only one instance of the server for multiple clients ?
Can somebody clear my doubts ?
Much Appreciated,
Thanks,

 
Farouk Mohamed1
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I think the server is always one and there can be multiple clients. If there is multiple servers for multiple clients why have servers at all. we can mix server funtionality with the client itself going back to the old system of desktop single tier applciations.
The idea of client server system is having a central location for servers so that many clients can connect to them and servers can run independant of the client
please reply ifyou are not clear
Farouk
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic