I'm developing a Desktop LAN base java server and client application
where a Client must login and also to pass some data to server. assuming i have 10 clients that inserting record simultaneously to server.
which is the best approach in this kind of situation, should I use RMI for login and record insertion? or Sockets?
if sockets please provide a key idea for me to start with.
key points to consider -Multithreading -able to send back data on client