Hello,
I want to send serialized objects from multiple clients to a remote server by using non-blocking NIO sockets. On the server side those objects shall be deserialized and saved in a collection. My problem is, that I don't know how this could be done in detail, because I am not sure which kind of buffer to use and how to set correct buffer size. The object class itself can be as simple as possible. In this case, a Person class with a name and an ID property would be sufficient.


I haven't yet found any example on this topic, but maybe someone could help me here, which I would appreciate very much.