Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-2008, 10:54 PM
Member
 
Join Date: Jul 2008
Posts: 67
Rep Power: 0
jurka is on a distinguished road
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 ?
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-27-2008, 11:27 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power: 4
Norm is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-28-2008, 04:18 AM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 571
Rep Power: 2
fishtoprecords is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 08-28-2008, 03:45 PM
Member
 
Join Date: Jul 2008
Posts: 67
Rep Power: 0
jurka is on a distinguished road
Default
Yeha i got much information from here http://www.panix.com/~mito/articles/.../j-nio-ltr.pdf, really nice guide !
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transferring Over Network qwerty Advanced Java 2 08-01-2008 02:40 PM
database+network hidar Database 4 06-30-2008 10:04 AM
best Java Network API to use? San_Andreas Networking 1 04-30-2008 09:42 PM
How to get URL from network machine Mir Networking 1 04-02-2008 01:08 AM
Non Blocking Network mathias Networking 1 08-07-2007 07:49 AM


All times are GMT +2. The time now is 03:32 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org