• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions regading RMI

 
Seetharaman Iyer
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 :
RMI/JRMP
RMI/IIOP
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

Thanks,
Seetha...
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 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.
http://patriot.net/~tvalesky/easyrmi.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic