Java Nio
- 书名:Java Nio
- 作者: Ron Hitchens
- 格式:PDF
- 时间:2024-07-03
- 评分:
- 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: 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.
- 上一篇: 中国古代的地图测绘
- 下一篇: Python asyncio并发编程
-
hoterran06-23作者还是比较了解操作系统的。碍于 java 操作底层的不便,不得不设计了 NIO 实现 tcp buffer 和 多路服用,pipe 。
-
映天蓝12-01对NIO的基本概念和特性进行了总体的介绍,是NIO入门学习的首选。
-
刘家宝树02-03大体一看 启发人的地方不多 更像是参考手册
-
2024-07-106
-
2024-07-108
-
2024-07-107
-
2024-07-107
-
2024-07-104
-
2024-07-106
-
2024-07-103
-
2024-07-106