SCJP(1.4), SCWCD(1.4), SCBCD(1.3), SCEA(part 1), SCJD
SCJP, SCJD, SCWCD, OCPJBCD
I don't understand what you are asking about here. We didn't use cookies in our solution. Did you have a question about what we were doing? (always remembering we deliberately wrote our assignment so that the code could not be used directly in the Sun assignment).Originally posted by Tiago Prestes:
In Andrew�s book, the solution is good but is passed by parameter to method lock().
Did you look at the discussion in "Discussion Point: Identifying the Owner of the Lock"? In my copy of the book, this is pages 150 - 154. Do any of those potential solutions help? Or would you like to discuss them further?Originally posted by Tiago Prestes:
I have a problem. In my assigment (URLyBir 1.3.1) the lock method don�t have the cookie parameter. So I don�t know how I do to know wich client locked the register.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
----------------------------------<br />| SCJP, SCWCD, SCBCD, SCEA, SCJD |<br />----------------------------------
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
such as client identification requirements
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
That wasn't my meaning, but it is a possibility.Originally posted by Arno Reper:
DO you mean we might ask the user for an id or something?
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
Consider Paul's rocket mass heater. |