The Design of Data Access Layer of Network Management System Based on J2EE
- Author
- ZhangJiSheng
- Advisor
- WuJieYi , WangZhiXin
- School
- Southeast University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 130
- Citations
- 2
Abstract
Data persistence layer is a very tricky business development is a problem , an enterprise data persistence solution must provide fast client transactions. In J2EE persistence of data can use different techniques , Hibernate as a new lightweight ORM framework , it can replace Entity bean implementation of data persistence , and combined with DAO mode , Hibernate can design a relatively independent the data persistence layer , focusing on data persistence logic , has implemented a data access logic and data resources loosely coupled . Hibernate also reduces the complexity of the project development , it is consistent with the Java specification relational database persistence makes the project maintainable and scalable line has also been greatly improved. This paper describes two in the J2EE architecture data persistence layer design approach that EJB 2.X CMP specification and Hibernate ORM framework . Then introduced based on EJB 2.X specification of the data management system to achieve lasting , focusing CMP describes the implementation of this framework as well as some of the advantages and disadvantages of using CMP . Then introduced the Hibernate ORM framework technical principles . For this large-scale network management system to achieve data persistence using CMP faced drawbacks , we propose a new framework to replace the EJB 2.X of CMP, which uses lightweight Hibernate ORM framework to achieve a network system data persistence layer optimization.
Table of contents
Abstract 4-5
Abstract 5-8
first chapter 8-16
1.1 Background 8-9 < br /> 1.1.1 topic sources 8-9
1.1.2 The main contents as well as the work done 9
1.1.3 paper structure 9 < br /> 1.2 data persistence 9-10
1.2.1 J2EE data persistence 10
1.3 application-oriented persistence layer design 10-16
1.3.1 Persistence Layer Overview 10-11
1.3.2 Persistence Layer design pattern 11-12
1.3.3 durable layer type 12-14
1.3.4 persistence layer framework outlined 14-15
1.3.5 mainstream persistence layer framework 15-16
Chapter J2EE/EJB related technical presentations 16-26
2.1 component technology 16
2.2 J2EE (Java2 Enterprise Edition) 16-20
2.2.1 What is J2EE 17
2.2.2 J2EE development 17-18
2.2.3 J2EE some basic concepts and key technologies 18-20
2.2.3.1 J2EE framework consisting 18-19
2.2.3.2 key technology 19-20
2.3 EJB component specification 20-26
2.3.1 EJB Overview 20-21
2.3.2 EJB architecture 21
2.3.3 EJB roles and responsibilities 21-22
2.3.4 Session bean, entity bean, message-driven bean 22-24
2.3.5 Transaction Processing 24
2.3.6 Security 24-26
first chapters based EJB 2.X norms existing network management system 26-43
3.1. Network management functions 26
3.2 Vantage CNM system introduced 26 -33
3.2.1 Vantage CNM architecture 27-28
3.2.2 NMS Device REGISTER 28-30
3.2.3 Device Remote network management system upgrade 30-31
3.2.4 NMS device configuration management 31-33
3.3 data persistence layer network management system design 33-43
3.3 .1 container-managed persistence-CMP 33-34
3.3.2 CMP entity bean features 34
3.3.3 Remote upgrade device firmware business logic module data persistence realization 34-43
3.3.3.1 CMP entity bean preparation 34-39
3.3.3.2 session bean preparation 39-41
3.3.3.3CMP data persistence layer implementation 41-43
Chapter Hibernate-good ORM framework 43-49
4.1 Hibernate Overview 43-44
4.2 Hibernate architecture 44-45
4.3 Hibernate technical realization 45
4.4 Hibernate configuration 45-47
4.4 .1 database connection configuration 46
4.4.2 database connection pool configuration 46
4.4.3 JNDI and data source configuration 46
4.4 .4 transaction management 46-47
4.5 Hibernate entity mapping 47-49
4.5.1 persistent classes (Persistent Classes) 47
4.5.2 Mapping File 47-48
4.5.3 entity mapping strategy 48-49
Chapter of the existing network management system to improve the data persistence layer 49-55
5.1 Data Access Objects (Data Acess Object) mode implementation 49-52
5.1.1 BaseDAO class 49-50
5.1. 2 FirmUpgradeDao class 50-51
5.1.3 FirmUpgrade.class 51
5.1.4 FirmUpgrade.hbm.xml 51-52
5.2 devices Remote firmware upgrade service module improved implementation process 52-53
5.3 Improved Vantage CNM data persistence layer network management system to achieve 53-54
5.4 system data after using Hibernate persistence layer features 54-55
Chapter Summary 55-57
6.1 CMP vs. Hibernate 55
6.2 Vantage CNM data management system persistence layer improvements 55-56
6.3 Prospects 56-57
Thanks 57-58
References 58-59
Appendix 59-63
Related dissertations
- Application and Study of Ssh Frame Techlology in the Supermarket Management System
- Web Application System Research Based on Struts and Hibernate
- The Design and Implementation of Competence Model Based on the Data Source
- Research on E-government Foundation Platform Based on Spring and JPA
- Research and Design of Multilayer Framework Based on J2EE
- The Design and Application of an Integrated Framework Composed by A+SSH
- Research on the Design and Performance of Alert Center System
- The Research and Design of the Teachers Testing and Evaluating System of LiaoNing Information Vocational Technical College
- Research and Realization of Educational Administration System Based on Struts and Hibernate
- Research and Implementation of Lightweight and Reusable Technique for Data Persistence
- Research and Design of Integrate Hibernate and EJB FrameWork Persistent Component and Component Migration
- The Application of Struts in Cooperative Office System Based on MVC Pattern
- Research Design and Implementation of J2EE technology integration framework Hibernate persistence layer of EJB architecture
- Design Patterns in enterprise applications (J2EE) in the analysis and application
- Research and Design of J2EE Data Persistence Tier Based on ORM
- Non negative pressure water pump monitoring system design and implementation of SCADA software
- Study on the Security Technology of Multistage Multi-domain NMS Synergy and NMS Password
- Design and Implementation of Optimization and Reconstruction of Putian University Campus Network
- Research and Implementation of Routing Structure Oriented Network Characteristics Analysis Technology
- Application and Implement of VLAN Technology on Administration of Networks for School