Research of a J2EE Business Layer Framework Based on JRuby
- Author
- DongMinMin
- Advisor
- WangChengLiang
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 36
- Citations
- 0
Abstract
Traditional J2EE development pattern have some problems,include a high degree coupling of display and business logic, maintenance trouble in later, software is difficult to reuse. The concept of J2EE framework has been made is to adapt to the challenges.There are mainly three types of J2EE framework at present:view layer framework,business layer framework and data persistence layer framework. Business Layer framework have the role of integrating view layer framework and business layer framework.For example, Well-known SSH (Struts + Spring + Hibernate) framework have became the first choice for J2EE development of many enterprises.In SSH,the Spring framework have the role of integrating Struts framework and Hibernate framework.Because the role of framework integration,and the basic of business logic, business layer framework is very important in J2EE development, Can affect the entire J2EE development projects in all aspects.In this paper, a efficient , succinct and rapid business layer framework is the primary purpose.and eliminate large and complex configuration file which must write in other business framework,but it can keep reusability, and loosely couple between every modules. In addition,the code also lesser than it in other bussiness framework.So it is a efficient , succinct and rapid business layer framework.In this paper,writer reserch the relevant technology to make the efficient and succinct framework of J2EE business layer based on JRuby and it contains as follows:①JRuby and relevant technology. Include:Ruby languager and Rails framework,JRuby technology and Bean Script Framework. ,it is the basic of making the framework.②Design and implementation of IOC framework,make Design goal and mind through the function analysis of IOC component. Finally come out core classes of IOC, generation process of component instance,how to assemble components automatically,and how to make inter-dependence check among components.③Design and implementation of AOP framework, through the function analysis of AOP framework and the analysis of two types of AOP dynamic realization,to make the design method of dynamic AOP. Finally come out core classes of AOP and AOP call process. ④Design and implementation of RubyReadController component,analyze the core functions of RubyReadController.The main contribution of this thesis is realizing the basic module of the efficient and succinct framework of J2EE business layer based on JRuby. And validate the availability and practicality in a J2EE project which called”Teaching Resources Management System”.The work and its result also have a certain reference value and guidance sense about correlative theory researching and analysis and realization of actual system.
Table of contents
Abstract 4-5
ABSTRACT 5-10
1 Introduction 10-14
1.1 research background and significance 10
1.2 Current Situation and abroad 10-13
1.3 content of this study and organizational structure 13-14
2 J2EE Business tier framework technology 14-25
2.1 Overview 14
2.2 J2EE three-tier architecture 14-15
2.3 J2EE framework technology 15-16
2.4 J2EE Business tier framework to achieve key technical 16-25
2.4.1 Java reflection mechanism 16-19
2.4.2 IOC Technical 19-23
2.4.3 AOP technology 23-25
3 JRUBY and related technical presentations 25-33
3.1 Overview 25
3.2 RUBY Language \u0026 RAILS framework 25-28
3.2.1 Ruby language 25-26
3.2.2 Rails framework 26-28
3.3 JRUBY technology 28-31
3.4 BEAN Scripting Framework 31-33
4 JRUBY simple and efficient J2EE -based service layer framework design and implementation 33-53
4.1 Overview 33
4.2 framework for the overall design 33-34
4.3 IOC framework design and implementation 34-41
4.3.1 IOC assembly of functional analysis 34-35
4.3.2 design objectives and design ideas 35-36
4.3.3 IOC component design 36-37
4.3.4 IOC overall core class diagram 37-39
4.3.5 component instance generated flowchart 39
4.3.6 automated assembly realization 39-41
4.3.7 dependency checking analysis 41
4.4 AOP framework design and implementation 41-49
4.4.1 AOP framework outlined 41-42
4.4.2 AOP functionality of the component analysis 42-43
4.4.3 AOP dynamic implementation 43-44
4.4.4 Dynamic AOP design 44-46
4.4.5 AOP overall Core classes 46-49
4.4.6 AOP call flow 49
4.5 RUBYREADCONTROLLER Design and Implementation 49-53
5 J2EE based JRUBY simple and efficient framework for the practical application of business layer 53-69
5.1 Overview 53
5.2 system requirements analysis and design 53-61
5.2.1 system use case diagram 54-58
5.2.2 system class diagram 58-61
5.3 system implementation 61-63
5.3.1 performance level achieved 61
5.3.2 business layer to achieve 61-62
5.3.3 data persistence layer implementation 62-63
5.4 framework with other business layer comparison 63-69
6 Conclusion and Outlook 69-70
6.1 This work summarizes 69
6.2 Future Work Prospects 69-70
Thanks 70-71
References 71-73
Appendix 73-75
Related dissertations
- Design and Implementation of Liaohe Oilfield Material Management System Based on Lightweight Web
- Research and Implementation of Distribution Resource Planning System Based on Spring
- Design and Implementation of the IIP lightweight J2EE - based the CRBT integration platform
- Design and Implementation of the Short Message Channel System Based on Spring Framework
- Research on Improving Platform Architecture Based on EJB Component Model
- Research and Design of Lightweight Container
- Research and Application of Java Lightweight Framework in Occupational Skill Testing Authority System
- The Application of Struts in Cooperative Office System Based on MVC Pattern
- Research and Realization of Integrated Centralized Alarm WEB System Based on SSVH Framework
- The Application of Java EE Pattern and Framework in Medium and Small Scale Enterprises
- A Design and Implementation of Traffic Administration FEE System Based on Spring
- Research and Application of Bussiness-Tier Model
- A Security Framework of Networked Distribution Management System for Rapid Deployment
- Building Enterprise Project Management System of CMCC Based on Mutlpile Open Source Archetecture
- Development of small and medium-sized enterprises operating system based on J2EE technology
- Design and Implementation of B2C e-commerce systems based on the Spring Framework
- Analysis and Realization of WEB Security Architecture
- The Study and Inpliment of ERP System Based on Struts and Spring Software Framework
- The Research and Design of Estate Recommendation Management System Based on Spring Framework
- The Research and Application of the Spring Framework Which Based on MVC Pattern