Results 1 to 4 of 4
  1. #1
    jurka is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default Nio is ment to be used mostly in network?

    As i heard there is new I/o library in java, so its use mostly meant to be for networking ?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Read the API doc and the Tutorial about the nio packages.
    Not meant mostly for network. Most of what I've read is for disk.

  3. #3
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    I have always thought that NIO was aimed at networking. I'm not sure that it brings much to disk I/O, perhaps @norm can help with what he uses it for.

    I have found NIO to be hard to use. And when it first came out, there were serious bugs in the Windows JVM that made it impossible to use.

    If you want to use it for networking, I strongly suggest you look at
    Apache MINA - Index
    it wraps it all, and adds very nice capabilities.

  4. #4
    jurka is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

Similar Threads

  1. Transferring Over Network
    By qwerty in forum Advanced Java
    Replies: 2
    Last Post: 08-01-2008, 01:40 PM
  2. database+network
    By hidar in forum JDBC
    Replies: 4
    Last Post: 06-30-2008, 09:04 AM
  3. best Java Network API to use?
    By San_Andreas in forum Networking
    Replies: 1
    Last Post: 04-30-2008, 08:42 PM
  4. How to get URL from network machine
    By Mir in forum Networking
    Replies: 1
    Last Post: 04-02-2008, 12:08 AM
  5. Non Blocking Network
    By mathias in forum Networking
    Replies: 1
    Last Post: 08-07-2007, 06:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •