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)
1. Should both client and server contains their own property file?
2. Where should I put it? The instruction said the file should be named:
suncertify.properties. If I have 2 properties files, one for the server, and the other for the client, how should I do?
3. From Ken's post, I know he used java.util.logging.Logger class for debug messages. However, when I read Max's book, he mentioned that, we need to change the file for the logging properity. I would like to ask, if it is the case, can I submit the logging preperity file together with my source code, and ask the marker put it into the right place?
4. Following Q3, could we do the same (ask the marker to place the file to the right place) for the policy file for the network connection?
5. Could I fix some of the "paths" of the file?
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)
do I in fact need to implement the rest functions? (although I had already implemented ALL for safety )
In addition, in my implementation, the isLocked function is never be used. Becos following Max's approach, if the server cannot get a lock on item X, it will wait. And even I first check whether item X is locked, when I applied the lock, it maybe acquired by other thread and my current thread still need to wait. So, I think this is not that useful, and I never use it. Is that possible?
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
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)
Originally posted by Nicholas Cheung:
Are there any methods that I can configure the Logger without the help of the logging.properties file?
Nick.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |