File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes SCJD assignment changed! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "SCJD assignment changed!" Watch "SCJD assignment changed!" New topic
Author

SCJD assignment changed!

keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
I just got my scjd assignment today and I found some differences.( Tell me if it is illegal to paste these content )
1. they donot provide the implementation of Databse any more. Instead, just giving you the interface of the DB
2. clearly commnet that you should not use dynamic downloading of _stub.class and no HTTP server should be needed
3. you cannot use any command line properties specifications other than the network mode selection. All configuration should be done with GUI and be persist between runs of your applecation.

4. they do provide you the db.db file which will tell the schema of the database.(altough, I didnot found such file at all in my downloaded jar file. but this is commented in the instructions. I have claimed this problem to SUN/promentic, but no answers until now)
any comment is appreciated.
thanks in advance.
[ March 26, 2003: Message edited by: keisin syu ]
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

1. they donot provide the implementation of Databse any more. Instead, just giving you the interface of the DB

Is lock()/unlock() still in the interface?

2. clearly commnet that you should not use dynamic downloading of _stub.class and no HTTP server should be needed

This makes perfect sense, they should have done it long time ago. The "codebase" confuses a lot of people here.

3. you cannot use any command line properties specifications other than the network mode. Alll configuration should be done with GUI and be persist between runs of your applecation.

Good, no confusion about the policy file anymore.

4. they do provide you the db.db file which will tell the schema of the database.(altough, I didnot found such file at all in my downloaded jar file. but it is commented in the instructions. I have claimed this one to SUN/promentic, but no answer until now)

Keep us posted.
Eugene.
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
Is lock()/unlock() still in the interface?

Yes!
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
i have exactly the same problem, and also sent an email, please post as soon as you have a reply and i'll do the same, because clearly either the download is incomplete or the instructions are incorrect
Seid Myadiyev
Ranch Hand

Joined: Jul 02, 2002
Posts: 196
Friends,
I have downloaded my assignment on November 14, 2002 and my instructions are the same as everybody else�s for that time but I would like to know if I could (or must) design my solution according to the new instruction above?
Also, can I use: "Java 2 SDK 1.4.1_02"
(which is the latest SDK version) for my solution?

Thanks very much!
+Seid
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
You can use any production version of the jdk.
M, author
The Sun Certified Java Developer Exam with J2SE 1.4


Java Regular Expressions
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Well that sounds very much like the 1.4 Beta that some took last fall. So maybe they have now released it.
In the Beta, the instructions too talked about a db.db file, but did not provide it, and it wasn't supposed to be provided. I am surprised after the Beta, that they didn't remove this from the instructions.
You will have to create your own db.db file and make it match their format/specification that are in the instructions.html document.
Good Luck
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
Originally posted by Mark Spritzler:
Well that sounds very much like the 1.4 Beta that some took last fall. So maybe they have now released it.
In the Beta, the instructions too talked about a db.db file, but did not provide it, and it wasn't supposed to be provided. I am surprised after the Beta, that they didn't remove this from the instructions.
You will have to create your own db.db file and make it match their format/specification that are in the instructions.html document.
Good Luck
Mark

thats just it Mark, there is no format/specification.
no hint as to length of various fields, io can figure out fields based on the background overview, but at the same time i can see some unspoken yet given dates without which this app cant possibly run, yet theres also mention in the same background overview of the company needing to continue manipulating the data for reports and again its stressed that the database code must be re-implemented from scratch without altering the data file format.
and a paragraph later it again makes reference to using the "existing data file format".
I'm beginning to wonder if this archive i downloaded isn't missing something other than the db.db file as well, because several certification books mention getting some code as well, granted the books are old and I'm still waiting for Max's but is the instructions.html file supposed to be the only file in the jar you download?
Erik Manor
Greenhorn

Joined: Mar 28, 2003
Posts: 12
I just downloaded my project today and appear to have the same problem. The only file I received in the jar was an instructions html file, which contains an embedded interface for the db. My guess is that Sun no longer sends the db file to us so implementation is now up to the tester (fixed field length, delimiter, etc). I also sent an email to Sun for clarification and if I hear back I will do a follow up post.
Either way Sun wants to conduct this (gives us the db file or have us implement our own) is fine. But if this is the new way they plan to conduct the test they should update their instructions to get rid of confusion. Also the instructions state to send the original db file with the final package, I assume since they do not provide this I should send the file format I plan to use?
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
what is the normal file format (db.db) for SCJD exam which SUN usually give with the assignment?
Please help us those completed earlier.
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
the other strange thing is that the very first page(when printed) says
"The application distribution is composed of :
This document
A non-relational database file"
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
the promentic mailed me and sayed that they have FW. my mail to sun. the answer may come at tomorrow morning (in china)if they act quickly.
if there is any reply from sun, I'll post it.
Jimmy Chiu
Ranch Hand

Joined: Feb 08, 2003
Posts: 58
Hi,
Does anyone know if Sun has an online forum where we can post this question?


go...
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Isn't the details of the db.db file listed in the instructions.html, like in the following
Database Formats
The format of data in the database file is as follows:
Start of file
4 byte numeric, magic cookie value. Identifies this as a data file
2 byte numeric, number of fields in each record
Schema description section.
Repeated for each field in a record:
1 byte numeric, length in bytes of field name
n bytes (defined by previous entry), field name
1 byte numeric, field length in bytes
end of repeating block
Data section. (offset into file equal to “offset to start of record zero” value)
Repeat to end of file:
1 byte flag. 00 implies valid record, 0xFF implies deleted record
Record containing fields in order specified in schema section, no separators between fields, each field fixed length at maximum specified in schema information
End of file
All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes. All text values, and all fields (which are text only), contain only 8 bit characters, null terminated if less than the maximum length for the field. The character encoding is 8 bit US ASCII.
Database schema
The database that Bodgitt and Scarper uses contains the following fields: Field descriptive name Database field name Field length Detailed description
Subcontractor Name name 32 The name of the subcontractor this record relates to.
State, City location 64 The locality in which this contractor works
Types of work performed specialties 64 Comma separated list of types of work this contractor can perform.
Number of staff in organization size 6 The number of workers available when this record is booked
Hourly charge rate 8 Charge per hour for the subcontractor. This field includes the currency symbol
Customer holding this record owner 8 The id value (an 8 digit number) of the customer who has booked this. Note that for this application, you should assume that customers and CSRs know their customer ids. The system you are writing does not interact with these numbers, rather it simply records them. If this field is empty, the record is available for sale.
Return to top

I took that from the Beta's instructions.html.
DO NOT USE IT FOR YOUR ACTUAL ASSIGNMENT. IT IS POSTED AS A "DO YOU SEE THIS IN YOURS" POST.
Mark
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
What about those who have not finished the old one? do they have choice to switch to new one?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Originally posted by Don Liu:
What about those who have not finished the old one? do they have choice to switch to new one?

Probably not, but thats a complete guess.
Mark
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
Well, if they pay twice, then they probably can.
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
Isn't the details of the db.db file listed in the instructions.html, like in the following:
Database Formats
The format of data in the database file is as follows:
Start of file
4 byte numeric, magic cookie value. Identifies this as a data file
.....

No, there are none of these infomation
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Hi Mark,
Thankyou very much.
GVRao
Keen Chen
Ranch Hand

Joined: Nov 12, 2002
Posts: 47
Howdy all!
I got the new assignment too.....
and I had sent a mail to sun,
waiting for their reply msg...


SCJP 1.4 100% @ Peking, China <br />~~~~~~~~~~~~~~~~~~~~~<br />但使龙城飞将在, 不教胡马度阴山!
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
I've got reply from Sun and they say that I can download new assignment after April 2, 2003.
there is the original message from them:
We are currently experiencing
difficulty with our SCJD assignment download. Please wait until April 2, 2003,
and download the assignment once again. You will receive the correct download
including the corrected instructions.

But I think they will not include any DB file in the new one. Maybe sun will document the schema of the DataBase like the bate one.
Erik Manor
Greenhorn

Joined: Mar 28, 2003
Posts: 12
I got the same email as well today. Good, even though I know part of the assignement is to fill in the gaps for the requirements my instructions just left too much out. Two day vacation
Larry Li
Greenhorn

Joined: Nov 25, 2002
Posts: 27
According to the discussion above,we need to design the basic db access classes ourselves,don't we?


The hill is not a hill.
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
Originally posted by Larry Lee:
According to the discussion above,we need to design the basic db access classes ourselves,don't we?

Yes, It is clearly commented in the instructions.html
ragsulid
Greenhorn

Joined: Mar 27, 2003
Posts: 5
Originally posted by Don Liu:
What about those who have not finished the old one? do they have choice to switch to new one?

Hi Don,
I got a response from Sun and asked the same question. They said to work on the initial assignment you downloaded and submit that instead.
Hope that helps.
Thomas Kijftenbelt
Ranch Hand

Joined: Feb 13, 2002
Posts: 73
hi,
I downloaded my assignment today, and I got a jar file with two files in it: a html file with instructions and a database file (.db)
greetings,
TK
PS I must admit I also expected some java files... (and not just a database file)
[ April 02, 2003: Message edited by: Thomas Kijftenbelt ]
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
Originally posted by Thomas Kijftenbelt:
hi,
I downloaded my assignment today, and I got a jar file with two files in it: a html file with instructions and a database file (.db)
greetings,
TK
PS I must admit I also expected some java files... (and not just a database file)
[ April 02, 2003: Message edited by: Thomas Kijftenbelt ]


It looks like they didn't update my assignment yet. How long will they take to complete this?
BYW. Thomas, Are you download your assignment the first time? the assignment you downloaded is for java 2, right?
Thanks.
keisin
[ April 02, 2003: Message edited by: keisin syu ]
Michael Dreese
Ranch Hand

Joined: Apr 02, 2003
Posts: 45
I just downloaded my assignment and it came with two files (instructions and db) in a .jar file.
The total score has been changed to 400.
Erik Manor
Greenhorn

Joined: Mar 28, 2003
Posts: 12
I downloaded my project again and it is still the same archive that I got before without the db file. I sent an email to Sun for follow up. It maybe they updated the test for all the first time downloads but forgot to update the test for people who downloaded it a few days ago and got an imcomplete copy like myself.
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
I think so, too.
My assignment is still the same as I downloaded days ago.
I just sent an email to SUN, too. I think they will really get lost in tons of messages :roll:
Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
I think SUN plays some trick this time. I remember that everyone download the same jar file for the old assignment. I tried to redownload my assignment in these days. What I get is the new assignment. However the file name is a name with my ID. I am not sure if everyone can get same db file this time. :-)
keisin syu
Greenhorn

Joined: Dec 04, 2002
Posts: 25
Originally posted by LIN FENG:
I think SUN plays some trick this time. I remember that everyone download the same jar file for the old assignment. I tried to redownload my assignment in these days. What I get is the new assignment. However the file name is a name with my ID. I am not sure if everyone can get same db file this time. :-)

I just downloaded my new assignment, and there are two files in the jar.
But I found that the version of the instructions is older than the first one. It's amusing, right?
Also they include the data format part in the instructions.
[ April 03, 2003: Message edited by: keisin syu ]
[ April 03, 2003: Message edited by: keisin syu ]
Thomas Kijftenbelt
Ranch Hand

Joined: Feb 13, 2002
Posts: 73
hi,
yes, i downloaded the assignment for the first time, and it is the java2 assignment.
greetings,
TK
frank sun
Ranch Hand

Joined: Apr 11, 2003
Posts: 102
do I need to implement the functions of client side when running in the server mode?
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Hi Mark,
What is magic cookie in the db file format.
In the beta assignment, Bodgitt and Scarper, SUN didn't mention anything about adding, modifying and deleting records. They only mentioned "must allow the CSRs to generate a list of constractors that match a customer's criteria". Do we need to implement add/modify/delete functionality in the assignment? In Max book also, the is no provision provided in the assignment about adding new records. What to do in these cases? Please guide me.
Thanks in advance.
GVRao
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Hi Mark,
What is magic cookie in the db file format.
In the beta assignment, Bodgitt and Scarper, SUN didn't mention anything about adding, modifying and deleting records. They only mentioned "must allow the CSRs to generate a list of constractors that match a customer's criteria". Do we need to implement add/modify/delete functionality in the assignment? In Max book also, the is no provision provided in the assignment about adding new records. What to do in these cases? Please guide me.
Thanks in advance.
GVRao
 
wood burning stoves
 
subject: SCJD assignment changed!