• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FBNS: use of java.NIO

 
Karthik Jayaprakasham
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just found this on Sun's website about the assignment.
The following APIs and facilities may not be used:
(I have not listed a few here)
NIO, the New IO facilities
Third party software libraries or tools (such as browsers)

The description of the FBN assignment (from the original downloaded jar file) does not say anything about the use of NIO or third party software libraries.
Any thoughts? I used NIO as well as some classes from Apache.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karthik,
You need to write every single line of code you turn in. Putting something in there that Apache write will just get you a big fat automatic failure! As for the NIO issue: if the website says don't do it--don't do it!
Now then -- happy coding.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As for the NIO issue: if the website says don't do it--don't do it!

This is not quite correct. Search the forum and you will find a few recent postings about it. According to Sun you should go with what the spec says as the NIO restriction was posted on the website only recently. So, if your spec does not prohibit the use of NIO you may use it.
Of course you may NOT use third party components.
Regards,
Marcel
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11866
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Karthik,
You might be interested in reading the thread "We are allowed to use NIO".
Regards, Andrew
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hopefully the graders will read that post, too!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic