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.
CharlesPetzold从1984年开始编写个人计算机程序,从1985年开始编写MicrososftWindows程序。他在《MicrosoftSystem...
《区块链实战》内容简介:本书重点向大家展示了区块链在金融和国际贸易两个领域的落地案例,是一本实际业务落地案例与区块链技术相
本书是一本介绍Windows系统上的用户态程序排错方法和技巧的书。本书分为4个章节,先介绍最重要的、通用的思考方法,以便制定排错
《iOS开发:从零基础到精通》内容简介:本书适合iOS开发零基础的读者阅读。全书包含六大部分,共24章,涵盖了针对iOS开发入门所需要
《中国至2050年信息科技发展路线图》根据国家战略需求和科学技术发展的宏观规律,对信息科学技术未来40年的发展趋势和我国应选择
"HeadFirstObjectOrientedAnalysisandDesign"isarefreshinglookatsubjectofOOAD.Whats...
《移动Web实现指南:面向移动设备的网站优化、开发和设计》内容简介:从移动网站项目最早的创意和发现阶段,到最后的可用性分析,
Photoshop平面设计基础 本书特色 《Photoshop平面设计基础》由王艳娟主编,本书作者根据多年的教学经验并结合学生的特点和需求,编写这本教材。本教材...
《深入解析SpringMVCgnWebFlow》是SpringMVC和WebFlow两个框架的权威指南,书中包括的技巧和提示可以让你从这个灵活的框架中汲取
Long-awaitedrevisiontoauniqueguidethatcoversbothcompilersandinterpretersRevised,...
《诗词中国(第九期)》内容简介:《诗词中国》由中华书局、中华诗词研究院共同主办,面向全社会公开出版发行。旨在“搜集当代最动
《弹道导弹雷达目标识别技术》在导弹防御系统的作战流程的基础上,系统地介绍了反导系统中雷达目标识别的相关技术,分析了反导雷
本书通过大量的实际开发应用实例阐述Python语言的基础知识,介绍如何使用计算机进行问题求解、结构化编程以及面向对象编程。本书
《理论·制度·道路·文化:海外视域下中国特色社会主义研究》内容简介:2021年是中国共产党建党100周年。海外人士对中国特色社会主
以實踐「NoBrand」精神的無印良品,崛起於1980年,一路走來始終貫徹站在使用者立場來製作商品的堅持,深受消費者的支持與肯定,更
《微课设计与制作一本通》内容简介:本书分为“微课视频的设计和制作”“微课视频制作软件”上下两篇,上篇介绍微课设计的基本概念
Clojure是一门Lisp方言。它通过函数式编程技术,直接支持并发软件开发,得到众多开发人员的欢迎,广泛应用于各个领域。Web开发是
《中央空调维修自学宝典》内容简介:本书采用全彩+全图+微视频的全新讲解方式,系统全面地介绍中央空调的种类、结构、工作原理、安
本书介绍了CATIAV5CAD部分的主要模块,分6章依次介绍CATIAV5的操作入门、草图设计、零件设计、曲面造型、装配设计和工程绘图。本
科技的發展讓我們的生活變得複雜,連向來簡單的家用電器都被加上繁複的控制面板,更別說家裡堆滿了各式各樣的遙控器。我們必須要