aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Questions regading RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Questions regading RMI" Watch "Questions regading RMI" New topic
Author

Questions regading RMI

Seetharaman Iyer
Ranch Hand

Joined: Jun 25, 2010
Posts: 35
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

Joined: Jan 28, 2008
Posts: 5575

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Questions regading RMI
 
Similar Threads
The Server
Please help me feel confident with my design ...
My engineer thesis - chapter about RMI-IIOP - need confirmation / help
Marcus Mock # 3 Help!!
how to get Clients CPU information on Server using Java RMI