File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 11278
    
  59

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conexion of server
 
Similar Threads
RMI from start to finish
Accept compresed requests in tomcat
Http Post
Need help in build applications using ant : getting exception
James Mail Server