File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Start rmiregistry without command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Start rmiregistry without command prompt" Watch "Start rmiregistry without command prompt" New topic
Author

Start rmiregistry without command prompt

Ray Dawson
Ranch Hand

Joined: Sep 16, 2011
Posts: 75
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
Bartender

Joined: May 31, 2011
Posts: 1776
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

Joined: Sep 16, 2011
Posts: 75
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
Bartender

Joined: May 31, 2011
Posts: 1776
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

Joined: Sep 16, 2011
Posts: 75
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
Sheriff

Joined: Oct 13, 2005
Posts: 38517
    
  23
Too difficult a question for "beginning". Moving discussion.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Start rmiregistry without command prompt