File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Networked client questions.

Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
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?
Roberto Perillo

Joined: Dec 28, 2007
Posts: 2271

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!
I agree. Here's the link:
subject: Networked client questions.
It's not a secret anymore!