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
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!
Joined: Jul 28, 2002
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!