Design and implementation of the application server EJB container
- Author
- LiYaWei
- Advisor
- ZhouMingTian
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP393.03 Network interconnect technology
- Degree
- Master's thesis
- Year
- 2002
- Downloads
- 95
- Citations
- 2
Abstract
With the development of Internet, computer software system of information processing scale also showed a trend of sustained growth . However, due to the inherent defects of the traditional distributed computing technology , software systems have become larger , slow and fragile . In this case , the distributed object computing came into being . Sun Enterprise JavaBeans ( EJB ) model as a distributed object computing model , has become the mainstream industry standard to build a Web-based enterprise applications . In this issue , I am responsible for the application server project comply with the the EJB1.1 specification container design and implementation . Designed on the basis of existing trading on hope and name server EJB container architecture and design patterns to achieve the EIB API interfaces use a wrapper class . At the same time , completed a the EJB component transaction management, life cycle management and sustainable management of the work . The first chapter discusses the the EJB model technical background . The second chapter describes the implementation of the EJB server . Chapter III discussed in detail the architecture and implementation of the EJB container . The fourth chapter discusses the mode of the wrapper class in the EJB container model . The next five, six, seven chapters detailed description of the container the EJB component lifecycle management , transaction management and sustainable management of the Design and Implementation . Finally , in Chapter VIII of the conclusion.
Table of contents
Chapter Introduction 10-26
1.1 distributed object technologies emerge 10-11
1.2 object middleware technology 11-12
1.2.1 middleware concept 11
1.2.2 object middleware concept 11-12
1.3 Classification of distributed object technology 12-13
1.3.1 COM component model 12
1.3.2 CORBA object model 12-13
1.4 J2EE architecture 13-17
1.4.1 Java Language Introduction 13
1.4.2 Java 2 Enterprise Edition Overview 13-15
1.4.3 J2EE architecture 15-17
1.5 EJB component model 17-23
1.5.1 Basic Concepts 17 - 18
1.5.2 EJB touch-type structure 18-20
1.5.3 and EJB components related to the development of system roles 20-21
1.5.4 EJB component classification 21-23
1.6 J2EE/EJB technology technical advantages and development status 23-26
Chapter EJB and hope Design and realization 26-33
2.1 EJB server structure and function 26-28
2.1.1 EJB server functionality described 27-28
2.2 EJB server language 28-33
2.2.1 Abs Servicelmpl class 28-29
2.2.2EJBServlce Interface 29-30
2.2.3 EJB Servicelmpl class 30-31
2.2.4 EJB server features to achieve the main call flow 31 - 33
Chapter EJB container design and implementation 33-48
3.1 EJB container overall structure 33-34
3.2 EJB container model the various interfaces 34-39
3.2.1 Business Methods Interface 34-35
3.2.2 EJB Object Interface 35
3.2.3 EJB callback API interface 35-38
3.2.4 EJB component context interface 38-39
3.3 EJB container logical objects Functional Overview 39-40
3.4 EJB container logical object implementations 40-48
3.4.1 logical container object's interface and main class 41 - 43
3.4.2 EJB deployment-related information data structure 43-44
3.4.3 container methods to achieve the specific processes and related data structures 44-48
Chapter EJB wrapper class design and implementation 48-66
4.1 Implicit middleware computing model 48-50
4.2 EJB container in packaging design 50-53
4.2.1 packaging design pattern 50-51
4.2.2 EJB container packaging 51-53
4.3 RMI remote communications and packaging 53-58
4.3.1 RMI architecture 54-57
4. 3.2 RMI-based packaging 57-58
4.4 wrapper class structure 58-63
4.5 wrapper class method to intercept the flow 63-66
Chapter EJB component lifecycle management design and implementation 66-81
5.1 stateless session BEAN component lifecycle management 66-71 < br /> 5.1.1 client view Stateless Session Bean Life Cycle 66-67
5.1.2 component instance pooling mechanisms that lead eight 67-69
5.1.3 component instance pool implementation 69-71
5.2 stateful session BEAN lifecycle management 71-76
5.2.1 Stateful Session Bean Life Cycle 71-72
5.2.2 lifecycle management achieved 72-74
5.2.3 state transition implementation process 74-76
5.3 BEAN entity lifecycle management 76-81
5.3.1 EJB Object object life cycle 76-77 <br / > 5.3.2 instance pool after the introduction of the life cycle 77-78
5.3.3 Lifecycle Management implementation 78-80
5.3.4 The main process state transitions 80-81
Chapter EJB component transaction management The Design and Implementation 81-91
6.1 J2EE transaction processing structure in 81
6.2 EJB component's transaction model 81-84
6.2.1 two kinds of trading models 81-82
6.2.2 CMT mode supports transaction attribute 82-84
6.3 transaction management implementation 84-91
6.3.1 Stateless Session Bean component transaction management 84-88
6.3.2 Stateful Session Bean component's transaction management. 88-91
Chapter VII of the entity BEAN ongoing management of the design and implementation 91-99
7.1 persistence management functions 91 <br / > 7.2 entity BEAN component method mapping 91-96
7.2.1 BMP Entity Bean component method maps 91-92
7.2.2 CMP Entity Bean Component Method for Mapping 92-96
7.3 entity BEAN components and data synchronization between the database 96-99
7.3.1 ejbLoad read synchronous call 96-97
7.3.2 ejbStore write synchronous call 97-98
7.3.3 optimization strategy 98-99
first eight chapters summarize 99-100
References 100
Thanks 100
Related dissertations
- An Empirical Study on the Performance of Chinese Mutual Funds
- Research on Persistence in Market Timing Ability of Bond Fund Managers
- Accounting Conservatism, Earnings Persistence, and Accruals Anomaly
- Research on Common Persistence in Conditional Variances Theory and Its Application
- Multi-scale Analysis of RMB Exchange Rate Based on Wavelet Theory
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Analysis and Implementation of Integrated Service Platform of Tianjin Port Container Logistics Center
- Design and Implementation of Management System for Container Operation
- The Art Research of Relic Container of Chinese Buddhism
- Su Art
- DL2500GFJ1Containerized Power Generating Unit and Optimization
- The Research of the Outfitting Design on the1700TEU Shallow Ship
- Flow Charts Based Discrete Event Models for Container Terminals
- Research on Inventory Control and Management of Spare Parts for Container Port Equipment
- Hub Location Problem of Hub-and-spoke Network of Liner Shipping Service with Congestion and Environmental Cost
- A Scheduling Method for Cranes in A Container Yard with Inter-Crane Interference
- SWOT analysis of Zhejiang province inland river container development strategy research based on
- The Economic Efficiency of Bulk Grain Tank Car Straight Packing Technology for Dalian Port
- Research on Container Multimodal Transport Port of Departure Distribution Optimization
- Research on Competition Strategy of the Xiamen Ocean Gate Container Terminal Co.,Ltd