Overview of the Different End-Points - Servlet and nio.
概览不同的端点——Servlet和nio。
First, you need to know a little about NIO.
首先,您需要对NIO有一定的了解。
Follow these steps to create the NIO connector.
请按照以下步骤创建NIO连接器。
NIO channels can be asynchronously closed and interrupted.
可以异步地关闭和中断NIO通道。
These classes are similar in style to the NIO channel APIs.
这些类在风格上与NIO通道API很相似。
It may encourage the further adoption of NIO on Web servers.
它可能鼓励进一步在Web服务器上采用NIO。
The new input/output (NIO) library was introduced with JDK 1.4.
新的输入/输出 (NIO)库是在JDK 1.4 中引入的。
The example NIO server was compared to Tomcat 5.0 under heavy load.
示例NIO服务器是在重负载下与Tomcat 5.0进行比较的。
The client cannot access a NIO endpoint through a client side proxy.
客户端无法通过客户端代理访问NIO端点。
NIO lets you return to the connection later and send additional data.
NIO允许随后再返回到这个连接并发送额外的数据。
Look for more information on the NIO packages in next month's column.
请在下个月的专栏文章中查阅有关nio包的更多信息。
The NIO framework can be used to build powerful server side application.
NIO框架可用来构建强大的服务器端应用。
In contrast, the NIO-based server's performance degraded in a linear fashion.
相反,基于NIO的服务器的性能则以线性方式下降。
The El Nio event in 1997~1998 offered the climatic background for the floods.
厄尔尼诺事件为这次长江流域夏季洪涝提供了气候背景。
The bottom line is that NIO servers still need threads, just not quite as many.
最后的结果是NIO服务器仍然需要线程,只是不需要那么多。
The server class holds the multiplexer loop, the heart of any NIO-based server.
server类拥有多路复用循环——任何基于NIO服务器的核心。
Further performance optimizations (improved NIO-level file streaming support,...)
更进一步的的性能优化(改进的NIO级文件流支持,……)。
NIO servers are relieved of this and therefore can scale to larger Numbers of users.
NIO服务器完全不用担心这一点,因此它们可以扩展到大量用户。
More importantly, by using the NIO package it is possible to access a file as a CharSequence.
更重要的是,通过使用NIO包,将一个文件作为CharSequence 进行访问是可能的。
We have not yet started adding NIO.2 support to JRuby's core classes, but that will come soon.
JRuby的核心类目前还没有开始添加NIO.2支持,但很快就会开始。
This tutorial is intended for any programmer who wants to learn more about the JDK 1.4 NIO library.
本教程是为希望学习更多关于JDK 1.4NIO库的知识的所有程序员而写的。
Tomcat uses NIO (Non-blocking IO) to keep the connection alive without wasting the waiting threads.
Tomcat使用NIO(无阻塞IO)来保持连接活动,无需浪费等待中的线程。
Before you begin with the application, you need to configure the NIO connector in Community Edition.
开始应用程序之前,您需要在Community Edition中配置NIO连接器。
You'll also learn about things you can only do with NIO, such as asynchronous I/O and direct buffers.
您还会了解只能通过NIO 来完成的工作,如异步I/O和直接缓冲区。
Before going any further, I must confess that I'm not sure I have fully grasped the logic behind the NIO.
在进一步讨论之前,我必须承认我不能确定我已经充分掌握了NIO背后的逻辑。
Throughout the tutorial, we'll work with code samples that illustrate different aspects of the NIO library.
在本教程中,我们将使用展示nio库的不同方面的代码示例。
TCP transport communication on JXTA is fully NIO enabled providing scalable message handling and throughput.
JXTA上的TCP传输通信完全是基于NIO的,因而能够提供可伸缩的消息处理和吞吐量。
The objective was to determine if NIO gives any considerable performance benefits and under what conditions.
目标是要确定NIO是否给出了大量的性能优势,以及是在什么条件下给出的。
Many articles followed, explaining the basics of NIO and how to leverage the benefits of nonblocking channels.
下面的许多文章阐述了 NIO 的基本知识及如何利用非阻塞通道的好处。
As a result, many developers have given up on building a Servlet-based Web application server that implements NIO.
因此,许多开发人员放弃了创建基于Servlet并实现了NIO的Web应用程序服务器。
应用推荐