This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Networked client questions. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Networked client questions." Watch "Networked client questions." New topic
Author

Networked client questions.

Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
Hi,
Just wondering
(1) what needs to be specified in the client gui for the dialog boxes for networked server parts? E.g. port number, etc.
(2) I presume the networked server must be started before the networked client?
Thanks.
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

Howdy, Mark!

Champion, for your first question, please take a look here. But you may want to include the server's IP address and the port number in which the server is running.
For your second question, exactly. If you start the application in client mode, and the server is not running, then you may considering showing a message to the user, saying that the server could not be found.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
Cheers, thanks for all your great help!
 
GeeCON Prague 2014
 
subject: Networked client questions.