File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Basic RMI doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Basic RMI doubts" Watch "Basic RMI doubts" New topic
Author

Basic RMI doubts

gsaha
Greenhorn

Joined: Apr 23, 2001
Posts: 6
1) What does it mean UnicastRemoteObject and its method exportObject()?How its works?
2) Do we need to provide the stub classes(of Remote Server) to Client? Is it mandatory?
3) What does it mean RemoteReference? How a Client Object which is associated with different JVM, have the object reference of another?
5)Its says "Non-Remote object passed by value and Remote of passed by reference" How the reference available in another JVM?
Can anyone throw some light on this...
TIA
Goutam
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
"gsaha",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Greg Mehlhose
Greenhorn

Joined: Jun 05, 2001
Posts: 16
1) A UnicastRemoteObject is a convenience class, defined in the RMI public API, that can be used as a superclass for remote object implementations. The superclass UnicastRemoteObject supplies implementations for a number of java.lang.Object methods (equals, hashCode, toString) so that they are defined appropriately for remote objects. UnicastRemoteObjectalso includes constructors and static methods used to export a remote object, that is, make the remote object available to receive incoming calls from clients.

Life is short, play hard.
 
 
subject: Basic RMI doubts
 
Threads others viewed
If objects can't be passed....
EJB can local bean invoke business methods on remote interface passed from other JVM?
Session object�s local interface
Passed!
Passed Certification. A few thoughts.
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com