Thursday, May 3, 2001 01:15 PM
I would say it depends of what you want to do.
If you want to communicate between your own Java client and another program that uses sockets, use sockets.
If you want to easily access Java objects on your own Java server using your own Java client, then use RMI
RMI is much easier to program, and is object oriented