Font Size: a A A

Design And Realization Of Lightweight Framework Based On Domain-Model And IoC/AOP

Posted on:2008-08-04Degree:MasterType:Thesis
Country:ChinaCandidate:C G XuFull Text:PDF
GTID:2178360272467450Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Nowadays, the technology of J2EE (Java 2 Platform Enterprise Edition) has been applied widely in many fields, and it gives birth to the outstanding of many lightweight frameworks. Because of common requirements in presentation layer and persistence layer, framework technologies have been very mature. But for the critical business layer, as the variance of business requirements, framework technology is still in development stage. In order to solve the development problems generated by variance business requirements, solutions of current mainstream lightweight business frameworks are apt to achieve high degree of flexibility in the allocation of business components through IoC(Inverse of Control)/AOP(Aspect Oriented Programming) technologies, Spring framework is the representative of this kind solution. It simply focuses on seeking for the flexibility of components management, but neglecting the importance of rapid software development, which will lead to the problem of small system development difficulties.This study is based on the research of current mainstream lightweight J2EE framework, after combining with the rapid development thought of domain model design and the flexible component management technology of IoC/AOP, I designed and realized a lightweight business J2EE framework which balances the rapid and flexible features of software development, named DMIA framework.According to the domain model theory, DMIA framework divides the business layer into application layer and domain layer which can divide into models and services. Through the mapping with design model and the CRUD (Create/Read/Update/Delete) modular design, it implements the rapid software development. Meanwhile, through the using of a powerful adaptive injection micro-container named PicoContainer and a clear separation of components configuration, DMIA framework truly realizes decoupling and flexible management of components, and finally gives a simple interceptor implementation of AOP function through Java dynamic proxy.Finally, I developed a simple test application system to show the development process under DMIA framework. After that, I tested the framework with professional tools, and proved the feasibility and reliability of DMIA framework.
Keywords/Search Tags:J2EE, lightweight framework, Domain Model, IoC, AOP
PDF Full Text Request
Related items