wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Port number parameter not needed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Port number parameter not needed?" Watch "Port number parameter not needed?" New topic
Author

Port number parameter not needed?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Do you think that the port number is needed in command line parameters? At least my server seems to work only with port number 1099.
Jukka
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
1099 if the default RMI port, but you can obviously configure it.


Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
Stephane Weber
Ranch Hand

Joined: Mar 07, 2002
Posts: 110
That's it. So the question really is : do you want to let the user choose another port, or do you want him to always rely on the default 1099 port ?
Both are acceptable IMO, I would suppose however that your choice should be explained in your design decisions if you decide to use only default.
Hope it helps
Stephane
Mag Hoehme
Ranch Hand

Joined: Apr 07, 2002
Posts: 194
Hi,
I allowed the port number as an optional parameter.


Mag
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Port number parameter not needed?
 
Similar Threads
path of db.db
JBoss Remote Lookup
WAS 5.1 Oracle 9.1 clash
please help with running this code
Difference between serverName and host name