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.
Overthepasttwodecades,nofieldofscientificinquiryhashadamorestrikingimpactacrossa...
《父与子的编程之旅》内容简介:本书是一本家长与孩子共同学习编程的入门书。作者是一对父子,他们以Python语言为例,详尽细致地介
《儿童歌曲器乐演奏启蒙——扬琴》内容简介:本书是一套适于乐器初学者使用的简易曲集,包含二胡、古筝、琵琶、扬琴、竹笛、钢琴、
PrototypeandScriptaculousarelibrariesthatextendstandardAjax.Theymakeiteasiertopr...
《钢琴套曲·葛蓓莉娅》内容简介:本书根据法国作曲家德里勃创作的芭蕾音乐《葛蓓莉娅》而改编的钢琴套曲。德里勃以霍夫曼的故事《
本书是一本与众不同的Java入门好书。作者以独特的视角,向Java初学者讲述了如何才能真正理解和掌握Java语言。本书充分考虑了初学
《PWA实战:面向下一代的Progressive Web APP》内容简介:Progressive Web App(PWA)是由谷歌提出的一整套技术解决方案,它...
《新安旅行团》内容简介:1935年10月10日,在陶行知先生的热切鼓励下,在校长汪达之的带领下,新安小学的学生组成了一个革命团体—
《法治中国:民主法治精神举要》内容简介:本书对法治中国进行了多维解读,通过追根溯源地分析民主和法治的历史由来与发展规律,揭
《视界·无界2.0:写给UI设计师的设计书(全彩)》内容简介:作为一名从事设计职业的设计师,或者正在通往成为设计师道路的朋友,都
《用户体验及其在通信产品开发中的应用》首先深入浅出地向读者介绍了用户体验的概念、理论基础、研究思路等;然后深入解析用户体
《iOS 8开发指南》内容简介:苹果公司的iOS系统从诞生之日起到现在,在短短几年时间内,凭借内置有iOS系统的iPhone和iPad的很好的用
烏托邦需要一張地圖。這地圖可能是理想中未來城市的藍圖,也可能是記憶裡過去城市的草圖。憑這張地圖,人希望尋找未來的城市,或
《JSP网站开发详解》介绍了使用JSP及其相关技术开发网络应用程序的基础知识和方法,全书共分为3个部分。其中第1部分介绍了使用JS
本集基本上以时序发展为排列次序,主要反映从1919—1949年三十年间书籍装帧的发展脉络。我没有资格研究美术或书籍装帧艺术史,至
NCRE三级PC技术考试考点分析与全真训练 目录 前言**部分考前指导和全真试题分析第1章计算机基础知识1.1考试要点1.1.1计算机基础知识1.1.2数值信息...
《网络心理学》内容简介:《五十度灰》如何利用恋物心理,成为全球仅次于《圣经》的畅销读物? 为什么相对于亲朋好友,你更愿意向网
《英国陶艺设计基础教程》是一本陶艺设计的完全指导手册,融合了理论、实践、技术三方面的重点,你可以通过《英国陶艺设计基础教
《首饰设计》系统地介绍了珠宝首饰设计,其侧重点在于开拓我们的创意性思维。作者以一个西方首饰专家独特的视角和对专业领域孜孜
本书初版于1983年,是20世纪80年代轰动知识界的“走向未来丛书”之一种。作者采用中西对比的视角,探讨了近代科学技术结构发展的