Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
Originally posted by Robert Konigsberg:
What does it say in your assignment about it, or networking?
The following APIs and facilities may not be used:
Enterprise JavaBeans
Servlets, JSP technology, or any other web-oriented APIs
NIO, the New IO facilities
Java DataBase Connectivity (JDBC) and SQL
Java IDL API and CORBA
Third party software libraries or tools (such as browsers)
Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
Eben Hewitt. SCJP, SCWCD, SCJD, SCJWSD for JEE 5, TOGAF 8 Certified Architect, author of Java SOA Cookbook (O'Reilly, 2009) and contributor to 97 Things Every Software Architect Should Know
Originally posted by Eben Hewitt:
What assignment do you have? I did Bodgitt and Scarper, and I used NIO. While I was aware of this URL you give, that was _not_ in my instructions.html file.
I did mention, I think, that I had seen that link and that it was confusing, but in the end decided that my instructions.html document had to be the authority, it being more specific.
In inheritance, the most specific matching method gets called. So that was my reasoning.
I would say, unless your instructions document specifically forbids NIO (which I believe some do), you can use it.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
I believe the SCJD project is not marked on the basis of cleverness, but rather on straight forward understandable maintainable results.
Eben Hewitt. SCJP, SCWCD, SCJD, SCJWSD for JEE 5, TOGAF 8 Certified Architect, author of Java SOA Cookbook (O'Reilly, 2009) and contributor to 97 Things Every Software Architect Should Know
Originally posted by Eben Hewitt:
Hi PK
The SCJD does not make you choose between RMI and NIO, as I think you suggest. The choice is between RMI and net sockets.
I think NIO is fast and reliable. If people are interested working with areas of Java technology that might be new to them, then the SCJD offers an excellent opporunity to do that. Maybe people don't have occasion to learn NIO at their jobs; they can do so here. I think this sort of use of the cert exams is better than just getting through the thing as quickly as possible just to get the paper.
So I have a couple of questions.
What's the part where NIO is "flakey"?
How is it "clever" to use a standard Java library in the exact way it is intended to be used, to do something standard like reading bytes from a file?
That is true. However, I fail to see what is not maintainable or understandable about using a standard library in a standard way.
NIO was included, as you know, in SDK 1.4.0, which was released 2 years ago. Since you "have used it a great deal for a long time", how exactly is NIO "bleeding edge stuff"?
I am just asking, because that is a fairly common question in this forum it seems ("Can I use NIO?", "Is it a good idea?", etc.). It is good for test takers have an understanding of the advantages and disadvantages of why/how/when to employ something.
Perhaps you have more specific reasons why test takers should avoid it?
Thanks