Sham Delaney

Ranch Hand
+ Follow
since Feb 08, 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 Sham Delaney

I would like to thank everyone on this forum for their contributions that have helped me, I couldnt have done it without ye.
I am delighted with my result. Didnt expect to do so well.
Thanks to everyone.

The maximum possible score is 400; the minimum to pass is 320.
General Considerations (maximum = 100): 96
Documentation (maximum = 70): 70
O-O Design (maximum = 30): 30
GUI (maximum = 40): 28
Locking (maximum = 80): 80
Data store (maximum = 40): 40
Network server (maximum = 40): 40
17 years ago
Hi,

I am able to login to the http://www.certmanager.net/sun_assignment/.
My results have not appeared here yet. I can only see my results from previous certifications here.

Is there somewhere else I should be looking? A database or something?
I have tried www.galtron.com/~sun but cannot login to it.
Can anyone advise me please?
When my Server and Client start, I show a small dialog for each, asking user to enter in Port Number and Database Location\Hostname. This data is stored in a properties file.

The next time the user starts either client or server, these dialogs appear pre-populated with the data entered the last time the user started the client or server.
The very first time the user starts the client or server, The properties file will not exist and hence the port no. and database fields on the dialog are blank.

Am i violating any must's here and is what I am doing legal?
How many questions do you have to do in the exam?
How much should be written for each answer?
Hi,

I am ready to upload the assignment.
I have my "runme.jar", my docs and code folder, my "version.txt" and my db file.

What should the name of the jar file with the overall submission be called?
The file that I actually upload?
Hi,

I have a question regarding exception handling on my server side and client side.
When catching exceptions, is it best to log exceptions to a special log file on the server side and display user-friendly errors to the user (using JOptionPane.showMessageDialog) on the client side.

Should printStackTrace() be used in all the catch blocks of exceptions ??
Hi,

I realised my mistake and got it to work using..



Thanks for the help.

Oliver, is there any benefit to using the way I am connecting...and the way you are connecting?
Hi,

I am having a problem with my client not being able to connect to server when the port is a port other than 1099.

My server is running fine on any port i specify.
Client connects no problem on 1099.
But when server is started on another port, I get a remote exception.
It is a java.net.ConnectException: Connection refused: connect.

Here is code i use to connect from client..


Do i need to specify what port the client connects to?
If so, How do i do this?
I do not fully understand your response.
I am using it for GridBaglayout, GridBagConstraints, Container, ActionListener and KeyListener. Basically only for GUI stuff. Is this allowed?
Hi folks,

Are we allowed use the java.awt package in our projects?

Sham
"Any unimplemented exceptions in this interface must all be created as member classes of the suncertify.db package. Each must have a zero argument constructor and a second constructor that takes a String that serves as the exception's description."

Does a "zero argument constructor" mean ?

a) public RecordNotFoundException(){
}
OR
b) public RecordNotFoundException(0){
}
Hi Alan.

Just a question about the images you used as icons for your JButtons.
I have similiar gifs in my GUI. Was wondering if it was ok after all to leave them in?

You passed with a v good score with them in right?
And you seem to have got 30 out of 40 for your GUI.

Congrats.
In my Database file..it seems like spaces fill the gaps at the end of each field. When Writing these fields back out to the database..I am following the approach Andrew made in his book. Instead of writing out spaces to fill the gap, I write out the field...and skip onto the location of the next field.

My code reads in the updated fields no problem...the same as it does for the other fields.
Is it safe to assume that it is ok to do this?
I dont have that implemented yet. Just got the cache writing out to the file properly at the minute. Havent implemented writing in case of crash or at a specific time interval. Not sure how I am going about it either.