Research on JAVA Remote Invocation Framework Based Dynamic Proxy
- Author
- HanYong
- Advisor
- ShenBeiJun , RuanTong
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 65
- Citations
- 0
Abstract
A distributed system is such a system, by means of message passing between different computers as a component in the system collaborate with each other, the call to come together to complete a specific task system. More than one computer can be completed in the case of a reasonable division of labor through the application of distributed systems, more complex applications. With the improvement of network technology and the development of computer application, the distributed system has been more widely used. How to make the architecture of distributed systems more flexible, simple and efficient, which has become one of the current research focus. Remote invocation of distributed systems in Java environment usually there are several ways to achieve a relatively efficient but inconvenient to use and extensible RMI (Remote Method Invocation), easy to expand, but the heavyweight applications EJB (Enterprise Java Bean) and applicability prominent but slightly low efficiency Web Service Simplicity known for lightweight framework Hessian / Burlap. In this context, this study proposed a lightweight the Java remoting framework - Summer and applied to actual projects. Summer framework, RMI remote call communications infrastructure, it is used relative to other Socket-based communication, communication architecture based on Http maintained the superiority of the communication efficiency. In order to solve the RMI calls inconvenience and not conducive to the expansion of the inconvenience, the framework using Java dynamic proxy technology to RMI framework dependence in addition to remote business interface framework users do not need to be remotely called business interface specified in accordance with the RMI RMI Remote interface. The Framework client side is to achieve service interface proxy object to the framework for the user to provide business services, proxy object and then call the underlying RMI remote interface framework server communication. In this way will be the framework for communication core package framework users can easily ordinary Java class configured for remote call to a remote object service class, lifted caller rely on the framework. Follow the AOP (Aspect Oriented Programming) thinking design more and more, in order to be able to provide programming for the cross-section of business services, Summer framework application Java dynamic proxy technology so that the framework can be easily configured for remote call blocking service original business interface enhanced by the increase in business method interceptor, at the same time, these business objects do not need to make any changes because the interceptor. And RMI, Summer framework is no longer needed business services to provide remote service interface REMOTE interface also simplifies the tedious steps needed to establish the RMI connection exposed RMI service; and Web Service to reduce the configuration of the remote service workload while RMI-based communication Summer the framework than Web Service based Http Hessian / Burlap framework better communication efficiency. , Summer framework has a music website music recommendation software project, a practical application, we use the framework of the completion of remote calls between the the website Web server music recommendation server. The practice shows that the framework can meet the requirements of the music site for a lightweight Remote Invocation Framework.
Table of contents
Abstract 5-7
ABSTRACT 7-12
1 Introduction 12-16
1.1 Background 12-13
1.2 Research purpose and significance 13-14
1.3 Research objectives and content 14
1.4 thesis structure 14-16
2 Research analysis of 16-26
2.1 based RMI remote call program 16-18
2.1.1 remote call access process 16-17
the
the 2.1.2 remote call program analysis 17-18
2.1.3 Summary 18
2.2 using EJB to remotely invoke 18-21
2.2.1 an EJB concept 18-19
the 2.2.2 an EJB's some discussion 19-20
2.2.3 Summary 20-21
2.3 through the Web Service to a remote call 21-23
2.3.1 Web Service works 21-22
2.3.2 Web Service discussion 22-23
2.3.3 Summary 23
2.4 Http protocol-based lightweight 23-25
2.4.1 Hessian / Burlap remote call process 23-24
2.4.2 the Hessian / Burlap analysis 24
2.4.3 Summary 24-25
2.5 This chapter Summary 25-26
3 key issues and solutions 26-35
The challenge
3.1 26-27
a 3.2 efficient data transmission 27-28
3.3 remote service interface and communications framework decoupling 28-31
3.4 remote object management 31-33
the 3.4.1 server business object management and business methods call 31-32
3.4.2 client business object management 32
3.4.3 remote business object method call 32-33
3.5 framework scalability enhancements 33
3.6 This chapter Summary 33-35
the
demand for 4 framework analysis 35-40
4.1 framework 35-36
4.2 framework API 36-37
4.3 framework for non-functional requirements 37-39
4.4 application scenarios 39
4.5 of this chapter Summary 39-40
5 frame design 40-57
5.1 Framework API contract design 40
5.2 framework overall design 40-42
5.3 framework client design 42-47
5.3.1 framework client static logic design 43-44
5.3.2 Framework client dynamic logic design 44-47
5.4 framework service end design 47-55
5.4.1 framework server static logic design 47-50
5.4.2 Framework server dynamic logic design 50-54
the
the 5.4.3 framework server-side user need to configure the remote service definition file 54-55
5.5 framework deployment view 55-56
5.6 This chapter Summary 56-57
6 Framework application practice 57-64
6.1 Project Profile 57
framework 6.2 project application 57-60
6.2.1 framework 57-59
the
the 6.2.2 framework services end configuration 59-60
6.3 project deployment 60-61
Evaluation
6.4 framework application 61-62
6.5 This chapter Summary 62-64
7 Summary and Outlook 64-66
7.1 This article SUMMARY 64-65
7.2 Looking 65-66
the
References 66-68
Acknowledgements 68-69
to
pursuing degree during the academic 69
Related dissertations
- Problems and Countermeasures of Henan province postal information security
- Research and Design of Performance Appraisal System of Inner Mongolia a Fuel Company
- Supply Chain-based Study on Shouguang Vegetable Quality and Safety Supervision
- Protection of the Inerests of Farmers in China’s Rural Land Transfer Process
- Based on Single Chip Microcomputer Technology Railway Crossing Alarm System Design
- Design and Implementation of Military Barracks Security Monitoring System
- Formation Control of Mobile Robots and Its Application in the Odor Source Tracking
- The Design of the Electromagnetic Metal Detectors
- Research and Design of Wireless Campus Network in Colleges and Universities Based on the Fit AP Networking Mode
- Research and Design of Campus Network Construction Model Based on IPv6
- Study on the Design and Implementation of Network in Vocational Collgges
- Trust Management Against Risks in Peer to Peer E-Commerce
- The Research about Security of Special Police Detachment’s Internal Information Network
- The Study of Digital Forestry with Basis of MPLS VPN Security
- A Trust Model Which Based on the Method of Grey Correlation
- Internet Security under the Background of Informatization Management Research
- Research on Key Technologies in End Hopping
- A Study of Prefix Hijacking Defense and Detection in Inter-Domain Routing
- The Design and Implementation of a Secure and Efficient Virtual Network Architecture
- Context and Role Based Dynamic Access Control in Distributed Healthcare Information Systems