Font Size: a A A

Research And Implementation Of Framework Based On Java Nio

Posted on:2014-01-26Degree:MasterType:Thesis
Country:ChinaCandidate:B B LuFull Text:PDF
GTID:2248330398472015Subject:Computer technology
Abstract/Summary:PDF Full Text Request
At present, the internet in China is in the stage of fast growth. The number of internet users is increasing quickly and the mobile internet is developing rapidly. And the majority of them are more willing to get news, social information, products and many other services by means of internet, so it becomes more difficult for our systems to guarantee the quality of service in the face of such a large number of users.The java language, a popular system development language at present, has more support in the area of communications network and features such as platform independence and full support for object-oriented, making it become a language selection for many systems and applications. Although communication mechanisms provided by the Java language itself meet the communication needs of general scenarios, it is still necessary for us to use technical means to solve the communication bottleneck of the system when it comes for large amount of concurrent communication requests. Traditional Java Socket has blocking characteristics, so when we use this technology to communicate, it is easy to form communication bottleneck.After summarizing main problems encountered in the development of network communication system based on the Java language,this paper gives a detail analysis of the source of problems and its solutions, proposes an efficient communication framework based on Java NIO and try to find a way to build a framework platform which has good extensibility,scalability,some versatility and loosely coupled.This paper aims to study and realize a Java NIO-based non-blocking communication model by means of thread pool technology, queues, cache, MINA, and Spring IOC and other technologies, and build a framework meeting communications between each module and the module’s external communication.The biggest bright spot in this paper is that through comprehensive utilization of Java NIO,MINA,SPRING and other open source framework, we present a complete communication support framework for the development of application based on java language.
Keywords/Search Tags:java NIO, communication, Spring, MINA
PDF Full Text Request
Related items