Passed!

Terry McKee

Ranch Hand

Posts: 175

posted 14 years ago

I checked the database tonight and I passed! Here is the breakdown: General Considerations - 45/58 (Ouch!) Documentation - 20/20 GUI - 22/24 Server - 51/53 Total 138/155 I think the General Considerations was down because I rushed at the end. Everything was done and I just wanted to be done with it so my design decisions document wasn't as thorough as it should have been. The other areas of the application were really high scores. I am very happy to be done. <hr> For all of those inquiring minds out there: I extended Data and put the locking and unlocking methods only in the extended class. That way the responsibilities of the classes were clear. The criteriaFind method was still in the Data class. The locking method signature was kept as directed lock(int row). The locking was done through a LockManager that was kept generic to encourage reuse. The only regret that I have is that I didn't spend more time with the design decisions. I really didn't go in to enough detail. Feel free to ask more questions.

Rajesh Matti

Ranch Hand

Posts: 121

posted 14 years ago

Terry - Congragulations !!!. My problem will also be design document because it is difficult to write a convincing document to a totally unknown person. -Rajesh

Terry McKee

Ranch Hand

Posts: 175

posted 14 years ago

My problem was that I didn't know quite what to focus on when writing the design decisions document. I said a few things about the main areas like RMI vs Sockets, and Locking, but I just didn't know how detailed I should get. I guess a little further, heh?!? When doing the written exam I didn't have any problems answering the design questions. After answering the basic questions I felt irritated that I didn't focus on them in my design document. Oh well.

Bal Sharma

Ranch Hand

Posts: 273

posted 14 years ago

Congragulations!! Terry. It is great going. Could you please tell us when you uploaded the assignment and took the essay exam? I wanna know how fast is SUN these days. Some developers are not getting their results on time. I can sense their situation, it is real frustating. -Bal

Congratulations on passing the exam. Can you please tell, when did you uploaded the assignment and appeared for the essay exam. Also after submitting your assignment, did you saw any change in the Test History section. Because in my case it shows an Assignment button. But I think it should not, because I have already submitted my assignment around 23rd of january and had taken the essay exam on the 1st of february. Garry

Terry McKee

Ranch Hand

Posts: 175

posted 14 years ago

I uploaded the exam on February 5th and took the written exam February 6th. I got the results on February 17th. So from the written exam to the results day only 10 days passed. I think it is a really depends when you get your results. I just got lucky. In any case I am off to look at the SCWCD test. I'll still be around for any questions.

Garry Kalra

Ranch Hand

Posts: 111

posted 14 years ago

Thanks for the Info. After I pass, I would like to go in for the Architect one. Garry

Terry McKee

Ranch Hand

Posts: 175

posted 14 years ago

I know that I can go for the Architect exam instead of the Web Component exam right away, but it will be nice to just take it easy for a little bit and answer some simple multiple choice questions!

Vivek Rana

Greenhorn

Posts: 11

posted 14 years ago

Congrate Terry !! i have one doubt regarding the lock/unlock, how did u implement that? are u using the client id if so please tell how u are handling this, without changing the signature of the lock and unlock method. i am using the client ip address as client id, but in my case client can not have more than one connection with server from a single machine. I hope to see yr idea about it. Rana

Terry McKee

Ranch Hand

Posts: 175

posted 14 years ago

It took me awhile to come up with a design for the locking that adhered to the requirements of the assignment. It may not be the best design, but it worked for me. Initially, the remote client will get a session from the server. This session is created for only that remote client. The session lives on the server which is important so that if communication is lost between the client and server you can do some clean up if you want. So the session has all of the methods needed like criteriaFind, lock, unlock. The lock and unlock method would just call the lock and unlock methods on the RemoteData object. But here's the trick, since the session object is unique to the remote client you can keep track of the locks that it holds within that session object. That way when the remote client wants to unlock a row - it checks first to see if it has previously locked the row and has permission to unlock it. It really is a simple design when you think of it. Please let me know if you have any more questions.

Vivek Rana

Greenhorn

Posts: 11

posted 14 years ago

Thanks Terry, Seems nice idea, may be i will something out of it. Vivek