1. The server-side database with network server functionality
This is the server program which handles all the database
coming from the clients (through data client program).
3. A client-side database program that handles the networking on behalf of the user interface.
This is the Data client program/class which is used by the
clients to do all the database operations.
Basically you will have to provide all the public methods
,you defined in the server program, in the DATACLIENT program as well.
DATACLIENT will be in the client side (i.e in the machine
where GUI is running). If GUI needs to any database operation
it will call DATACLIENT method and dataclient will in turn
call server methods.
The basic idea of having DATACLIENT is that it acts as
proxy server in the client side and if there are future changes in the server methods , we can tweak dataclient program
a bit so that GUI need not be altered.
Remember DATACLIENT acts as abridege for generic GUI programs
that need to perform database opertaions on the FLIGHT server database
Originally posted by Ramesh Kadur:
Hi,
In the instruction, under Overall Architecture, it says that the application has 3 key parts:
1. The server-side database with network server functionality
2. The client-side graphical user interface
3. A client-side database that handles the networking on behalf of the user interface.
The second part is clear. Can any body (Balaji Sambandam ??) explain what 1 and 3 are and difference between them? Is the instruction telling me that I have to have two databases - one on the client side and another on the server side? If we have two databases then they should be identical and the application should assure the synchronization of the databases. Having two databases does not make sense to me.
Is this a 3 tier application? I can only see two tiers - Client side GUI and Data Server. If the database, flat file in our case, is itself considered as another layer then it becomes three tier.
Your explanations are appreciated.
Thank you.
Ramesh Kadur