首页 > Web开发 > 详细

netty-学习笔记

时间:2015-09-21 23:41:07      阅读:366      评论:0      收藏:0      [点我收藏+]

1、什么是netty

 Netty is an asynchronous event-driven network application framework 
for rapid development of maintainable high performance protocol servers & clients.

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 and UDP socket server.

2、为什么使用netty

远古:使用的是io,近代是nio,现在是netty(已经封装好了的)

 *netty的特点:

  1、责任连,和fitter类似,最后结果交给servlet

  2、异步

  3、编码,解码

  4、sorcket

  5、连接

3、如何使用netty

     1、建立连接池

     2、实现netty的接口

  

4、项目中如何使用netty

  在pns(TCP是同步的)和统一配置中使用netty,这些项目是应为异步使用netty的,还是量大使用的

5、netty的demo

 

4、关于netty的资料

《netty权威指南》 

5、netty的相关讨论

 

netty-学习笔记

原文:http://www.cnblogs.com/wanghongye/p/4809226.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!