Bookmark Topic Watch Topic
  • New Topic

SCJD passed by using Socket

 
Peng Zhao
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 84
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks
About the essay exam; when do you take it and what sort of questions do they ask?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a duplicate post. So I must close this one. The same post can be found in the Cert Results forum.
Mark
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!