圖書標籤: nio java Java 網絡編程 編程 NIO 計算機 JAVA
发表于2024-09-09
Java Nio pdf epub mobi txt 電子書 下載 2024
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.
好吧,我讀的是中文版的,感覺各種羅嗦,加上滿篇的貼代碼,,,
評分看的是網友的翻譯版,設計內容有緩衝,通道,選擇器,正則錶達式和字符集。字符集中的SPI沒怎麼看明白。
評分重點介紹瞭NIO的Buffer、Channel和Selector,從整體上有瞭更全麵的瞭解,但是個彆細節上,還可以再更深入的探討。
評分作者還是比較瞭解操作係統的。礙於 java 操作底層的不便,不得不設計瞭 NIO 實現 tcp buffer 和 多路服用,pipe 。
評分好吧,我讀的是中文版的,感覺各種羅嗦,加上滿篇的貼代碼,,,
这本书是介绍java nio的基础书籍,原理讲的还是挺明白的,比较好懂,就是例子比较少。nio对于java程序员来说可能不是很好理解,但是对于C程序员来说,就是epoll的一个封装。 我本人是C程序员,对java比较感兴趣,发现java nio里面很多的东西都是对C原生api的封装,如epoll, mma...
評分要是想学习 java nio ,以及 nio 的扩展 netty 会是个不错的选择 sun 本身的实现 不足参考 因为没文档和源码 还有的话 阅读 netty 之前 java 并发编程 java 网络编程 或者 tcp/ip 心里要有个 B数啊 不然 socket 看起来类
評分这本书的内容很基础、详尽,推荐看看,学习java nio很好的资料。 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了 抱歉,你的评论太短了
評分虽然这是一本比较旧的书,讲解的内容也是比较老的 - JDK 1.4引入的NIO机制,现在的JDK7都已经是异步IO了。但是对于不太了解NIO的同学还是可以去读一读。第一章和第四章我觉得讲解的最好,特别是第四章,将select调用相关的知识都覆盖到了。后面第五,第六章可以不看。想了解正...
評分虽然这是一本比较旧的书,讲解的内容也是比较老的 - JDK 1.4引入的NIO机制,现在的JDK7都已经是异步IO了。但是对于不太了解NIO的同学还是可以去读一读。第一章和第四章我觉得讲解的最好,特别是第四章,将select调用相关的知识都覆盖到了。后面第五,第六章可以不看。想了解正...
Java Nio pdf epub mobi txt 電子書 下載 2024