Hello all!
First I made a socket implementation and then I decided that in order to choose between the two I must implement a RMI solution. I have now done that. And now to my question:
when I try to simulate multiple clients (by creating threads in a loop) and try to book a room it seems to work fine when I try it with 500 threads.
Ant then I tried it with 700 I got
alot of
java.rmi.ConnectException: Connection refused to host: xx.xxx.xxx.x; nested exception is:
java.net.ConnectException: Connection refused: connect
This is ofcourse from the client threads. The server does not throw any exceptions. Is this something that I need to worry about? With my socket solution I could run it with 10.000 threads.....
Any thoughts?
Have a great saturday folks!
/Peter