Home » questions » What is the difference between RMI and Socket programming?

What is the difference between RMI and Socket programming?

2006-08-07 22:09:47, Category: Programming & Design

Answers

  1. ngufra

    On 2006-08-07 22:15:59


    RMI: remote method invocation. Strictly JAVA stuff. outrside of java, known as RPC remote procedure call. Sockets is just a way to send data on a port to a different host, DATA not METHOD. it's up to you then to define your own protocol.
  2. polllydooodle

    On 2006-08-07 22:18:32


    RMI Programming Services Reach out and touch someone. Object-oriented distributed computing is all about communication between objects that live in different virtual machines. Remote Method Invocation (RMI) makes sending a message to an object in Timbuktu as easy as invoking a method on a local object. RMI is 100% Pure Java TM. And best of all, it's built into the core Java libraries (version 1.1 and higher). This module introduces RMI and covers its strengths and weaknesses as a platform for distributed computing. Reference: RMI Programming: java.sun.com/products/jdk/rmi/ http://www.eve-it.com/solutions/rmi.html \ Socket Programming http://java.sun.com/docs/books/tutorial/networking/sockets/index.html