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 NX: Finishing touches before upload on Monday. 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 "NX: Finishing touches before upload on Monday." Watch "NX: Finishing touches before upload on Monday." New topic
Author

NX: Finishing touches before upload on Monday.

Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Just a quick question. I'm basically done with my project. Want to try upload on Monday.
In my startup dialog, I let the user select the db file. I then save the db file path to the properties file when they click the Launch button.
My Data class then reads the db file path from the prop file, and opens it as a raf.
So, I don't pass the db file into the Data class as an arg, but read it directly from the prop file.
Is there a problem with this way of doing it?
Don't think so, but just want some thoughts.
Thanx.
[ February 06, 2004: Message edited by: Jacques Bosch ]

Jacques<br />*******<br />MCP, SCJP, SCJD, SCWCD
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11509
    
  95

Hi Jacques,

I'm basically done with my project.

Woohoo - got to be happy about that!

Want to try upload on Monday.

Good luck - you might want to send Prometric an email telling them that you want to upload so that you can do it on Monday.

In my startup dialog, I let the user select the db file.

If you already have a properties file, do you offer the last used file location as a default?

Is there a problem with this way of doing it?

Looks good to me.
Regards, Andrew


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

Joined: Apr 15, 2003
Posts: 619
Hi Jacques,
Congratulations on finishing the assignment. You work fast!
By default we do not have permission to upload the assignment (as crazy as that statement is it seems to be true). Therefore, I would strongly recommend sending an email like the following to SunCert@prometric.com, if you have not already done so. Otherwise you potentially face a delay in being able to upload your project.

Hi SunCert,
When attempting to upload the "Sun Certified Developer Assignment for Java 2," I received the following error message:
"You do not have the rights to upload that assignment..."
However, I feel that I should have the ability to upload this assignment. Please make it possible for me to do so.
Candidate: xxxxxx xxxxxxxxxx
Address: xxx xxxxx xxxx xxxxx
xxxxxxxxxxxx, xx xxxxx-xxxxx
Candidate ID: xxxxxxxxx
My confirmation of payment is: xxxxxx
Thank you for your assistance,

Hope this helps,
George


Regards, George
SCJP, SCJD, SCWCD, SCBCD
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Hi Andrew / George.
Thanx. I already have my upload permission. I sent the request on Sunday evening, and got a mail back on Tuesday evening saying I now have upload rights. I especially got it early so I wouldn't have to wait when I was done.

Woohoo - got to be happy about that!

O yes!

If you already have a properties file, do you offer the last used file location as a default?

Yes I do. And the port number, etc.

Looks good to me.

Glad to hear that! Thanx.

Congratulations on finishing the assignment. You work fast!

Thanx. I had to finish this thing pronto. I started on 5 Jan. But I must say, I really did put in the hours. (Was fun, but if I have to do much more work on it, I'm gonna start hating it. So I REALLY hope I pass ).
And I also wouldn't have been anywhere near as far, or confident, if it wasn't for this forum.
Just a few more things......
1) A little swing issue with a button not being fully visible when the window is too narrow and the button is wrapped to the next line in a JPanel with FlowLayout. Thought FlowLayout would handle this properly by itself. How do I fix?
2) I used some basic logging, but only in my Data class. Will I get penalized because I used logging in Data but not in the rest of the DB server or application?
3) And, can anybody give me a quick tip on how to pick up the IP address of the local machine automatically to be displayed on the server side GUI?
Thanx much all of ya.
J
[ February 06, 2004: Message edited by: Jacques Bosch ]
[ February 06, 2004: Message edited by: Jacques Bosch ]
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Also
4) Data <-> DBServices <-> GUI = a 3 tier design, hey?!
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Well, despite not having my last few questions answered , I finished the thing up and uploaded it this morning.
Major relief to not be able to second guess myself anymore and make stupid little changes.
Writing exam later this week.
We'll have to see what happens.
YungSheng Chang
Ranch Hand

Joined: Jul 28, 2003
Posts: 44
Hi Jacques:
Good for you to upload SCJD, and good luck for high score!
One question, how do you name your submission JAR file?
In Sun instruction, it just says :
"All elements of your submission must be packaged in a single JAR file. "

But it doesn't mention about the JAR file naming.
thanks!


I play Java for fun.<br /> <br />SCJP / SCJD / SCWCD / SCBCD
George Marinkovich
Ranch Hand

Joined: Apr 15, 2003
Posts: 619
Hi Jacques,
Originally posted by Jacques Bosch:
2) I used some basic logging, but only in my Data class. Will I get penalized because I used logging in Data but not in the rest of the DB server or application?

That won't be a problem. Logging isn't required at all for the assignment. So no one is going to complain about how much logging you have. The Data class seems like a logical place to put logging. Congratulations on the upload and good luck on the exam.
Don't worry, be happy
George
George Marinkovich
Ranch Hand

Joined: Apr 15, 2003
Posts: 619
Hi YungSheng,
Originally posted by YungSheng Chang:
One question, how do you name your submission JAR file?
In Sun instruction, it just says :
"All elements of your submission must be packaged in a single JAR file. "
But it doesn't mention about the JAR file naming.

You can find the answer to your question here,
Topic: (NX,URLyBird)About submission packaging:
Hope this helps,
George
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Hi Yung.
Thanx.
On the upload page there is the following info about the submission jar:

The name of your submission archive file MUST be derived from your Testing ID, as shown above. Your Testing ID is your 9-digit Social Security Number (U.S. only), or it might be another alphanumeric combination, e.g. sp1234567 (any country). Your archive filename MUST BE scjda-AAAAAAAAA.ZZZ, where AAAAAAAAA is your Testing ID, and ZZZ is the appropriate filename extension for your archive type (zip, tar, or jar).

George, Thanx to you toooooooooo. Hope I make it.......
By the way, how far are you?
 
Consider Paul's rocket mass heater.
 
subject: NX: Finishing touches before upload on Monday.