• Post Reply Bookmark Topic Watch Topic
  • New Topic

B&S question on compilation of client  RSS feed

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
Posts: 13411
Firefox Browser Redhat VI Editor
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!