I am still learning Java and I am venturing into RMI.
As a test I have a RMI server (runs the RMI registry and a class which records detail in a JDBC connected mysql database). I also have two individual clients (totally seperate machines which are networked).
All my code does is to send the current computer name and current logged on user back to the RMI server so this can record this detail into the mysql database.
My question is that what would happen if there are say around 100 clients all trying to send an RMI message back to the server.
Will the server handle all 100 requests in their own threads allowing all details to be sucessfully recorded in the database or will I need to create a thread for each request?
I am a bit worried that if say for example that for some reason that all 100 clients send their request at the exact same time that some of the request may not be successful.