| Author |
client/server database?
|
Anthony Yulo
Ranch Hand
Joined: Feb 22, 2003
Posts: 52
|
|
Hi! i was asked to make a simple client/server database application.. It only involves an ACCESS database... My question is what is really a client/server database application? 1. is a client/application like this: the client application runs on a particular mahcine on a network and then the DATABASE is on a seperate remote machine? and if thats enought i'll just make a client application, and make SQL statements directly and then connect directly to a remote database using JDBC drivers? OR 2. a client application runs on a particular machine on a network and the client application will just connect to a server application on the remote machine.. and that server application will be the one to connect to the DATABASE residing also on the same remote machine.. if this is so, i have to do this using Sockets.. and if i do this, how do i transfer RowSets and other database objects accross the network since RowSets are not SERIALIZABLE? any thoughts on this?
|
it's alright, the gun isn't loaded... - hey
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
#1 is classic Client Server with the client connecting to a database server. #2 is often called n-tier where n is anything over 2. Regular desktop Access is not suited to #1 as it's not really a database server. Can you use SQL Server or Oracle or something for your database?
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
Anthony Yulo
Ranch Hand
Joined: Feb 22, 2003
Posts: 52
|
|
what if i do #2? how do i transfer data objects across the network? i cannot directly transfer RowSet objects, since they are not serializable,ryt? do i have to encapsulate data on other java classes i.e. Vector?
|
 |
Anthony Yulo
Ranch Hand
Joined: Feb 22, 2003
Posts: 52
|
|
|
i can use a different database, but this is just for a project in school...
|
 |
 |
|
|
subject: client/server database?
|
|
|