Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI and TCP/IP  RSS feed

 
Sophie Jo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I was just wondering. Is it logical/possible to compare TCP/IP with RMI, or can the two not be compared at all?
I am doing a chat application using RMI for client connection to server and TCP/IP for client to client connection.
I need to provide justification for my choice of architecture, and have not been able to find anything. I would just like to make sure the two can be compared at all.
If anyone has any comments or suggestions about the choice of architecture it would be appreciated as well.
Thank you.
 
Mark Uppeteer
Ranch Hand
Posts: 159
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
euch... not sure if I understand your question...
RMI goes over TCP/IP, RMI (remote method invocation) is a technology to let java applications call methods over a distance without having to worry about the underlying stuff. But in the end, everything goes over tcp/ip.
Think of it like as a guy on a boat,the guy would be the rmi, and tcp/ip would be the boat
 
Sophie Jo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for such a quick reply
I'm doing this for a project, which involves analysis and justification.
I was just wondering if there was any way i could compare them, and justify why i decided to use RMI for the client to server conversation but change to basic tcp/ip for the cline to client conversations. In most examples i have seen, they stick to one only.
Your answer did help thanks. It made it all seem a lot simpler.
Think i may have been over-analysing this one and hoping to find some really technical reasons.
Thanks again.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!