wood burning stoves 2.0*
The moose likes Certification Results and the fly likes Passed ... :-) .... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Passed ... :-) .... " Watch "Passed ... :-) .... " New topic
Author

Passed ... :-) ....

Gustavo Dutra
Greenhorn

Joined: Jan 26, 2005
Posts: 22
I would like to thank everybody that make this

group so rich with a lot of steps and tips to

make the right decision in the project.

Yesterday I received my results and I have to thank the

group,

good luck for every body.

My result was:
The maximum number of points is 400, to pass you need a score of 320. Section Summary:
Section Max Actual Points Points
General Con: 100 100
Documentation: 70 70
OOD: 30 30
GUI: 40 40
Locking: 80 65
Data Store: 40 40
Network Server: 40 20
Total: 400 365

Gustavo Dutra Martins
Wei-ju Wu
Ranch Hand

Joined: Feb 16, 2005
Posts: 147
Congratulations, Gustavo !


"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
Titus Barik
Greenhorn

Joined: May 15, 2005
Posts: 24
Originally posted by Gustavo Dutra:

Locking: 80 65



Congratulations! What an odd score for locking. Could you describe your implementation of it?
[ May 18, 2005: Message edited by: Titus Barik ]
Peter Sin
Ranch Hand

Joined: Jan 13, 2005
Posts: 547
365/400 Congratz !!!
David Taun
Ranch Hand

Joined: Oct 28, 2001
Posts: 116
Congrats~


SCEA 1.2, SCBCD 1.3&5.0, SCWCD 1.4, SCDJWS 1.4&5.0, SCMAD, SCJP 1.2, SCJA, SCSNI, ICED(IBM-287,484,486)
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

Congratulations Gustavo


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Weerawit Maneepongsawat
Ranch Hand

Joined: Apr 11, 2002
Posts: 203
Congratulations


Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
Gustavo Dutra
Greenhorn

Joined: Jan 26, 2005
Posts: 22
Hi Titus,

The lock is the real problem of the application,

I implemented the lock in two phases,

this happens because of the lock method, this

EVIL method only receive two arguments, the identification

of the client was not informed.... SO...... the only form

to make this work is to set an attribute value, but the attribute

is not thread safe, so you have to synchronize the first part

(the lock set) and then lock again (the lock object) to implement the

wait/notify protocol.... with this implementation you make the acquire lock

thread safe....

I did not receive 100% in the lock problem....

I think they want a lock manager or I made a mistache.... I don�t know...

well....

It doesn�t matter...

now is only celebration

I hope it helps you,

Gook luck


Gustavo
peter wooster
Ranch Hand

Joined: Jun 13, 2004
Posts: 1033
Originally posted by Gustavo Dutra:
The lock is the real problem of the application,
...
I did not receive 100% in the lock problem....

I think they want a lock manager or I made a mistache.... I don�t know...

well....

It doesn�t matter...

now is only celebration

I hope it helps you,

Gook luck


Gustavo


Congratulations on a great score, especially the locking. I have come to think that the marking shares a lot in common with figure skating, its subjective and totally up to the judges.

Again congratulations

Muthaiah Ramanathan
Ranch Hand

Joined: May 16, 2005
Posts: 102
so you have to synchronize the first part

(the lock set) and then lock again (the lock object) to implement the

wait/notify protocol.... with this implementation you make the acquire lock

thread safe....


I came across an example by Alain Troitter and in his locking example - there is a synchronized lock method. In the synchronized method he doesn't acquire the lock for the hashmap (the locked records) before adding elements in to that table or deleting it from the table. Is this the right way to do it?


SCJP 1.6, SCJD, SCWCD, SCBCD.

Be nice to people on the way up cos, you'll need 'em on your way down - From somewhere I can't remember!
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

Hi Muthaiah,

If the method itself is synchronized, and there is only one instance of the class, then only one thread can ever be adding lock details to the collection. So this will work.

I don't believe it is the best way of handling this though - I believe you should be limiting your synchronized code to the smallest possible block, and synchronizing on an object that makes sense for the synchronization (so the Collection for locking and the RandomAccessFile for file I/O (or similar)).

Regards, Andrew
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

I have moved this post to the Sun Certification Results forum. You can now find it here.

Regards, Andrew
S.L.Narayanan
Ranch Hand

Joined: Apr 01, 2005
Posts: 431
Congratulations!!!


Well Done!!!


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, NEXT--->IBM XML
Tong Chen
Ranch Hand

Joined: Apr 26, 2002
Posts: 1011
congratulations and enjoy!


Tong Chen (Seattle USA)<br />SCJP,SCWCD,SCDJWS,IBM XML,MCP.NET,MCAD.NET,MCSD.NET
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passed ... :-) ....
 
Similar Threads
I passed!!! 358
Just want to say thank you so much!!!
Passed (357 / 400)
SCJD Passed
I passed!!! 358/400