This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've one question in developing RMI application:
After creating the the server interface and the server implementation class , we
create a server object from the server implementation class and register it with an RMI registry:
My question is at the first line
We create an object of ServerInterfaceImpl
and assign the reference of this object to an object of serverInterface type
why don't we assign the reference of the object created to an object of ServerInterfaceImpl type as follow:
I Hear I Forget, I See I Remember, I Do I Understand.