Updating user guide
This commit is contained in:
parent
7565be76e7
commit
ff9d27ddf8
@ -14,9 +14,9 @@
|
||||
<title>The Problem</title>
|
||||
<para>
|
||||
Nowadays we use general purpose applications or libraries to communicate
|
||||
with each other. For example, we often use an open source HTTP client
|
||||
library to retrieve information from an open source web server and to
|
||||
invoke a remote procedure call via web services.
|
||||
with each other. For example, we often use an HTTP client library to
|
||||
retrieve information from a web server and to invoke a remote procedure
|
||||
call via web services.
|
||||
</para>
|
||||
<para>
|
||||
However, a general purpose protocol or its implementation sometimes
|
||||
@ -26,8 +26,9 @@
|
||||
What's required is a highly optimized protocol implementation which is
|
||||
dedicated to a special purpose. For example, you might want to
|
||||
implement an HTTP server which is optimized for AJAX-based chat
|
||||
application. You could even want to design and implement a whole new
|
||||
protocol which is precisely tailored to your need.
|
||||
application, media streaming, or large file transfer. You could even
|
||||
want to design and implement a whole new protocol which is precisely
|
||||
tailored to your need.
|
||||
</para>
|
||||
<para>
|
||||
Another inevitable case is when you have to deal with a legacy
|
||||
@ -41,17 +42,16 @@
|
||||
<section>
|
||||
<title>The Solution</title>
|
||||
<para>
|
||||
<firstterm><ulink url="&Home;">The Netty
|
||||
project</ulink></firstterm> is an effort to provide an asynchronous
|
||||
event-driven network application framework and tooling for the rapid
|
||||
development of maintainable high-performance · high-scalability
|
||||
protocol servers and clients.
|
||||
<firstterm><ulink url="&Home;">The Netty project</ulink></firstterm> is
|
||||
an effort to provide an asynchronous event-driven network application
|
||||
framework and tooling for the rapid development of maintainable
|
||||
high-performance · high-scalability protocol servers and clients.
|
||||
</para>
|
||||
<para>
|
||||
In other words, Netty is a NIO client server framework which enables
|
||||
quick and easy development of network applications such as protocol
|
||||
servers and clients. It greatly simplifies and streamlines network
|
||||
programming such as TCP/IP socket server development.
|
||||
programming such as TCP and UDP socket server development.
|
||||
</para>
|
||||
<para>
|
||||
'Quick and easy' does not mean that a resulting application will suffer
|
||||
|
@ -7,8 +7,8 @@
|
||||
<title>Getting Started</title>
|
||||
<para>
|
||||
This chapter tours around the core constructs of Netty with simple
|
||||
examples to let you get started with Netty easily. You will be able to
|
||||
write a network application on top of Netty right away when you are at the
|
||||
examples to let you get started quickly. You will be able to write a
|
||||
client and a server on top of Netty right away when you are at the
|
||||
end of this chapter.
|
||||
</para>
|
||||
|
||||
@ -53,9 +53,9 @@
|
||||
a protocol which discards any received data without any response.
|
||||
</para>
|
||||
<para>
|
||||
To implement the DISCARD protocol, you only need to log the received data.
|
||||
Let us start straight from the handler implementation, which handles I/O
|
||||
events generated by Netty.
|
||||
To implement the DISCARD protocol, the only thing you need to do is
|
||||
to ignore all received data. Let us start straight from the handler
|
||||
implementation, which handles I/O events generated by Netty.
|
||||
</para>
|
||||
<programlisting>package org.jboss.netty.example.discard;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user