aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Just got my result 145/155 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 "Just got my result 145/155" Watch "Just got my result 145/155" New topic
Author

Just got my result 145/155

Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
I have received my result recently. It only took me a week to have it.
Details as follow:
Test: Sun Certified Developer for the Java 2 Platform (310-027)
Date Taken: 2001-05-20 12:33:15.090
Registration Number: g36syd0011
Site: hk18
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 information is provided in order to give you feedback on your relative strengths on a per-section basis. The maximum number of points you could have received is 155; the minimum to pass is 124. General Considerations(maximum = 58): 52 Documentation(maximum = 20): 20 GUI(maximum = 24): 24 Server(maximum = 53): 49
Thanks for all your kindly supports.
Conor Allen
Ranch Hand

Joined: Apr 27, 2001
Posts: 32
Congratulations!
Conor
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Congratulations! Great score. What are your plans for the future? I am having trouble deciding where is best to go from here. I don't have a significant amount of Java experience on the job, and it almost seems like a mockery of the certification process to earn an Architect certification w/ no experience. Also, that new certification, something Java Web Tools or something like that sounds pretty interesting. I'd appreciate hearing your thoughts on all of this.
With Respect,
Matt
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Alex,
You did great for your assignment! Congradulations!
I am working on the documentation. I have some problems. Would you please help me.
1) how many files for the documentation did you submit ? I understand at least two: README.txt and javadoc files.
2) did you submit a separate documentation file for design decisions ?
My assignment spec confuses me. It says " Design decisions should be briefly but clearly described in your comments." It
appears that I can just put it in comments in the program and that I may not need a separate file for design decisions.

Please give me some clarifications.
Thanks in advance,
Ruilin
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear Ruilin
I have used 4 files for my document parts
One is the readme file, two for installation and user guide of my application and one for my decision choice.
The readme file is plain text format but the rest are using Word 2000. The reason for using word is that I need to do some screen dump for my user Guide.
Hope this can be of help.
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear Matt,
Actually I have no idea about the Web Developer Exam, but I think I will go for the Certified Architect.
As I have not got much information about the Web Developer Exam
Is it for Sun and is it certified by Sun???
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
To Ruilin,
I have a separate directory for keeping all the javadoc generated files. And I recommand all of your class and modified classes should be included.
Also to me, I haven't paid much attention to the instruction about comment, I just add comments once the logics are complicated. Or just in front of a block of code that needs to have further explained.
I think clear coding and well-commented are the most important.
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Alex,
Your comments have provided me a lots clarification. That is great help.
Thanks a lots and good luck for the Architect certification.
Ruilin
shailesh sonavadekar
Ranch Hand

Joined: Oct 12, 2000
Posts: 1874
alex , that is great score. You are now SCJD with great score. All the very best for the future.
Your Friendly Bartender
Shailesh.
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Alex:
Yeah, it is a Sun Certification, but it's in beta testing right now. A few Programmers and Developers get to take it for free to test it's worthiness, degree of difficulty, etc...

I think it's supposed to be available to all this fall.
Matt
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear Matt,
As learnt from other developers who have tried the Architect exam, they mentioned that the exam is about J2EE and Design.
As I don't have much experience in J2EE, I think it doesn't suit me. I only develop application with J2SE so I think it may be a little bit challenging. But anyway I will still go to take the Architect exam as I want to use it to force myself to study :P
As I am not a developer with rich experience (just only 2 years Java development), before I was a C programmer only, I think the Architect exam may have me a bit for validating my designing approach.
Nathan Daniels
Greenhorn

Joined: May 03, 2001
Posts: 21
Congratulations.
I had one question on the GUI, since you got full score on it. I am trying to size my buttons so they all have the same size. The buttons are on a panel. I find the dimension of the largest and size all other buttons accordingly using setSize() method. However, the buttons don't get resized. I don't want to set the layout to null and use setBounds explicitly. I have also tried to set minimum, maximum and preferred size, but it doesn't work, it actually makes the resized buttons disappear. Did you experience something similar and if so, could you give me an idea on how to solve this? Any help would be appreciated, I think I looked at all the methods I could think of (repaint, update...) and don't have a clue why this is not working...
Thanks,
Nate
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear Nathan,
Actually I haven't used Text Button in my project, but I just have tried your case. And I also cannot set the size just using setSize() and getSize()
So I have tried another implementation and it seems to do
I have two solutions, and follow is my code:
One is rather simple, it just places all the button on the GridLayout but it is not so flexible.
And the other uses the getUI method, I don't know if it works for u, please tell me later...
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.plaf.ButtonUI;
public class Test extends JFrame {
public Test(String title) {
super(title);
/* another solution */
getContentPane().setLayout(new GridLayout(2, 1));
JButton lvB5 = new JButton("Long............................");
JButton lvB6 = new JButton("Short");
getContentPane().add(lvB5);
getContentPane().add(lvB6);
pack();
}
public static void main(String[] args) {
JFrame lvTest = new Test("Test frame");
lvTest.setBounds(100, 100, 200, 200);
lvTest.setVisible(true);
lvTest.setBackground(Color.black);
JDialog lvDialog = new JDialog(lvTest);
lvDialog.setBounds(200, 200, 200, 200);
lvDialog.getContentPane().setLayout(new FlowLayout());
JButton lvB3 = new JButton("Very longggggggggggg Button");
Dimension d = (lvB3.getUI()).getPreferredSize(lvB3);
System.out.println(d.getWidth());
System.out.println(d.getHeight());
JButton lvB4 = new JButton("Short");
lvB4.setPreferredSize(d);
lvDialog.getContentPane().add(lvB3);
lvDialog.getContentPane().add(lvB4);
lvDialog.pack();
lvDialog.setVisible(true);
}
}
mohammad alis
Greenhorn

Joined: May 14, 2001
Posts: 5
Congradualtion
hope you can help me.
Using Main-class attribute I try to run server app with this
java -jar server.jar textFile.txt
but I get the error that the file suncertify\db\Data\binaryDb.dat can not be find.
I have the binaryDb in directory suncertify\db\Data, in the whole file hierarchy in included in the server.jar.
mohammad alis
Nathan Daniels
Greenhorn

Joined: May 03, 2001
Posts: 21
Thanks Alex,
I actually ended up changing the layout in the panel to FlowLayout manager which respects the components preferred sized and setting the preferred size of the layout manager to null and
revalidating the panel after the component is added. It works.

I got one more question, if you don't mind. In your instructions document do you tell the grader to set the classpath or do you tell him to use the -cp flag when running your application. I guess my question is if you are using an executable jar file and the -jar option, then doesn't the location of your jar file becomes your classpath that overrides the default, the environment and the -cp flag? Could you shed some light on this?
By the way, Mohammad, if I am not mistaken you cannot refer to a file inside a jar file, unless you use the java.util.jar which is more complicated IMHO. I would not put the database file in the jar, anyone else would like to comment on that???
Nate
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear mohammad,
As I know we have to unzip the binary file and place it in the directory of your PC, and letting other file in the jar file.
Is it alright to just expand and place it on the directory system? And am I correct? Pls comment if I am wrong as I just ask the users to expand all the source code onto the directory.
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Hi Nathan,
As I don't want to include or it may not allow me to include a batch file for setting up or installation, I have told the grader to set the classpath of the system by adding the project classpath, but I also provide option for the grader by not modifying the classpath, instead to use java -cp for running the application.
I think providing these options will make them feel my document more detail, do U agree?
Nathan Daniels
Greenhorn

Joined: May 03, 2001
Posts: 21
Actually I want the grader to use the -cp flag. The only problem is that in my instructions under Execution of Submissions
it says that the command line may only take configuration parameters selected from the following:host, port, data file name, codebase and policy file. So, that would leave the classpath configuration out. We would have to ask the grader to specifically set the classpath before running the app. Though you are right, giving the grader all the available options sure makes your documentation really detailed. Did you guide them on setting the classpath for a Unix box, and if so, do you set it by using the export classpath=<> or setenv ... I am not a unix guy, can you let me know how you instructed them to set the classpath on a unix/solaris box?
Thanks,
Nate
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear Nathan,
As in the instruction mentioned, you should include the platform where you start your development and run your application, so when u use window, you need not care about the unix classpath setting. And I think you can tell they to set the classpath first. And mention it as a part of installation, so it is now nothing related to start the application. And It can simplify the problem.
And follow is a part of my readme or you can have some idea.
Contents
* Introduction
* Installation Guide
* Features
* Location of the database file
* Location of the design choices used in this assignment
* List of Files Submitted
Introduction
This application is developed with the JDK Version 1.3 Standard Edition (build 1.3.0-C).
The platform used for the development is Window 2000 server edition. It has been developed and tested to work properly under this environment.
This application is a typical client-server program which provides a Graphical User Interface(GUI)
for the clients access and manipulate the server database.
Both the local mode and network mode are supported for the client access.
Installation Guide
In the submitted jar file, there are three jar files zipped inside. They are client.jar, server.jar and shared.jar.
The server.jar contains all the source codes needed for both the client and server application.
And the server.jar and client.jar contains codes that are needed for the server and client-side application respectively.
* Installation Guide for Server
- Run "jar -xvf Release.jar" to extract the file
- After running this, there will be 4 separate files named server.jar, client.jar, docs.jar, src.jar
and two stand-alone file, one is the database file DB.DB and one is the readme.txt file.
- Go the the destination drive or directory for installing the application.
- Copy the server.jar file to the installed directory.
- Run "jar -xvf server.jar" to extract the jar files onto the directory.
- Finally after successfully extract the class files to the directory, remove the jar file.
Nathan Daniels
Greenhorn

Joined: May 03, 2001
Posts: 21
Thanks Alex,
I actually have my readme.txt file already, and I am providing instructions for both windows and unix. I have chosen not to create an executable jar, and for simplicity's sake I decided to not jar individual directories such as docs, server, client...
The grader will only have to unjar my submission package, and go from there. For a moment there, I thought you had executable jar for your server and client. Did you package your submission that way just to save space or was there another reason?
BTW, thanks for replying so promptly
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Dear Nathan,
Actually the layout of my jar is:
Inside my project jar file, there are 2 separate jar files for both client and server application. Even it is ok for directly running with them but in my instruction to grader, I have asked them to unjar them to the directory.
And by the way, do U use ICQ, if u do, can we exchange our UIN for discussion, not only the exam topics but also the other java related topics...
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
The reason for packaging that way is just because of easy deployment of my application.
Nathan Daniels
Greenhorn

Joined: May 03, 2001
Posts: 21
Sorry Alex, I do not know what ICQ is.
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
here is my email or we can talk via email
alexclc@hknet.com / alexcheung@systekit.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Just got my result 145/155