Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modes of operation

 
Glen Iris
Ranch Hand
Posts: 172
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I juat downloaded my assignment and it reads:
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.


This means:

If the argument 'server' is passed from the command line, the app will run in server mode.
If the argument 'alone' is passed from the command line, the app will run in standalone mode.

What should happen if no argument is passed? Is that saying that it should run in server mode if no argument is passed?




Thanks
 
Roel De Nijs
Sheriff
Posts: 10593
141
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or left out entirely, in which case the network client and gui must run

So, no argument = network client should run
 
Glen Iris
Ranch Hand
Posts: 172
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:
or left out entirely, in which case the network client and gui must run

So, no argument = network client should run

Hi Roel,

So it should operate in Server mode?
 
Roel De Nijs
Sheriff
Posts: 10593
141
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No!

You have 3 different modes:
  • standalone (gui + database)
  • network server (database)
  • network client (gui)
  •  
    Glen Iris
    Ranch Hand
    Posts: 172
    Chrome Java Netbeans IDE
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Ahhh,

    So the three different things are:

    standalone client - client connects to local db. gui is used.
    network connected client - client connects to the remote server. gui is used.
    server - remote(or virtually remote) server starts up. Database exists here too. This mode of operation only starts the server and no GUI is used.

    Am I catching on now or am I still a million miles off?
     
    Roel De Nijs
    Sheriff
    Posts: 10593
    141
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You're spot-on!
     
    Glen Iris
    Ranch Hand
    Posts: 172
    Chrome Java Netbeans IDE
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Roel De Nijs wrote:You're spot-on!

    Thank you kind sir!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic