出版社: O'Reilly Media
出版年: 2002-8-15
页数: 312
定价: USD 39.99
装帧: Paperback
ISBN: 9780596002886
内容简介 · · · · · ·
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: improvem...
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.
喜欢读"Java Nio"的人也喜欢的电子书 · · · · · ·
喜欢读"Java Nio"的人也喜欢 · · · · · ·
- Netty in Action 8.0
- 深入剖析Tomcat 8.4
- 深入理解Java虚拟机(第2版) 9.1
- 深入Java虚拟机(原书第2版) 8.7
- 实战Java高并发程序设计 8.1
- Java Threads 7.0
- JAVA并发编程实践 8.9
Java Nio的书评 · · · · · · ( 全部 6 条 )
读java nio后的总结
至少把NIO的东西讲清楚了
> 更多书评 6篇
以下书单推荐 · · · · · · ( 全部 )
- Java修炼之道 (在坡华子)
- 2010读书 (r2g2)
- Java Developer Required (nil)
- Java (李鼎)
- 网络/Networking (李鼎)
谁读这本书? · · · · · ·
二手市场
· · · · · ·
- 在豆瓣转让 有328人想读,手里有一本闲着?
订阅关于Java Nio的评论:
feed: rss 2.0
1 有用 刘家宝树 2020-02-03 16:44:47
大体一看 启发人的地方不多 更像是参考手册
0 有用 Breakthen 2012-02-16 15:03:37
学习了NIO的缓冲区、通道与选择器,但有没有更深入一些的书籍呀
0 有用 r2g2 2010-11-16 14:38:18
电子档
0 有用 LionHeart 2012-07-17 23:37:01
好吧,我读的是中文版的,感觉各种罗嗦,加上满篇的贴代码,,,
2 有用 hoterran 2013-06-23 16:18:29
作者还是比较了解操作系统的。碍于 java 操作底层的不便,不得不设计了 NIO 实现 tcp buffer 和 多路服用,pipe 。
0 有用 here we go 2023-07-14 09:25:18 湖北
这本书的翻译有够垃圾的,不过nio也没有什么太多的正式出版物可供参考。
0 有用 木木彬 2022-08-30 10:25:15 福建
把NIO讲的很透彻,尤其是对于没学过操作系统的我,selector有点难懂,需要再琢磨下
0 有用 yanshao 2022-03-21 21:08:40
读了中文版本前四章, 基本是API, 不过对入门来说还是不错的选择 最后两章讲正则和字符集没怎么看
1 有用 nil 2021-10-07 15:31:23
大部分都在写相关的API,掺杂部分实现原理的讲解,可以作为相关主题的入门读物
0 有用 森罗 2021-08-19 09:41:00
全书质量不高,给我最大的感触是“原来外国人也有写烂书的”。一、本书算不上理论书。整本书基本上是API手册的堆叠,甚至我怀疑作者是直接照着官方API手册写的,有的地方逻辑都不通顺。除了API堆叠,很少深入讲设计的原理和思想。二、本书算不上实战书。书中代码示例实在是过于粗糙简陋,基本上是API手册中的入门范例。三、翻译问题。我甚至怀疑这个译者是不是计算机专业的,居然能把runtime 翻译成“运行时间... 全书质量不高,给我最大的感触是“原来外国人也有写烂书的”。一、本书算不上理论书。整本书基本上是API手册的堆叠,甚至我怀疑作者是直接照着官方API手册写的,有的地方逻辑都不通顺。除了API堆叠,很少深入讲设计的原理和思想。二、本书算不上实战书。书中代码示例实在是过于粗糙简陋,基本上是API手册中的入门范例。三、翻译问题。我甚至怀疑这个译者是不是计算机专业的,居然能把runtime 翻译成“运行时间”,大家都叫“运行时”吧。实在想读最好读英文版。四、作者较差的写作功底再加上译者撇脚的翻译水平,让人读起来困惑又痛苦。五、建议。这本书只适合一两天速读,简单了解一下buffer、channel、select的概念,不要深入细节。但是学习概念,其实有更好的书。 (展开)