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 Conexion of server 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 "Conexion of server" Watch "Conexion of server" New topic

Conexion of server

Gerenne Vives
Ranch Hand

Joined: Feb 05, 2005
Posts: 60

When I conect the server , I must be executable using a command line :

java -jar ...

and my doubt is: it,s necessary to write the mode for the server too.

Thanks in advance.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11405

Hi Irene,

Check your instructions for a statement similar to:

When you submit your assignment, each part (client and server) must be executable using a command of this exact form:

Your programs must not require use of command line arguments other than the single mode flag, which must be supported. Your programs must not require use of command line property specifications. All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called which must be located in the current working directory.

The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and gui must run.

Note: Highlighting is mine.

So for server mode, you must enter java -jar runme.jar server.

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Gerenne Vives
Ranch Hand

Joined: Feb 05, 2005
Posts: 60
ok , thanks for your help.
I agree. Here's the link:
subject: Conexion of server
Similar Threads
James Mail Server
RMI from start to finish
Accept compresed requests in tomcat
Need help in build applications using ant : getting exception
Http Post