• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX:Should the client/server user be able to specify port no

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.Should the Client side user be able to specify the port number and remote service name?
2.Should the Server side user be able to specify the port number and remote service name?
Thank you.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi HaoZhe,

1.Should the Client side user be able to specify the port number and remote service name?

YES.

2.Should the Server side user be able to specify the port number and remote service name?

YES.
Nick.
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.Should the Client side user be able to specify the port number and remote service name?
Yes on the port. This is the port on which the client will lookup the database server.
By service name do you mean the database server host?
If so, then yes on that as well.
2.Should the Server side user be able to specify the port number and remote service name?
Thank you.
Yes on the port. This is port on which the server will register the database server.
I don't know what you mean by remote service name? If you mean the actual name of the RMI remote object, then I would say no. The remote object can be hardcoded when registered on the server and when looked up on the client. I don't see the reason to expose this implementation detail to the user.
Hope this helps,
George
[ January 06, 2004: Message edited by: George Marinkovich ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic