• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From the networked form problem ! Help !!

 
zhi peng
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Non-Networked mode:

The operating mode is selected using the single command line argument that is permitted. Architecturally, this mode must use the database and GUI from the networked form, but must not use the network server code at all.

What does must use the database and GUI from the networked form mean?
Thank you very much .
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Zhi,

[Side notes: If you wanted to, you could change your displayed name so that it matched your old displayed name. The login name must be unique, but the displayed name can be duplicated.

If you wanted to (or if this happens again), you can notify a sherrif that you have lost your login details, and they can remind you of your login name (if necessary) and provide you with a new password (that you can use to login, then immediately change for security purposes). So you can regain your old identity.]

What does must use the database and GUI from the networked form mean?


When you develop your solution, you are going to create a database (the Data class [and possibly some associated worker classes]). You must use the same Data class for both networked mode and standalone mode. To give you an example of what is not allowed: If you wrote a Data class that requires RMI (for example) then you would need another Data class that could work without RMI.

The same applies for the GUI. Sun expect you to write one GUI that contains one JTable that works for both networked and standalone mode. You cannot have one GUI that works in networked mode, and another that works in standalone mode.

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic