Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Start rmiregistry without command prompt  RSS feed

 
Ray Dawson
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I start the rmiregistry command outside of command prompt ?

I'm using BlueJ. Will switching over to Eclipse help ?

Help needed ASAP
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ray,

You really need to EaseUp. You have been asked before too your earlier thread

To start registry in code you can use like
 
Ray Dawson
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Jai wrote:Ray,

You really need to EaseUp. You have been asked before too your earlier thread

To start registry in code you can use like


How does the server specifies what is the ip address of the location ?
And how does the client connects the sever.

John, could you please provide me the lines where the server ip addr & port num. is specified. And how the client connects to the server

Like user provides the ip addr & port no. of the server & the client connects to it.
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to test this in my local. The port will be specified in the server class - in the example above its 1099.

Client code can then be written like below. The given ip is my system ip.

 
Ray Dawson
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So can the server specify any port no. it wants ?
And how does the server specify its IP addr ?

If the ip is dynamic, then how does the client connects to it ?
 
Campbell Ritchie
Marshal
Posts: 55681
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too difficult a question for "beginning". Moving discussion.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!