首页 | 本学科首页   官方微博 | 高级检索  
     

基于MVC设计模式的Struts框架及其应用的研究
引用本文:冯相忠. 基于MVC设计模式的Struts框架及其应用的研究[J]. 微机发展, 2006, 16(8): 131-133
作者姓名:冯相忠
作者单位:浙江海洋学院信息学院 浙江舟山316004
摘    要:Struts是基于MVC设计模式的非常优秀的Web应用框架,在Web应用开发中很好地将显示和逻辑分离,提高了代码的可重用性和灵活性。文中首先分析了Struts框架结构及其对Model,View和Controller层的实现原理,并总结了Struts框架的优点,然后给出了采用Struts框架的一个应用实例的实现过程,在应用实例业务逻辑的实现过程中采用了Jbas技术,实现Java代码与数据库操作代码(SQL语句)的分离。

关 键 词:Struts框架  MVC设计模式  Jbas
文章编号:1673-629X(2006)08-0131-03
修稿时间:2005-11-28

Research of Struts Framework and Its Application Based on MVC Design Pattern
FENG Xiang-zhong. Research of Struts Framework and Its Application Based on MVC Design Pattern[J]. Microcomputer Development, 2006, 16(8): 131-133
Authors:FENG Xiang-zhong
Abstract:Struts is an excellent framework based on MVC design pattern for Web applications.It separates view and business logic and increases reusability and flexibility of the code for Web development.This paper briefly analyzes the principle of Struts framework technology and the implementing technology for model, view and controller of Struts based on MVC design pattern.And summarizes the advantages of Struts framework.An implementation of example is given based on Struts framework.In implementation of business logic,separates Java and SQL by Jbas technology.
Keywords:Struts framework  MVC design pattern  Jbas
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号