Howdy, Pieter!
1- I know a couple of you extended Sun's interface, but what about implementing Sun's and implementing my own too, instead?
Hum... how would that be? You mean, having to classes implementing these interfaces separately? When you implement your interface that extends Sun's interface, then you are already implementing Sun's interface.
2- Why when I create Threads in my Test class in a for loop and adding sleep(10) everything works fine, but when removing the sleep(10) statement, do I get errors e.g. "record * is not locked" etc.?
Hum... I think we would have to see some code to be able to answer this one.
3- I have the "Bodgitt & Scarper" assignment and the (for instance) read() method should return a String[]. What have you guys done; meaning, are you sending the String[] etc. over the network, or have you done some changes to rather send a Value Object ?
Well, I think it depends on your choice between thin client and thick client. If you have a thick client, then it's pretty likely that the String array will be returned to the client side and handled there. If you have a thin client, then the String array will be transformed on the server side and sent back to the client in the form of a domain object (entity or value object). But both approachs are ok.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD