My choice document is 20kb. I do not think the size matters. In my case I have put everything that I remember about my choice.
Example: I had the following in my choice doc b/c I wanted make sure that I justify my decision.
I do have Javadoc comments for public, protected, default and private classes and members. I am only generating Javadoc for public classes and members for HTML/Javadoc documentation. Since given instructions.html did not say anything specific about this, I have made this choice for Javadoc generation.
I am using logging API throughout my application for debugging. I have left the logging code in all my classes so in the future when we enhance the application we can reuse it. I have turned off all logging to entire application before submitting the project. It can turn on easily by commenting first four lines in ApplicationRunner class's constructor.
I just want to thank everyone who helped me to pass my SCJD certification. I could not have done without this website and everyone who took their valuable time to reply all my questions.
Special thank you to Roberto Perillo, Andrew Monkhouse, Alberto Ridolfi , Jeffry Kristianto Yanuar, Alexandre Baldo,Roel De Nijs, Cless Alvein K. Tisang , Bod Toki, Christian combarel, Mohamed sulibi for replying my post.
I took the exam while working full time and spent many hours in the library over the weekends. I am glad I did because hard work does pay off.
For those who are taking the exam right now, I just want to say good luck and everything you need to know is on this web site and in Andrew Monkhouse book.
this is what i found. When i run your test case it work some times but then I notice that your unlock method was not in finally section. If i move it to finally section, it works and I can run 1000 to 2000 threads..
Let me know what you think about that..this is what i did where i see unlock method.