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.
ItseasytowritecorrectRubycode,buttogainthefluencyneededtowritegreatRubycode,youm...
Thinkpad笔记本电脑应用技术精粹 本书特色 本书内容覆盖了ThinkPad笔记本电脑硬件系统和软件系统两大方面的应用技巧。从ThinkPad笔记本电脑硬件...
智能优化算法与涌现计算 本书特色 智能优化算法与涌现计算是多种前沿学科交叉融合的结晶。主要包括:模拟人脑思维、人体细胞、器官等的仿人智能优化算法;模拟群居动物觅...
《VC++.NET入门》提供了学习VisualC++工具的循序渐进的指导和创建应用程序的向导。你将学习设计应用程序窗口、使用控件、显示图形
【内容简介】本书集中精力对操作系统的核心内容进行分析,包括操作系统发展的历史背景、进程与线程、内存管理、文件系统、输入与
《我知道你在想什么:八卦心理学》内容简介:不灌心灵鸡汤,不堆专业名词,我们就是要剖析心理学的黑历史!马伯庸、曹天元、刘夙、
《蔡澜旅行食记(1)》内容简介:本书收录了蔡澜先生以寻味为目的的旅行游记和杂感随笔。看世界,从莫斯科到布宜诺斯艾利斯,阅尽欧
《考古拾趣》内容简介:本书中的文章长短相宜,浓缩了作者几十年来的田野考古、学术之旅与生活经历。其中有考古发掘古墓的故事,有
《JavaWeb开发技术大全:JSP+Servlet+Struts+Hibernate+Spring+Ajax》通过对SSH中的各种技术循序渐进地讲解,使读者尽...
《PowerShell for Office 365应用实战》内容简介:本书选取企业日常信息管理当中出现频率较高的应用场景,采用循序渐进的讲解方式,
Python硬件编程实战 本书特色 本书主要针对计算机基础比较薄弱的python语言初学者,力图使用通俗易懂和深入浅出的语言风格阐述python的基本概念。在对...
中文版PHOTOSHOP CC艺术设计精粹案例教程 本书特色 精选实用案例剖析 分步教学 彩图演示 视频讲解,帮你彻底掌握PS平面设计精髓,轻松完成作品设计!6...
《堆栈的艺术:Photoshop风光摄影后期叠加处理技法》内容简介:本书介绍了堆栈的基本概念及原理,借助大量的实际案例,讲解各种堆栈
《聂卫平围棋习题精解·死活专项训练(从1级到1段)》内容简介:本书是为围棋水平在1级到1段的棋友专门编写的死活专项习题集。本书
《世界现役制导武器全解析(上篇)》内容简介:导弹是一种携带战斗部、依靠自身动力装置推进、由制导系统导引控制飞行航迹的飞行器
《蒲褐山房诗话新编》内容简介:以诗话命名的著作始于欧阳修。它是一种以文学为内容的随笔。所以许颉说:『诗话者,辨句法,备古今
《有时孤独》内容简介:本书是CG画师MORNCOLOUR首本个人画集。本书围绕“孤独、爱、思念、时间”的主题展开,包含14个小故事,如花
《通信原理》以有线通信和无线通信为背景,主要介绍通信系统、通信设备的基本概念、原理和技术。《通信原理》的章节体系与实际通
《数据可视化之美》内容简介:可视化是数据描述的图形表示,旨在一目了然地揭示数据中的复杂信息。可视化的典型如纽约地铁图和人
本书是Struts项目的完全指南,引导开发人员理解概念、设计和实现方式。虽然它由Struts应用程序的基础开始并深入讲解了Model2设计