• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S question on compilation of client

 
John Mattman
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

The following piece of code that is not part of the assignment is from the clint.java.

//bind server object to object in client
myRMIInterface myServerObject = (myRMIInterface) Naming.lookup("rmi://"+serverName+"/myRMIImplInstance");

My question is in general how does the clint.java compile if the myRMIInterfase.class interface(not part of client.jar right?)is somewhere on the network(i mean server side)?

Thank you in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic