SCEA, SCBCD, SCWCD, SCJD, SCJP
regards,<br />Suresh<br />Sr.Systems Engineer)<p>--Sun Certified Programmer for Java 2 Platform <br />--JLPT(Level-4) Certified Professional
Originally posted by James Du:
But why in the earth sun specify that? it's out what kind of consideration ? do you think the specification is a little weird and those redundent methods is of no use?
SCJP2; SCJD2;
I know I should have all the public methods implemented in a client class. My question is:
if I want to book a ticket, which approach should I use:
1. call remoteData.lock()->remoteData.modify()->remoteData.unlock from client
2. implement a complete function 'book()' in RemoteData at server side, and call remoteData.book() from client. Then the lock and unlock methods implemented in the client class will not be invoked anywhere.
Thanks.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |