What are the advantages of RMI over sockets?

February 28th, 2007 by uCertify Leave a reply »

RMI stands for Remote Method Invocation. It is a distributed environment technology. It provides object-to-object communication between different Java Virtual Machines (JVMs). It is basically meant for developing large-scale systems, as it allows distribution of resources and processing load across the network. RMI can also be expressed as follows:

RMI = Sockets + Object Serialization + Utilities

  • RMI is much easier to work with than sockets.
  • While working with RMI, there is no need to worry about designing a protocol between the client and server that is an error-prone process.
  • Note: A communication overhead is involved when using RMI by the use of RMI registry and client stubs or proxies that make remote invocations transparent. The RMI remote object needs a proxy, which slows the performance down.

    Pass SCJA in first attampt. Download free practice test for CX310-019 SCJA exam.
    Like this article? Share it with others
    If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
    • Share/Bookmark
    Advertisement

    Leave a Reply

    uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
    MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
    Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
    © 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.