File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes FBNS: Client ID in locking mechanism 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 "FBNS: Client ID in locking mechanism" Watch "FBNS: Client ID in locking mechanism" New topic

FBNS: Client ID in locking mechanism

Azbel Eden

Joined: Oct 05, 2005
Posts: 16
Hello, All.
Does the Fly By Night Services assignment really requires to identify the client id? My work in the project has been based on the Haibi's book which is based in the FBNS assignment.

Since I still have the chance to work in this old assignment (I was a couple of years working on a job project outside my contry so I had to quit the certification meanwhile), I don't want to re-do all the progess I made, working in the new assignments where the locking with client id is a must.

Thanks in advance.

Sun Certified Enterprise Architect (Part I)<br />Sun Certified Java Developer<br />Sun Certified Java Programmer
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11776

Hi Azbel,

Welcome to JavaRanch and this forum.

You should have the instruction "If an attempt is made to unlock a record that has not been locked by this connection, then no action is be taken." To me, this implies that you must have some way of identifying which lock was granted to a particular client - and this implies that you are going to need some way of identifying the client.

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Azbel Eden

Joined: Oct 05, 2005
Posts: 16
Thank you very much, Andrew.
I'll look into de forum to search topics related to the subject.

I agree. Here's the link:
subject: FBNS: Client ID in locking mechanism
It's not a secret anymore!