• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

URLyBird: Passed with 377

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats!
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!
(After a few days I will move this thread to our certification results forum.)
 
Ranch Hand
Posts: 92
Android Eclipse IDE Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good job Rodrigo!
 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ken,

I do not have cookies in my assignment.

Regards,
 
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats






Regards
Nik
SCJP(1.5)
 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations, this is indeed a great score
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Rodrigo!
 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nice
 
Author
Posts: 3473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, time to go over to Sun Certification Results...
reply
    Bookmark Topic Watch Topic
  • New Topic