• Post Reply Bookmark Topic Watch Topic
  • New Topic

database connection local and network

 
Ray Smilgius
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confused for instance must we have 2 databases one for local access and another database on the server side?
What is meant by network mode and local mode in this FBN assignment?
Thanks Ray
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actualy, it means your client code must be able to handle two cases: Local and Network.
Local means that the client is accessing the db file on the local machine, not networking involve.
Network means using some networking protocal (RMI or TCP/IP) to access the db file on the remote machine.
Hope it helps.
 
Ray Smilgius
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so we need one database on client machine and on database on server. Do we have to synchronize both databases?
Thanks Ray
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!