欢迎来到天天文库
浏览记录
ID:35535747
大小:376.63 KB
页数:23页
时间:2019-03-25
《计算机论文--基于Mina框架的Java通讯层应用》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、河南师范大学本科毕业论文学号:0928524059基于Mina框架的Java通讯层应用学院名称:软件学院专业名称:计算机科学与技术年级班别:2009级Java班姓名:赵道乾指导教师:徐久成教授2013年05月河南师范大学本科毕业设计河南师范大学本科毕业设计基于Mina框架的Java通讯层应用摘要ApacheMinaServer是一个网络通信应用框架,它主要是对基于TCP/IP、UDP/IP协议栈的通信框架(当然,也可以提供JAVA对象的序列化服务、虚拟机管道通信服务等),Mina可以帮助我们快速开发高性能、高扩展性的网络通信应用,Mina提供了事件驱动
2、、异步(Mina的异步IO默认使用的是JAVANIO作为底层支持)操作的编程模型。随着网络通信的不断增加,用户对于服务器通讯层的要求也越来越高。如何提高服务器端程序的性能,如何使用一种高效的I/O底层,从而更容易地开发出高性能的网络应用程序,成为近年来通讯层研究的主要课题。通过对比,基于Mhm(Minimumhardwaremodificatio)框架的通讯层具有实现简单,性能高效的特点,是Java通讯层应用的推荐框架.关键词Mina;Java;Mhm;IO;NIO;Socket;ServerSocket;TCP/IP;IoAcceptor;IoCon
3、nector;BufferedReader;Buffer;Charset;Channels;Selector;J2EE;MyEclipse;Enterprise;JavaBeans;MinaServeBasedonthetheMinaFrameworkofJavaCommunicationLayerApplicationsAbstractApacheMinaServerisanetworkcommunicationapplicationframework,itisprimarilyacommunicationframeworkbasedonTCP/IP
4、,UDP/IPprotocolstack(ofcourse,alsocanprovideJavaobjectserialization,thevirtualmachinepipecommunicationservices),Minacanhelpustoquicklydevelophigh-performance,highlyscalablenetworkcommunicationsapplications,Minaprovidesevent-driven,asynchronous(asynchronousIOMina'sdefaultistousep
5、rogrammingmodeltheJavaNIOastheunderlyingsupport)operation.Withthecontinuousincreaseinnetworktraffic,usersareincreasinglyhighrequirementsfortheservercommunicationlayer.Therefore,howtoimprovetheperformanceoftheserver-sideprogram,howtouseahighlyefficientI/Olow-level,makingiteasiert
6、odevelopahigh-performancenetworkapplicationsbecomethemaintopicofthecommunicationlayerinrecentyears.Mhm(Minimumhardwaremodification)framework-basedcommunicationlayerhasasimple,efficientperformance,bycontrast,isthetheJavacommunicationlayerapplicationsrecommendedframework.KeywordsM
7、ina;Java;Mhm;IO;NIO;Socket;ServerSocket;TCP/IP;IoAcceptor;IoConnector;BufferedReader;Buffer;Charset;Channels;Selector;J2EE;MyEclipse;Enterprise;JavaBeans;MinaServe。23河南师范大学本科毕业设计目录前言31运用socket实现通信的方式与关键技术31.1通过JAVA的Socket阻塞方式实现通信31.1.1阻塞通信的服务器端41.1.2阻塞通信的客户端41.2通过JAVA的Socket非阻塞方
8、式实现通信41.3TCP/IP协议41.3.1Tcp、Ip协议的特点41.3.2Tcp/Ip数
此文档下载收益归作者所有