Input Output « Language « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Language » Input Output 
1. Master Merlin's new I/O classes
Author:Michael T. Nygard
URL:http://www.javaworld.com/javaworld/jw-09-2001/jw-0907-merlin.html?
Summary: The J2SE (Java 2 Platform, Standard Edition) 1.4 beta -- the Merlin release -- unleashes hundreds of new classes. This article walks you through some of the platform's new I/O (input/output) capabilities: nonblocking I/O, character conversion, memory-mapped files, and buffer management. Using Merlin's new I/O classes, we will build a Web server that handles thousands of connections with just three threads. (4,700 words)


2. Use select for high-speed networking
Author:Greg Travis
URL:http://www.javaworld.com/javaworld/jw-04-2003/jw-0411-select.html?
Summary: Java 2 Platform, Standard Edition (J2SE) 1.4 introduced the New Input/Output (NIO) libraries designed to allow extremely high-speed I/O within Java applications. NIO uses an I/O model that differs significantly from the one used in the original I/O libraries. This article guides you step by step through the select facility provided by NIO. select enables your server to process a great deal of data from a large number of connections. After a brief introduction to the NIO libraries, this article then covers the theory behind the select facility and examines source code for a working server that uses select. (2,000 words; April 11, 2003)


w_w__w__._j_ava2___s_.__co_m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.