Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

SCJD passed by using Socket

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Thanks
About the essay exam; when do you take it and what sort of questions do they ask?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    Bookmark Topic Watch Topic
  • New Topic