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.
本书是英国剑桥大学卡文迪许实验室的著名学者DavidJ.C.MacKay博士总结多年教学经验和科研成果,于2003年推出的一部力作。本书作
细说AJAX与jQuery 本书特色 本书主要学习JavaScript中两个**的知识点:*个为AJAX,它是客户端JavaScript与后端服务器进行交流的一...
《财务报表分析》内容简介:本书立足报表间的关系和影响,从三个角度解读,带你构建财务分析的“三维视角”。为帮助深入理解财务报
《服务设计:用极致体验赢得用户追随》内容简介:服务设计不只是设计服务,更是设计与服务相关的整个商业系统。服务设计包括表层的
《企业级容器云架构开发指南》内容简介:本书由慧与大学组织,由慧与(中国)有限公司容器云项目组的人员完成,书籍内容的蓝本为慧
ControlLogix 系统实用手册 内容简介 随着计算机技术的迅猛发展,工业控制产品加快了推陈出新的步伐,可编程自动化控制器问世几年以来,已逐步发展成为操作...
ThegreatCarlSaganoncesaid,“Ifyouwishtomakeanapplepiefromscratch,youmustfirstinve...
《跟杨澜学做完美女人》内容简介:《跟杨澜学做完美女人》内容简介::精彩杨澜,在很多女人眼里,她是幸福的,也是幸运的。她几乎拥
《生活体验研究》旨在介绍如何从事现象学实践和写作。马克斯·范梅南在书中推出了在教育学和与人相关的诸如心理咨询、护理、卫生
网络科学作为一门新兴的学科越来越引入瞩目。网络科学能帮助读者设计更快、更有弹性的通信网络;能用于调整电力网络、电信网络和
《5G+智能网联汽车》内容简介:作为未来产业发展的战略制高点,智能网联汽车正在成为移动储能单元和数字空间,将会带动能源、交通、
《北大清华人文课》内容简介:阅读经典,读者可以和无缘谋面的历史巨人或不相识的朋友进行精神的对话。本书搜集、整理了北大、清华
《一本书读懂3D打印》内容简介:本书是一本介绍3D打印的幽默科普读物,内容涉及3D打印的方方面面。从3D打印的产生背景、发展历史、
《C++沉思录》集中反映了C++的关键思想和编程技术,不仅告诉你如何编程,还告诉你为什么要这样编程。本书曾出现在众多的C++专家推
《15分钟画漫画:马克笔画人物超简单》内容简介:用色彩鲜艳的马克笔画出自己喜欢的漫画形象,一定是喜欢画漫画的你很想去做的事情
著名新经济作家、趋势大师唐·泰普斯科特,多年来笔耕不辍,佳作不断,十多年前的一本《数字化经济》预言了新经济时代的到来;十
数据科学 本书特色 数据科学是一门新兴的热门科学,国外一流大学纷纷设立同名课程,相应的专业、课程及书籍也深受欢迎。本书是国内**部系统阐述数据科学的重要专著,填...
计算机网络安全教程-(修订本) 本书特色 《计算机网络安全教程》(修订本)在原书基础上做了大量修整和扩充,使之更加适合高校教学和自学的需要。利用大量的实例讲解知...
《好投资与坏投资》内容简介:投资背后是极其重要的生活抉择。好的投资可以让家庭生活变得轻松,让人免受辛苦劳累工作的羁绊。坏的
计算机网络与因特网(第5版 本书特色 《计算机网络与因特网(第5版)(影印版)》:大学计算机国外著名教材系列计算机网络与因特网(第5版 目录 Preface P...