Does anybody have a simple example of an client server, that allows for the transfer of an image from the client to the server.

Also does anybody have any examples as to how to maintain a list of all clients currently connected to the server. (e.g. RMI Client Callbacks),

Is their any books or articles on the Internet dealing with this topic?