检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈正举
出 处:《计算机应用与软件》2012年第7期144-149,共6页Computer Applications and Software
摘 要:数据库的访问机制和效率是影响信息管理系统性能的重要因素。在分层应用体系系统结构中,数据库访问通过独立的逻辑层次——数据持久层来实现;持久层的访问机制直接影响信息系统访问数据库的效率。SSH是一种典型的基于J2EE的轻量级软件开发分层体系结构,采用基于ORM原理的插件HIBERNATE实现数据持久层。可尝试改善其持久层访问机制来优化数据库运行效率。结合应用实例,对HIBERNATE的ORM机制、HQL查询语言和缓存机制的优化机制进行了探索;对基于HIBERNATE的持久层数据库访问效率优化的策略进行了尝试和改进,并将其放到招生系统数据库访问优化的实践进行检验。结合实践结果提出了具体建议,希望能够对类似基于J2EE轻量级软件开发架构的信息系统分层数据库访问机制的优化提供参考。Database access mechanism and efficiency are important factors that influence the performance of the information management system. In tiered application architectures, database access is achieved through an independent logic level data persistence layer; the persistence layer access mechanism can directly influence the efficiency of database accessed by tile information system. SSH is a typical J2EE-based light-weight software development tired architecture. It uses HIBERNATE, a plug-in based on the principle of ORM, to implement the data persistence layer. The paper tries to optimize database operation efficiency by improving its data persistence layer access mechanism. In the paper, a real case is integrated to explore HIBERNATE ORM mechanism, HQL query language and cache mechanism' s optimization mechanism. HIBERNATE-based persistent layer database access efficiency optimization policy is tried and improved, then checked by being applied to enrollment system database access optimization practice. Practice results are cited for detailed suggestions. The author hopes to provide references for information system layered database access mechanism optimization based on J2EE light-weight software development architectures and the like.
关 键 词:招生系统 数据持久层 ORM HIBERNATE DAO 模式
分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.46