Originally posted by Jerry Pulley:
Balaji,
Good work! It's encouraging to hear from someone who actually finished.
Can you tell us a little about your implementation? No details please, just things like whether your locking used a client identifier and how you handled local/remote transparency.
Jerry
[This message has been edited by Jerry Pulley (edited December 31, 2000).]
Originally posted by Qi Chen:
Congrats, Balaji.
Since you said for locking you did not use any client id, I
am wondering how you achieved the following:
(1) from instruction:
If an attempt is made to unlock a record that has not been locked by this connection, then no action is be taken.
(2) from code comment of the unlock method:
Ignore if the caller does not have a current lock on the request record.
Thanks.
Originally posted by Qi Chen:
Hi Balaji,
Thanks for your response.
I understand your opinion and I agree with you that the specs can be implemented in different ways, but do you really think your approach implemented the requirements I quoted?
More specifically, notice the word "by this connection" in (1), and the word "the caller" in (2).
I guess in your approach, a record locked by one caller of the method lock(int) can be unlocked by another caller of the method unlock(int).
Originally posted by Da Zhu:
Hi Balaji,
A question on the lock method:
public void lock(int record) throws IOException
Does your code possibly throw IOException? How?
Regards,
Da Zhu
Originally posted by Da Zhu:
Hi Balaji,
Thanks for your explaination. Although it looks strange that the lock method throws IOException, since all other public methods catch IOException and then throw DatabaseException, I will stick with the given signature. No reason to take the risk of modifying signatures.
One more question, did you format your data, say change the input data 11h65m to 12h5m? If yes, at which stage do you make such formating (during data conversion, in retrieving data from database, or in JTable column formating)? I know 11h65m looks silly, but I do not see anywhere in the instruction that asks for data formating.
Originally posted by shivani anand:
Balaji,
First of all I should congratulate you for such a great acheivement.
Could you please write details about the asssignment given for Developer certification. This will help me to decide whether to take this exam or not.
Thanks in advance
Shivani
Originally posted by Balaji Sadasivam:
Congratulations Balaji!!
Can you tell me the objectives of this exam?? The objective given in the Sun web-site is not clear. I need some specific topics.
Also can you recommend some study materials??
Is it necessary to study books related to "Object-Oriented Analysis and Design" ??
Please do reply.
Thanks
Regards
Balaji
Originally posted by balaji sambandam:
You can read the following books and may serve as a
reference guide while you are doing the assignment.
Core Java volume 1 and Volume 2
Graphics JAVA Mastering JFC.
Java 2 Exam Guide - Barry Boone/william Stanek
You don't need to read the whole book. Read only chapters
which are needed to compelete assingment such as
RMI
Swing classes
sockets
I/O
LayoutManager
and etc...
And don't forget to read RMI tutorials and archives at
SUN site (if you plan to use RMI in your assingment)
Don't get me started about those stupid light bulbs. |