摘要
针对企业级JavaEE应用现有数据访问层解决机制,提出一种轻量级、可重用的数据访问层组件实现方案。方案基于XML-关系数据映射和转换,数据库模型组件针对关系数据库表、视图进行建模,数据库访问控制组件和SQL动态构建组件根据数据库模型组件,结合XML格式数据,动态构造数据库存取SQL语句。项目实验表明,可以快速构建企业级JavaEE应用系统的数据访问层,提高系统可维护性和扩展性。
As for the existing data access layer solution of enterprise JavaEE application, a lightweight, reusable data access layer component implementation solution is presented. This solution is based on the XML-relational data mapping and transformation, database model components is used to model the relational database tables and views, database access control components and SQL dynamic construction components are used to construct database access SQL statements dynamically based on database model components and XML format data. The project experiment shows the way of rapid construction of data access layer for enterprise JavaEE application system to improve the system maintainability and scalability.
出处
《安徽广播电视大学学报》
2015年第2期121-124,共4页
Journal of Anhui Radio & TV University
基金
安徽省自然科学基金项目(项目编号:1508085QF116
1308085QF115)
安徽省高等学校省级自然科学研究项目重大项目(项目编号:KJ2014ZD30)