wood burning stoves*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Is database not going to become inconsistent? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Is database not going to become inconsistent?" Watch "Is database not going to become inconsistent?" New topic
Author

Is database not going to become inconsistent?

Ajit Chauhan
Greenhorn

Joined: Mar 04, 2011
Posts: 10
Hello Sir,
I like to ask one question? Well if i start my application in alone mode and Server Mode , Isn,t it going to make my dataBase Inconsistence.
i mean Something in server database, and something in stand alone database.
different different Data. in two database.

please enlight me for this situation.

Best Regard
Ajit
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5139
    
  12

Hi Ajit,

If you read your instructions carefully you'll encounter a statement saying that at most 1 program will access the database file simultaneously. So that means that you can start the standalone client, you can start the server application, but you'll never start these 2 applications at the same time.

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
wood burning stoves
 
subject: Is database not going to become inconsistent?
 
Similar Threads
NX: Question about database location.
NX: UrlyBird. data class shared by client?
how does the program start?
The mode flag
How many modes are there for the program?