Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Questions regading RMI

Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Am back! I've finished my assignment using Sockets. Everything is working fine. But I just want to make sure that my code (rest of the connectivity part) remains same for both types of implementation. So I wanna implement the same project with RMI. Am very new to RMI. I have some questions.

1. I think there are three alternatives to bind the object. Could you please what those are and usage?

2. What these are :
If possible, small example for these or route me to the correct site.

3. I have used one RMI example that did not produce any stubs or anything - just like other class files I complied and executed
I didn't use rmic or some other tool to compile
I didn't start the rmi server separately (Is there any such we should do before actually binding the object/starting service)
Example I used is :
1. One interface which extends Remote Interface
2. One Server class (RMIServer) which extends UnicastRemoteObject and implements above interface
3. one client class
Am I missing something - not clear for me

Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to your question 3.

I assume that you are trying to implement some rmi example. initially I struggled to implement an example of RMI until find this link.
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic