This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Running application in alone mode question 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 "Running application in alone mode question" Watch "Running application in alone mode question" New topic
Author

Running application in alone mode question

Ste Graham
Greenhorn

Joined: Sep 15, 2003
Posts: 23
Hi - is there a presumption that if you are running the application in "alone" mode, then you are the only person interacting with the database? i.e that the server is not running and there are no client connections? When in "alone" mode, if the above is true, then you do not need to be concerned with locking etc, because there is only one GUI open and one person interacting with the database?

cheer, Stephen
[ August 05, 2005: Message edited by: Ste Graham ]
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

Hi Stephen,

You mean like this one:
From the instructions:
You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server.
Check your instructions for a similar statement (search for the word "assume" - there are normally only 2 places it is used in the entire instructions.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running application in alone mode question
 
Similar Threads
B&S: single JVM in non-networked mode?
URLyBird: Multiple servers?
Should this situation happen?
URLyBird: 2 questions
server/alone command line