Many serious Java programmers, especially enterprise Java programmers, consider the new I/O API--called NIO for New Input/Output--the most important feature in the 1.4 version of the Java 2 Standard Edition. The NIO package includes many things that have been missing from previous editions of Java that are critical to writing high-performance, large-scale applications: improvements in the areas of buffer management, scalable network and file I/O, character-set support, and regular expression matching. Most of all, it boosts performance and speed dramatically. Java NIO explores the new I/O capabilities of version 1.4 in detail and shows you how to put these features to work to greatly improve the efficiency of the Java code you write. This compact volume examines the typical challenges that Java programmers face with I/O and shows you how to take advantage of the capabilities of the new I/O features. You?ll learn how to put these tools to work using examples of common, real-world I/O problems and see how the new features have a direct impact on responsiveness, scalability, and reliability. The book includes: * A rundown of the new features in NIO * Basic and advanced I/O Concepts * Binary I/O and the new buffer classes * Memory mapped files and file locking * Character I/O: encoding, decoding and transforming character data * Regular Expressions and the new java.util.regex package * Muliplexing with java.nio Because the NIO APIs supplement the I/O features of version 1.3, rather than replace them, you'll also learn when to use new APIs and when the older 1.3 I/O APIs are better suited to your particular application. Java NIO is for any Java programmer who is interested in learning how to boost I/O performance, but if you're developing applications where performance is critical, such as game computing or large-scale enterprise applications, you'll want to give this book a permanent spot on your bookshelf. With the NIO APIs, Java no longer takes a backseat to any language when it comes to performance. Java NIO will help you realize the benefits of these exciting new features.
这本书首先介绍了操作系统层面上的IO原理, 然后详细的分析了NIO的各个方面, 包括缓冲区, 字符集, 选择器, 选择键, 也对NIO使用过程中常见的错误和陷阱做了标注. 这是一本难度不高的书, 值得所有java程序员阅读, 尤其是需要编写网络层代码的程序员. 我曾多次在工作中使用NIO做...
评分这本书的内容很基础、详尽,推荐看看,学习java nio很好的资料。 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了
评分这本书首先介绍了操作系统层面上的IO原理, 然后详细的分析了NIO的各个方面, 包括缓冲区, 字符集, 选择器, 选择键, 也对NIO使用过程中常见的错误和陷阱做了标注. 这是一本难度不高的书, 值得所有java程序员阅读, 尤其是需要编写网络层代码的程序员. 我曾多次在工作中使用NIO做...
评分这本书是介绍java nio的基础书籍,原理讲的还是挺明白的,比较好懂,就是例子比较少。nio对于java程序员来说可能不是很好理解,但是对于C程序员来说,就是epoll的一个封装。 我本人是C程序员,对java比较感兴趣,发现java nio里面很多的东西都是对C原生api的封装,如epoll, mma...
评分我认为是 java 从业者必读的一本书。中英文版在网络上都可以下载到。推荐朋友们读一读。作者写的也是十分的简明易懂。在工作中和找工作的时候,这本书中的内容一定会用到的。 注: 我没什么可以写的了。还写什么啊。
重点介绍了NIO的Buffer、Channel和Selector,从整体上有了更全面的了解,但是个别细节上,还可以再更深入的探讨。
评分好简单啊。。再了解下线程池就能完全看懂https://github.com/http-kit/http-kit 了
评分囫囵吞枣了一把,buffer/channel/selector/regex/charset
评分大概是因为nio凑不成一本书,莫名其妙的加入了好多其他东西
评分最后两章没看,第四章理解的不是很透彻,有些段落翻译的比较差
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 qciss.net All Rights Reserved. 小哈图书下载中心 版权所有