Font Size: a A A

Design And Implementation Of Remote Calling Framework Based On NIO

Posted on:2013-04-13Degree:MasterType:Thesis
Country:ChinaCandidate:J ZhaFull Text:PDF
GTID:2208330434472555Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Nowadays, the internet development speed is very fast. The complexity and volume of business become more and more high and big, which demands increasing requirements for internet electronic technique. Therefore, we need subdivide business module on technical infrastructure and take consideration of reuse on service level. The distributed system is the best solution.There is a upper limit for a single server, so the applications in a distributed system are deployed on different servers. The invoking of programs can not be completed in context but using network communications. Along with the development of network communication technology, distributed applications also gradually matured. Compared with single server application, distributed application needs remote method invocation across the network, so it’s difficult to control its stability.efficiency and complexity, and this is also the focus problem of this paper.This paper analyzes several common Java-based remote method invocation framework, including RMI standardized in JDK, which is convenient to invoke but with poor expansibility; Web Service, which has good expansibility and cross-platform ability but with poor performance; other lightweight remote method invocation framework such as Hessian^Burlap. After analyzing the merit and demerit of current framework and combing the usage scenario, this paper studies a NIO-based remote method invocation framework. Framework using JavaNIO technologies to solve the high performance.using Zookeeper under Apache to solve the high management, using Java dynamic proxy to solve the problem of the low coupling. This paper analyzes Framework from logical level, extracts multiple public module, elaborates framework’s by UML, implement the framework by Java and Completes Performance testing.The finally accomplished framework uses a variety of techniques and frameworks, which solves the problems such as high performance, high management, and packages load functions such as load balancing, overtime retransmission, network communication into the framework level. It is fully transparent for the framework users, who may realize remote method invocation in distributed application through simple configuration. And projects which apply this framework have also be in formal use. The practices show that the whole framework solved many practical problems in remote method invocation, and meet the actual business needs.
Keywords/Search Tags:NIO, remote method invocation, Netty, dynamic proxy
PDF Full Text Request
Related items