aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: I am stupid enuff to understand the instruction 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 "NX: I am stupid enuff to understand the instruction" Watch "NX: I am stupid enuff to understand the instruction" New topic
Author

NX: I am stupid enuff to understand the instruction

Arun Kumar
Ranch Hand

Joined: Aug 29, 2003
Posts: 67
This is the block of instruction given for the contractor project under non-networked mode.
Non-Networked Mode
-------------------
The program must be able to work in a non-networked mode. In this mode, the database and GUI must run in the same VM and must perform no networking, must not use loopback networking, and must not involve the serialization of any objects when communicating between the GUI and database elements.
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.
</end>
I understand the first paragraph perfectly. (Cannot use the ip of the remote machine as 127.0.0.1 and there by loop back to your own machine using RMI/Socket).
But in the second paragraph, "Architecturally, this mode must use the database and GUI from the networked form" confuses me. So the database must be in a different machine, but cannot use networking? How is that possible.
Or in the non-networked mode, both GUI and the database should run off the same machine?


SCJP (1.4), SCWCD, SCJD
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11422
    
  85

Hi Ken,
Architecturally, this mode must use the database and GUI from the networked form, but must not use the network server code at all.

My reading is that they are telling you that you must only have one GUI and one database. You cannot have a "networked GUI application" and a separate "non networked GUI application". Likewise you cannot have a "networked database" and a "non networked database".
Perhaps another way of looking at it is to think of modules: You will have one module for the GUI, one module for the datbase, and one replacable module for either network access or local access.
Does this make sense of it?
Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NX: I am stupid enuff to understand the instruction