Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird: Passed with 377

 
Rodrigo W Bonatto
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Today I received the good news that I passed the exam!

General Con: 100 90
Documentation: 70 70
OOD: 30 30
GUI: 40 27
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 377

Thank you all.

Regards,
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats!
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
(After a few days I will move this thread to our certification results forum.)
 
Romeo Son
Ranch Hand
Posts: 92
Android Eclipse IDE Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good job Rodrigo!
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!!

You got excellent score in locking (80/80) can you please share your assignment name and general outline of locking!!

Thanks
 
Rodrigo W Bonatto
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ken,

My assignment was URLyBird 1.3.2 and I used JDK 1.6.0_01 version.

I separated all database services and locking manager in two different classes and I used the classic solution synchronized+wait()+notifyAll() to guarantee that one record could be locked by only one client.
The lock manager used a Map to save all records that was locked by a specific client thread.
In my solution, each database service instance represents a client in this map, therefore each client must have only one database service instance implementation to lock and unlock a record in the data base file.

To guarantee that only one thread could be owner of a record, I create only one lock manager instance in the entire JVM using the singleton pattern.


Best regards,
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rodrigo W Bonatto:
Ken,

My assignment was URLyBird 1.3.2 and I used JDK 1.6.0_01 version.

I separated all database services and locking manager in two different classes and I used the classic solution synchronized+wait()+notifyAll() to guarantee that one record could be locked by only one client.
The lock manager used a Map to save all records that was locked by a specific client thread.
In my solution, each database service instance represents a client in this map, therefore each client must have only one database service instance implementation to lock and unlock a record in the data base file.

To guarantee that only one thread could be owner of a record, I create only one lock manager instance in the entire JVM using the singleton pattern.


Best regards,


One more question do you have cookies in your assignment?

Thanks for your reply,
Ken
[ June 12, 2007: Message edited by: Ken Boyd ]
 
Rodrigo W Bonatto
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ken,

I do not have cookies in my assignment.

Regards,
 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats






Regards
Nik
SCJP(1.5)
 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations, this is indeed a great score
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Rodrigo!
 
Arno Reper
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice
 
arulk pillai
Author
Ranch Hand
Posts: 3390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats.
 
Ziji (Jay) Zhang
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rodrigo,
Did you used Socket?
I am reading Max's book, I haven't started my exam yet.
I am thinking that if you use Socket, Each Client request will
spawn a new thread (DVDSocketRequest in Max's book), so you can use this thread to represent the
client's identity?
Should I buy SCJD book 2nd edition(by Andrew)?
Thanks,
Ziji
 
Rodrigo W Bonatto
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ziji,

I used RMI in my implementation.
At my service implementation, I created a method to provide a new instance of Database services to the client, so each client invoking this method before calling database services, get a brand new database service, so each client will have an exclusive instance of database implementation. I used the database instance to identify the client.

I recommend Andrew's book! It help me a lot!

Best regards,
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, time to go over to Sun Certification Results...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic