• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ask for help. a topic about RMI

 
Newman Huang
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question: Which of the following is not true about RMI?

a.RMI uses the Proxy design pattern.

b.RMI uses object serialization to send objects between JVMs.

c.The RMI Registry is used to generate stubs and skeletons.

d.The RMI client can communicate with the server without knowing the server´┐Żs physical location.

the given answer is 'c'. but i think the option 'd' is also NOT TRUE. because it is need to specify the romte host ip to find the registered rmi service. any comments? thanks advance.
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you think if we you a naming service like JNDI, we may eliminate that need?
Amol.
 
leevisa asinveel
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rmic is for creating STUB and SKELETON.They have metioned RMI Registry. The trick is we need to identify RMI REGISTRY and SERVER in different angle. I did not see such confusing questions when i wrote PART 1.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic