Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply locked New topic
Author

SCJD passed by using Socket

Peng Zhao
Greenhorn

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
Comment:
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
SCJP,SCJD
MCSE,MCDBA
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
Greenhorn

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.


SCJP2
Jim Martin
Ranch Hand

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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
jQuery in Action, 2nd edition
 
subject: SCJD passed by using Socket
 
Similar Threads
passed SCJD today
passed with your help friends
SCJD I passed...I think
NX: SCJD Result
passed with 148/155