RMI-IIOP ORB - based Design and Implementation

Author
BoZuo
Advisor
GongTianFu
School
University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2002
Downloads
72
Citations
1

Request the full text

Abstract

RMI is a the Java distributed communication framework, and use it to write Java distributed programming, RMI's advantages is that it is very simple interface definition, without having to learn complex IDL language syntax rules. RMI but the lack of interoperability with other programming languages, it uses JRMP protocol for remote communication, while JRMP is a non-standard communication protocols, so can not communicate with CORBA. IIOP communication protocol used by CORBA. CORBA is a standard defined by the OMG distributed object architecture introduced in CORBA2.0 a generic ORB interoperability structural system, called GIOP is an abstract protocol. Achievement of the present all ORB products can be used to IIOP to communicate The IIOP is GIOP the TCP / IP. Java programming, each has its advantages and disadvantages of using RMI or CORBA / IIOP. RMI-IIOP sucked both a combined solution. RMI-IIOP combines RMI's ease of use and CORBA interoperability between different languages, under certain restrictions, the RMI objects can use the IIOP protocol, you can also communicate with each other with the CORBA object. The design of this project and RMI-IIOP ORB-based module. It belongs to the the EJB design part of the J2EE application server architecture. Implementation of RMI-IIOP EJB has the ability to successfully interact with CORBA clients and servers, so that the EJB can be applied in the large heterogeneous enterprise system, while the system structure without unnecessary restrictions. This paper describes the design idea and implementation process of RMI-IIOP. First described RMI-IIOP architecture and design followed specifications, and then described in detail in the different sections of the Design and Implementation of various modules. Chapter RMI-IIOP compiler design and implementation, including detailed design process of the functionality of the compiler, stub and skeleton in remote call, and compiler. The fourth chapter of the Design and Implementation of RMI-IIOP interfaces, elaborated through each class or interface defined Portablily API specification, design ideas and methods to achieve. The fifth chapter is the Design and Implementation of RMI-IIOP data stream, the specification does not define these classes, but in the design according to the need of programming these classes, they provide a convenient and easy-to-use method of making RMI- IIOP clearer overall structure. The final chapter of this paper describes the problem is not considered in the design, in order to stay in the future development coming up.

Table of contents

Chapter I outlines 10-20 1.1 This topic research trends at home and abroad 10 1.2 distributed computing technology 10-12 < br /> 1.3 Java distributed object model 12-13 1.4 Java distributed communications framework RMI 13-15 1.4.1 RMI Overview 13-14 1.4.2 RMI architecture 14-15 1.4.3 RMI development process 15 1.5 JRMP Overview 15-16 1.6 IIOP Overview 16-17 1.7 RMI-IIOP Overview 17-20 1.7. 1 RMI-IIOP Profile 17-18 1.7.2 J2EE components and CORBA interoperability 18-20 Chapter RMI-IIOP architecture 20-25 2.1 RMI-IIOP architecture 20-22 2.2 RMI-IIOP designs follow the norms 22-24 2. 2.1 RMI / IDL data types 22-23 2.2.2 Java language to IDL mapping rules 23-24 2.2.3 Portability API and Run-Time Issues 24 2.3 on the underlying ORB requirements 24-25 Chapter RMI-IIOP compiler design and implementation 25 - 44 3.1 RMI-IIOP compiler features 25-28 3.2 RMI-IIOP compiler design ideas 28-30 3.2 .1 syntax checking 28 3.2.2 sentence translation 28-30 3.3 RMI-IIOP compiler for the detailed design and implementation 30 - 44 3.3.1 compiler input 30 3.3.2 check the legitimacy of the remote interface 30-34 3.3. 3 generates stub and skeleton files 34 3.3.4 method name mapping process 34-36 3.3.4.1 only method names of different sizes 35 3.3.4.2 overloaded method name 35-36 3.3.4.3 method names begin with an underscore and set methods, get Method 36 3.3.4.4 contains illegal characters IDL method name. 36 3.3.5 parameter types and data stream read and write operations 36-37 3.3.6 Flowchart 37-40 <br / > 3.3.7 added trading services code 40-44 Chapter RMI-IIOP API interface design and implementation 44-68 4.1 remote object management 45-51 4.1.1 design ideas 45-46 4.1.2 class PortableRemoteObject realization 46-48 <br / > 4.1.3 Interface PortableRemoteObjectDelete 48-50 4.1.4 Class RMIRemoteStreamClass 50-51 4.2 skeleton and stub 51-57 4.2.1 design ideas 51-53 4.2.2 Interface Tie 53-54 4.2.3 Class Stub 54-55 4.2.4 Interface StubDelegate 55-57 4.3 server and client communications 57-68 4.3.1 design ideas 57-58 4.3.2 Class Util 58-61 4.3.3 Interface UtilDelegate 61-66 4 .3.4 class C1aSSDesc 66-68 Chapter RMI-IIOP data flow design and implementation 68-81 5.1 RMIOutputStream and RMIInputStream 68-73 5.1.1 design ideas 68-70 5.1.2 Class RMIOutputStream 70 5.1.3 Class RMIInputStream 70-71 5.1.4 Class RMIObjectStreamClass 71-73 5.2 RMIObjectOutputStream and RMIObjectInputStream 73-81 5.2.1 Design Thought 73-74 5.2.2 Interface ValueHandler 74-78 5.2.3 Class RMIObjectOutputStream 78-79 5. 2.4 Class RMIObjectInputStream 79-81 Chapter VI Conclusion 81-82 References 82-83 Thanks 83

Related dissertations

  1. Research on the Mobile Agent-based Middleware Platform and Its Testing Model
    PengDeWei ·Wuhan University ·2004 ·Doctoral dissertation
  2. Research on the Key Technologies of High Performance Run Time Infrastructure of Distributed Interactive Simulation
  3. Research on Applying Object-Oriented Middleware in Enterprise Application System--Research on Applying CORBA
  4. The Research and Analysis of Calling Each Other between Heterogenous Distributed Object Below J2EE Framework
    WuYuanJie ·Wuhan University of Technology ·2008 ·Master's thesis
  5. Research and Implementation of the CORBA Resource Encapsulation Based on WSRF
  6. Research of Contract Management System Based on Corba
    LiJinZi ·Jilin University ·2004 ·Master's thesis
  7. CORBA-based distributed heterogeneous database information retrieval model - University Digital Library
    MaoLiLi ·Shanghai Normal University ·2003 ·Master's thesis
  8. Component technology in the PDA mobile data communication research and application
  9. Development and Design of ORB Module System Based on CORBA
    WanQuan ·Wuhan University of Technology ·2003 ·Master's thesis
  10. Study of CORBA and Its Application in MIS of Human Resource
    ZhangWenPing ·Wuhan University of Technology ·2003 ·Master's thesis
  11. Research and Application of Open Distributed Domain-specific Software Architecture
    LiangZuo ·Hohai University ·2003 ·Master's thesis
  12. The Network Measurement Technology Based on CORBA
  13. The Applications of CORBA Technology to Electronic Commerce
    ChenYiQiang ·Tongji University ·2006 ·Master's thesis
  14. The Application of Java Distributed Objects Technologies in Business Enterprise
  15. Corba-based Distributed Technology and Its Application in the Wuhan Roads&Bridges Management Systems
  16. Research and Implementation of CORBA-based ORB interoperability
  17. A Feature Point Tracking Method Based on the Combination of ORB and Klt Algorithm about the Augment Reality
    XuBinFeng ·Nanjing University ·2012 ·Master's thesis
  18. Image Registration and Mosaic Techniques Based on Feature Points
    WeiLinLin ·Hebei University of Technology ·2012 ·Master's thesis
  19. Research on Image Matching Technology Based on Smartphone Sensors
  20. Research on Target Recognition and Tracking Algorithm Based on Micro Vision