aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Architecture of FBN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Architecture of FBN" Watch "Architecture of FBN" New topic
Author

Architecture of FBN

Ramesh Kadur
Greenhorn

Joined: Nov 13, 2000
Posts: 11
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
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
I don't know if this is true or not. I'm getting ready to download the assignment in a week or two. From reading your question, the only unclear part, it seems is 3. I've read that you have to make your program be able to run across a network and/or run on the same computer. In that case, it seems like you'd write a client-side class that interfaces with the database and if they want it to run networking then it connects to the actual database through sockets or whatever and if not, then it accesses in our case the local file system. Did that make any sense at all?
With Respect,
Matt DeLacey
Sanjeev Kumar
Greenhorn

Joined: Dec 22, 2000
Posts: 8
My implementation includes
RMI server as data server which binds the Data class which in turn fetches the records from the datafile
RMI Remote interface as data client or we can write a separate data client which uses remote interface to establish RMI network.
GUI uses remote interface/data client class for network comm.
Give your opinion on the above architecture.
balaji sambandam
Greenhorn

Joined: Dec 30, 2000
Posts: 18
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

Ramesh Kadur
Greenhorn

Joined: Nov 13, 2000
Posts: 11
Balaji Sambandam and Matt Delacey -
Thank you for your interpretation and it is very helpful to me.
Sanjeev Kumar-
Your design looks logical to me. I am also planning to use RMI.
Thanks again everybody.
Ramesh Kadur
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Architecture of FBN
 
Similar Threads
Local Adapter Issue
confused with my design,thanks for you comment
2 tier or 3 tier design
NX: Exposing different interface to client (than the one provided)
Regarding the Application Architecture