Java.rmi Hello World example

Posted on 2006-04-20
Last Modified: 2008-01-09

I'm preparing for an exam. During my distributed computing course we touched on java rmi. I don't need to be able to code rmi  - but its always good to support answers with code back-up :) Hi have found an hello world example at

I was wondering which classes would I as a programmer explicitly have to programme? The remote inter face (, the remote class ( and the client programe class ?? So three in total. Is that correct??

Thanks as ever. Your help is invaluable :)
Question by:bowemc
    LVL 30

    Accepted Solution

    Yes, you need to code those three things, effectively. You will also find a simple sample here:
    LVL 6

    Expert Comment

    hm i would use spring and let the rmi to it using it via a proxy

    have  a look at the javadocs:

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    bunnyEars challenge 6 47
    countPairs challenge 7 39
    Exception after setting jdbc session management 2 18
    wordmultiple challenge 12 67
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
    The viewer will learn how to implement Singleton Design Pattern in Java.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now