aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Passed with 145 points Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Passed with 145 points" Watch "Passed with 145 points" New topic
Author

Passed with 145 points

pauramo
Greenhorn

Joined: Sep 11, 2001
Posts: 1
Thanks to people here for telling how they did it, without it I might have done a lot of unnecessary work and might not have passed.
bekars
Greenhorn

Joined: Jul 27, 2001
Posts: 8
Would you like post your experiences!
Siddharth Mehrotra
Ranch Hand

Joined: Aug 21, 2001
Posts: 185
Originally posted by pauramo:
Thanks to people here for telling how they did it, without it I might have done a lot of unnecessary work and might not have passed.

hi Pauramo,
Great news to hear that you have cleared the SCJD exam.
why dont you carry out the tradition and help meek coders like us by giving advice , as to what were your design patterns and what part of the code yo were really bugged. how did you get over it ...
my questions will go on and on and on.....
in short what all you expected others to tell you why dont you tell it to us
------------------
Sid


SCJP, SCJD.
Ricardo Polero
Ranch Hand

Joined: May 18, 2001
Posts: 128
Hi, Congrats
Would you tell us How
- apply patterns
- made the docs
Thx in adv
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1850
"pauramo"
<h2>Congratulations</H2>
And Welcome to the Club.
However... we have a problem
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
------------------

Mahindrakar
IBM Application Server & Developer Forum Moderator

Consultant - Zensar Technologies ,Pune India.
SCJP2, SCJD2 & SCJEA (Part I)
Perttu Auramo
Greenhorn

Joined: Sep 16, 2001
Posts: 3

Originally posted by Siddharth Mehrotra:
hi Pauramo,
Great news to hear that you have cleared the SCJD exam.
why dont you carry out the tradition and help meek coders like us by giving advice , as to what were your design patterns and what part of the code yo were really bugged. how did you get over it ...
my questions will go on and on and on.....
in short what all you expected others to tell you why dont you tell it to us

Well, first of all I used RMI. The network server (RMI-class) and Data-class extended the same interface (DataInterface) although the RMI-one through inheritance (DataInterface -> DataNetworkInterface). The DataNetworkInterface also inherited Remote.
The locking was implemented with simple List of Lock-objects (containing information if a certain record is locked or not). The change of the state of these objects was synchronized with the lock-object (very granular). I didn't use client-tracking and timeouts. The lock-all stuff i did like this: I had one special java.lang.Object which was used to synchronize the lock-all portion of the code. This lock-all portion just looped through all the records and did the exactly same thing as the lock-one portion.
The search was very simple: at first it constructed a list of objects which contained the search-conditions in a way which was easier to use when looping through the whole database. Then just the looping.
The documentation I did with html (the user-instructions and explanation of the design choices) plus the readme.txt.
I had the whole application in one jar (both the client and the server). This jar was of course in a bigger jar which contained all the docs and so on.
Well, does anybody want to know more? I won't post the whole code or anything though...
(pauramo -> Perttu Auramo)
Devu Shah
Ranch Hand

Joined: Jun 21, 2001
Posts: 50
Hi. Cogrates. and thanks for details given.
Can u pl. show break up of marks. specillay in GUI ?
thanks
devu
Perttu Auramo
Greenhorn

Joined: Sep 16, 2001
Posts: 3
Originally posted by Devu Shah:
Hi. Cogrates. and thanks for details given.
Can u pl. show break up of marks. specillay in GUI ?
thanks
devu

I'm not sure what you mean. If it's details about the score then here (the major point loss stuff is still there although I got the score corrected, it was a mistake on their part):
Grade: P
Score: 145
Comment: This report shows the total points that could have been awarded in each section and the actual number of points you were awarded. This is provided to give you per-section feedback on your strengths. The maximum possible # of points is 155; the minimum to pass is 124. General Considerations(maximum = 58): 56 Documentation(maximum = 20): 20 GUI(maximum = 24): 18 Server(maximum = 53): 51 ************* Major point loss for record locking code. The lock() method does not block when trying to lock a locked record.
Siddharth Mehrotra
Ranch Hand

Joined: Aug 21, 2001
Posts: 185
Originally posted by Perttu Auramo:

Well, first of all I used RMI. The network server (RMI-class) and Data-class extended the same interface (DataInterface) although the RMI-one through inheritance (DataInterface -> DataNetworkInterface). The DataNetworkInterface also inherited Remote.
The locking was implemented with simple List of Lock-objects (containing information if a certain record is locked or not). The change of the state of these objects was synchronized with the lock-object (very granular). I didn't use client-tracking and timeouts. The lock-all stuff i did like this: I had one special java.lang.Object which was used to synchronize the lock-all portion of the code. This lock-all portion just looped through all the records and did the exactly same thing as the lock-one portion.
The search was very simple: at first it constructed a list of objects which contained the search-conditions in a way which was easier to use when looping through the whole database. Then just the looping.
The documentation I did with html (the user-instructions and explanation of the design choices) plus the readme.txt.
I had the whole application in one jar (both the client and the server). This jar was of course in a bigger jar which contained all the docs and so on.
Well, does anybody want to know more? I won't post the whole code or anything though...
(pauramo -> Perttu Auramo)

wow...
that was a lot..
and more doubts and i guess you wil have to maim me your code..
this is the best reply from someone who has passed.
thans a lot..

------------------
Sid
Devu Shah
Ranch Hand

Joined: Jun 21, 2001
Posts: 50
Thanks for reply.
One more question if u dont mind.
Was your Criteriafind method Syncronised or not ?
Perttu Auramo
Greenhorn

Joined: Sep 16, 2001
Posts: 3
Originally posted by Devu Shah:
Thanks for reply.
One more question if u dont mind.
Was your Criteriafind method Syncronised or not ?


No. I don't really see why it should be anyway?
niharika singh
Greenhorn

Joined: Sep 18, 2001
Posts: 18
Congrats !!
I am trying to test my client/server jar files. I am facing a
peculiar problem.
I have packaged my classes in two jar files - server.jar and
Client.jar.
Server.jar contains among other classes Data and DataServer(RMI
server).
Client.jar contains all client classes.
While testing-
A. For RMI - 1. Run Server.jar
2. run client.jar
Everything is OK.
B. Local mode - Unable to run client.jar alone as it needs Data class,
which is in server.jar.
However even if I run Server.jar, client.jar still does not find Data
class and returns error 'Data class not found'
How you have addressed the issue.
regards.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passed with 145 points