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 Michael Chang:
Thanks for your response. My submission is a jar file as a whole as Sun required. In the jar file, there are two folders: docs and starting. Under the docs folder, all javadoc files are there following their package structure. And there is source.jar that has all source code for my assignment. If you extract source.jar, you will get the source code in proper directory structure. Under starting, there are four jar files that contain the class files and the policy files that you should deploy to client and server machines respectively. I clearly stated in my README.txt that my source code is in source.jar under the docs directory. I don't know what I did wrong. Any idea?
Thank you very much.
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 Matt DeLacey:
I just took peek at Java's Coding Conventions based on someone's post recently. One thing that struck me: they should you should do your braces as such
int myMethod () {
//code
}
That just drives me crazy! I prefer the good old:
int myMethod ()
{
//code
}
The rest of the rules I use or can live with changing them. How strictly do you think you have to adhere to that standard? I mean, I don't want to loose points, but it's also almost impossible for me to make myself write code the other way. It is much harder for me to read. What are your thoughts? I know it seems pretty trivial, but I'm going to download the assignment in 2 weeks and I'm getting nervous and wanting to get all my ducks in a row.
With Respect,
Matt DeLacey
Originally posted by tony lu:
I have almost finished the assignment, and I wonder what is the question for the coming essay. Is there anybody who has experience on passing the essay? if possible , give me some hits.
thank you in advance.
Originally posted by Michael Chang:
Can someone please help me to figure out what I did wrong? I can't pass the exam without knowing what I did wrong. I posted the following question several days ago but got no direct answer.
Thanks a lot!
Originally posted by Ramesh Kadur:
Hi,
In the instruction, under Overall Architecture, it says that the application has 3 key parts:
1. The server-side database with network server functionality
2. The client-side graphical user interface
3. A client-side database that handles the networking on behalf of the user interface.
The second part is clear. Can any body (Balaji Sambandam ??) explain what 1 and 3 are and difference between them? Is the instruction telling me that I have to have two databases - one on the client side and another on the server side? If we have two databases then they should be identical and the application should assure the synchronization of the databases. Having two databases does not make sense to me.
Is this a 3 tier application? I can only see two tiers - Client side GUI and Data Server. If the database, flat file in our case, is itself considered as another layer then it becomes three tier.
Your explanations are appreciated.
Thank you.
Ramesh Kadur
Originally posted by lucy hu:
hi, guys,
the instruction of my assignment says I need to implement three methods: criteriaFind(String), lock(int) and unlock(int), I found the latter two methods in Data.java source code, but couldn't find the criteriaFind(String) method, is there something wrong?
Regards
Lucy
Originally posted by John McWon:
I could not understand "The DB package should be accessible in both client and server side". You mean one the server side need the DB package or both server and client side need the DB package? I think both will need because you need the DB package in client side so that you can declare DataInfo and fieldInfo instances at the client side. after the declaration, you can assign values which passed from the server side, right?
Originally posted by Da Zhu:
As we know the methods in Data class may throw DatabaseException, I am wondering if your guys pass this exception to the client side, say to the gui class.
If yes, then the DatabaseException.class has to be
on the client side too, while I think we should move all
the db package to the server side.
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 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 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 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.