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.
《掌故(第七集)》内容简介:十一年前,因为对苏青小说《续结婚十年》中人物的原型意见不一,本刊的两位作者黄恽、胡文辉曾在《万
《道德经与领导力》内容简介:本书将《道德经》与实际案例相结合,通过详细阐述《道德经》的真髓来告诉高级领导者如何处世,其中包
《道教文学十讲(精)》内容简介:孙昌武先生,一九三七年生,辽宁省营口市人。南开大学教授,曾在亚欧和中国港台地区多所大学担任
《做自己的保险规划师》内容简介:本书分为八章,每章围绕一个主题,以通俗易懂的写作方式,为读者提供了实用且清晰的保险规划建议
史蒂芬.羅森鮑姆創業家、製片人兼數位策展人。他製作過MTV音樂頻道一個由觀眾提供影片的開創性節目《MTVUnfiltered》,此外,他
Step-by-stepguiderevealsbestpracticesforenhancingWebsiteswithAjax*Astep-by-stepg...
《抗战时期的金陵大学》内容简介:本书以抗战时局影响下金陵大学的迁变与调适为研究主题,通过对其早期的调适与发展、抗战西迁与南
内容提要本书分为三部分。第一部分是基础部分,以8086/8088为背景,以DOS和PC兼容机为软硬件平台,以MASM和TASM为汇编器,介绍汇
深入理解计算机系统-原书第3版 本书特色 和第2版相比,本版内容上*大的变化是,从以IA32和x86-64为基础转变为完全以x86-64为基础。主要更新如下:&...
《Photoshop人像摄影后期处理技法100问(修订版)》内容简介:本书主要讲解人像修图师需要掌握的修图技巧,具有非常强的专业性和实
《TensorFlow机器学习(原书第2版)》内容简介:本书是升级版,不仅包含机器学习的基本概念,以及如何利用TensorFlow库快速构建强大
《Lua 程序设计(第4版)》内容简介:本书由Lua语言作者亲自撰写,针对Lua语言本身由浅入深地从各个方面进行了完整和细致的讲解。作
《一生里的某一刻》内容简介:在荒原上种花,在痛楚上绽放欢笑。一边跌倒一边前行的张春关于爱与生命的勇气之书,李松蔚、陈海贤、
《十九世纪文学主流Ⅵ:青年德意志》内容简介:勃兰兑斯在哥本哈根大学的讲演汇编成《十九世纪文学主流》,纵论法、德、英诸国浪漫
在不久的将来,“智能”科技与“大数据”将更大规模地、无微不至地介入我们的政治、文化和日常生活。数字化生存的诱惑就在于,人
《淘宝与微店 :开店·运营·推广一册通》内容简介:超级畅销书《淘宝网开店、装修、管理、推广一册通》作者聚焦电商创业领域的又一
《简单高效LaTeX》内容简介:本书从解答为何要学习使用LaTeX谈起,以丰富的范例和简洁的语言,系统介绍了科学排版系统LaTeX的基础知
《差错控制编码》围绕信道编码理论、技术及其应用,对各种编码方法的工程应用背景及发展前景作了详尽系统的介绍。全书共分9章,主
《JavaScript语法与范例辞典》通过大量实例对JavaScript的语法进行了详细讲解,内容包括JavaScript基础知识、JavaScript对象、H...
《编码:隐匿在计算机软硬件背后的语言》内容简介:这是一本讲述计算机工作原理的书。不过,你千万不要因为“工作原理”之类的字眼