Henrik Strand

Greenhorn
+ Follow
since Jan 05, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Henrik Strand

Hi,

To Alan:

My recommendation is to read this thread:
https://coderanch.com/t/187767/java-developer-SCJD/certification/Logical-File-Locking-nested-synchronisation


To Chandrasekhar:

I didn't prepare at all before taking the exam. I think that if you have written all the code that you submit then you won't have any problems with the exam.

As for books when writing the app... I had Kathey Sierras and Bert Bates book for the SCJP&SCJD. However, I think that this forum provides all the necassary info needed in order to succeed with the assignment.

Regards,
Henrik
18 years ago
Hi all,

Recently found out that I passed the SCJD. See my score below:

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 90
Documentation: 70 65
OOD: 30 30
GUI: 40 26
Locking: 80 80
Data Store: 40 40
Network Server: 40 30
Total: 400 361

Thanks to all the great people on this forum, and especially Andrew Monkhouse =).

Good luck to all of you out there studying to take the SCJD.

Regards,
Henrik
18 years ago
Hi,

Passed SCJP.
Score 91%

Good luck to all of you out there studying to take the test =)

Regards,
Henrik
18 years ago
This is the answer to my own question:

http://www.certmanager.net/sun_assignment/

Regards,
Henrik
Hi,

I've uploaded the assignment and done the computer test a couple of weeks ago. Where will I be able to find the result when it's posted?

Regards,
Henrik
[ March 22, 2006: Message edited by: Henrik Strand ]
Hi, and congratulation!

One question:

You wrote:

The only mistake (a short-cut) I can think about is closing the file in finalize method, which we know is not guaranteed.



What is not guaranteed? Having the close method in the finalize-block?

Regards,
Henrik
18 years ago
Hi!

A question regarding the specification assignment:

You must create a full suite of documentation for the classes of the completed project.

What is a full suite?

Does this mean that the javadoc must be generated with the -private flag when running javadoc?

Note: Default mode when running javadoc is -protected.

Regards,
Henrik
Exactly! This is the meaning with my question!

The spec. does not say anything about this issue. One could argue that we need to implement this to make the server more secure, but could also argue that we shouldn't because it's not in the spec and we will not receive any more credits for doing it.

Comments?

Regards,
Henrik
Hi all!

I'm using internal frames for my GUI but I haven't read any posts here that states that anyone else is using internal frames as well...

Anyone else here that is using internal frames for their gui and would like to share their comments? Or comments from those who is not using internal frames

Regards,
Henrik
[ February 09, 2006: Message edited by: Henrik Strand ]
Hi all!

What happens in your implementation when the Data clas caller calls lock() twice on the same record? Is it ok if the client locks itself since its very stupid of the client to call lock twice, or should the Data implementation handle this use case?

Regards,
Henrik
[ February 09, 2006: Message edited by: Henrik Strand ]
Hi all!

Have anyone here considered what will happen when a client who has locked a record crashes before it can call unlock on the locked record? Has anyone implemented a solution for it?

Regards,
Henrik

[ February 09, 2006: Message edited by: Henrik Strand ]
[ February 09, 2006: Message edited by: Henrik Strand ]
Hi Alex!

A couple of questions:

- Are you finished with the SCJD cert? If so, what was your locking score (if I may ask )?

- Did you use the synch mechanism that you described in that post? Or did you do some last modifications?

- Did you synch on dbFile when changing database file as well?

- I don't see that it is possible for two threads to read two different records? Is that ok, or am I missing something?

Regards,
Henrik Strand
Hi all!

One question regarding Data File Format - US ASCII:

The spec states that the database file encoding is 8 bit US ASCII. I have also seen some posts that use getBytes("US-ASCII"), but according to Java API: US ASCII is "Seven-bit ASCII".

Do I really need to care about this issue? I've tried reading from the file and the printed output looks ok...

Feedback is appreciated!

Regards,
Henrik
Hi all!

The assignment states that I must use a data access class which implements the DB interface. Does anyone know if I must implement methods not needed for the assignment (e.g., delete() and create())?

Regards,
Henrik
Ok. Thank you.

Regards,
Henrik