This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Conexion of server" Watch "Conexion of server" New topic
Author

Conexion of server

Gerenne Vives
Ranch Hand

Joined: Feb 05, 2005
Posts: 60
Hi,

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: 11404
    
  81

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 suncertify.properties 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Conexion of server
 
Similar Threads
Accept compresed requests in tomcat
RMI from start to finish
James Mail Server
Need help in build applications using ant : getting exception
Http Post