File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes SCJD passed by using Socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply locked New topic

SCJD passed by using Socket

Peng Zhao

Joined: Jul 28, 2002
Posts: 6
Hi, I used this site for my SCJD preparation and this site gave me lot of help! I'd like to thank everybody here!
I selected to use serialized objects over TCP socket as the network approache. Since there is little topic about implementing the project by using socket, maybe I can help about such topic. The following is the comment to my submission.
Grade: P
Score: 138
General Considerations(maximum = 58): 48 Documentation(maximum = 20): 18
GUI(maximum = 24): 21
Server(maximum = 53): 51
I lost 10 at General Considerations section. I think it may be caused by using Socket.
Thanks again.
Peng Zhao
Jim Martin
Ranch Hand

Joined: Oct 31, 2002
Posts: 80
I have also used the socket connection but I haven't passed in my assignment yet. So, r u saying that it's likely to lose more points than normal by using the socket connection method?
I sincerely hope not! b/c I don't feel like changing my code again!
Peng Zhao

Joined: Jul 28, 2002
Posts: 6
Hi, I chose to TCP socket, because I had written a multithread server based on TCP socket before I decided to take the test. I wanted to reuse my work and I believed it will make the network database server open to other programing language.
But when I was preparing the essay test, I found myself in an embarrassment situation. Serialized objects over TCP socketcannot be open to other programming language, because serialized objects is not a public protocol. It is a native J2SE mechanism. But I had already upload my submission to the database and in the main choices file I had said that I use Socket to make the network server open to other programming language.
When I taken the essay test, I just said that I use serialized objects over TCP socket because it is fast than RMI.
Therefore I guess it is the reason that I lost 10 point in my General Considerations section.
Hope this will help.
Good luck!
Tybon Wu
Ranch Hand

Joined: Jun 18, 2002
Posts: 84
If you know how Java serializes objects I don't see why you can't read them with other programming languages. It's just a stream of bytes after all. RMI on the other hand requires the JVM.

Jim Martin
Ranch Hand

Joined: Oct 31, 2002
Posts: 80
About the essay exam; when do you take it and what sort of questions do they ask?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

This is a duplicate post. So I must close this one. The same post can be found in the Cert Results forum.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: SCJD passed by using Socket
It's not a secret anymore!