Originally posted by Daniel Simpson:
Hi, I am beginning my design process for the SCJD and I am deciding whether to use sockets or RMI in my application. What have you guys been using, and what are the pros and cons of each? Thanks!
[ November 04, 2004: Message edited by: Daniel Simpson ]
Originally posted by jiju ka:
Another two reasons I got from this forum on favouring RMI are
RMI uses sockets and sun want us to use libraries which are already available. (I don't fully agree with this statement since if we use sockets it will not be like we are reinventing RMI).
RMI handles threading issues and sockets don't. Socket programmer needs extra work to handle it. I favor to use RMI than sockets only because of threading issues. But I like to learn sockets.