This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
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
"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.
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.