How strict is this "must"? It's not stated in the "What you must do"-chapter.
You will result automatically fail, if you have not implemented ALL MUST items.
And how come I seem to be the only one that must use the cookie for unlocking?
You can assign a cookie, like transaction ID, to each transaction, and thus, the cookie in fact can be used to identify the transaction, and you can use it to identify the whether an object is lock by which transaction.
Maybe it's enought to do an add-on to my locking mechanism by storing a lockCookie in my Data-object and verify the cookie? Seems like an unnecessary double-check. Any ideas?
This depends on how you implement your locking mechanism. But you always need to check whether the object has been locked, and then accquire a lock if it is available or wait for a lock to be available.
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)