I need to write a platform with a centralized server and a lot of remote clients to execute tasks. I'm currently using an RMI connection, being the centralized server who acts as client of the remote clients (RMI servers). It's working, but I'm afraid of have a lot of problems in a near future (is a good idea to use RMI?) so I'm thinking in move the code to SSLSockets and send serialized classes to do the same.
My problem with this approach y how to control the list of active clients. I need to have connection data to send tasks and I need to know if they are alive. Any idea?
Thanks in advance for your help.