Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Alone, Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Alone, Client" Watch "Alone, Client" New topic

Alone, Client

Julio Cesar Marques
Ranch Hand

Joined: Mar 21, 2009
Posts: 80

Hello there!

Its possible to happens that Sun Examinators run my app in Client mode AND Standalone mode on same time using the same database file?

Julio Cesar Lopes Marques
Sun Certified Java Developer 5, Sun Certified Java Programmer 5
Roberto Perillo

Joined: Dec 28, 2007
Posts: 2271

It's hard to tell, but most likely no.

You can say that you assumed that this situation wouldn't happen in your choices.txt file.

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11776

Most instructions have the sentence beginning "You may assume that at any moment, at most one program is accessing the database file...". Given that, the assessor should not try to run 2 applications against the database file.

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Julio Cesar Marques
Ranch Hand

Joined: Mar 21, 2009
Posts: 80

Ok Thanks!
I can sleep again without bad dreams about assessors running my app in alone and client modes.

I agree. Here's the link:
subject: Alone, Client
It's not a secret anymore!