基于MVC模式的分页组件应用  被引量:19

Application of Paging Component Based on Model-View-Controller Pattern

在线阅读下载全文

作  者:张俐[1] 

机构地区:[1]江苏技术师范学院计算机工程学院,江苏常州213001

出  处:《计算机工程》2011年第21期255-257,共3页Computer Engineering

基  金:江苏省高校自然科学基础研究基金资助项目(08KJD520005)

摘  要:针对Web数据库系统中的数据分页问题,提出一种基于模型-视图-控制器(MVC)模式的三层分页组件。在数据层中引入Java持久化API和Spring技术,在业务逻辑层中引入泛型DAO模式和桥接模式,在显示层中引入JSP和Struts2标签,并给出部分程序源代码。应用结果表明,与其他分页方法相比,该模型的执行效率较高,稳定性和移植性较好。Focusing on the question of magnanimous database pagination in Web-based system,this paper proposes a three layers of page component based on Model-View-Controller(MVC) pattern.The implementation includes Java Persistence API(JPA) and Spring as model,GerneticDAO and Bridge pattern as control,JSP and Struts2 tags are applied as view.It presents a short program source codes and the model is proved to be practicable and effective.The practice shows that the page component is easy to reuse,learn and deployment.

关 键 词:分页组件 模型-视图-控制器模式 STRUTS2框架 SPRING框架 Java持久化API 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象