Hi all
I have a problem in understanding Non-Networked Mode part of my assignment. My assignment says
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.
I thought by
database they mean all the data base management part including classes like Data, DataCache, and DataAdapter. And
network server code in their second paragraph means all the classes used for accessing the database while in network mode including classes like Server. So I developed my project in a way so that, both networked and non networked mode using the same GUI and
database part( database part I just described above) and in non-network mode it will not use the network server part.
But now after reading different postings I have a feeling that, by
database they mean just the data file and DataCache and server means Data class that implements the DB interface. and also
network server code means server used by network clients. So now I feel like there must be two servers one network server and another non network server both implements the Data class and in non networked mode application uses the non-networked server and must not use the network connection part.
So what you guys think, whether I need to rewrite my code so that I have two server part or my first approach was right?