This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi everyone, Morgan Bath received a very good response back from Sun regarding whether we may use NIO for the SCJD project. Here it is:
The prohibition against using NIO is very recent. If it was issued after you downloaded your assignment instructions, you are free to use NIO. If it was issued before you downloaded your assignment instructions, you'll know because the prohibition will be explicitly mentioned in your instructions. Search the HTML document for "NIO". As a general rule, no matter what you read on the web: 1) If it's in your instructions, you have to do it. 2) If it's not in your instructions, you don't have to do it.
So, you can use NIO unless your assignment instructions explicitly prohibit it. Thanks to Sun for such a quick and clear response. Thanks to Morgan for asking the question. The response actually goes beyond the NIO issue and establishes a very helpful general rule. It's nice to know all the requirments we have to follow are to be found in the assignment instructions and nowhere else. Of course, that's the way it should be, but it's still very good to see it confirmed by Sun. [ February 17, 2004: Message edited by: George Marinkovich ]
We recently changed the assignment rules to explicitly forbid the use of NIO and the other APIs you saw mentioned on JavaRanch. However, this change is not retroactive. If your assignment HTML document does not explicitly forbid the use of NIO, you are free to use it.
So it looks good for those of us that have already done work using NIO. Regards, jb