[Last Call] Learn how to a build a cloud-first strategyRegister Now


Java.rmi Hello World example

Posted on 2006-04-20
Medium Priority
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 (HelloInterface.java), the remote class (Hello.java) 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

Mayank S earned 500 total points
ID: 16497458
Yes, you need to code those three things, effectively. You will also find a simple sample here:


Expert Comment

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

have  a look at the javadocs:


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month18 days, 1 hour left to enroll

831 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