• Post Reply 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FBNS: use of java.NIO

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hopefully the graders will read that post, too!
reply
    Bookmark Topic Watch Topic
  • New Topic