基于Struts的Web系统中设计模式的应用  被引量:2

Application of design patterns in Web system based on Struts framework

在线阅读下载全文

作  者:张义轩[1] 李实秋[1] 

机构地区:[1]重庆邮电大学通信与信息工程学院,重庆400065

出  处:《信息技术》2007年第5期175-177,共3页Information Technology

摘  要:Struts框架方便了中小型Web程序的开发。在Struts框架下应用Business Proxy,DAO等模式,实现了Web系统中表现层、逻辑层、数据持久层之间的松耦合,不仅使业务逻辑更加清晰,还使系统具有结构合理,易于开发、复用和维护的特点。结合项目实例对Struts的原理进行了分析,重点介绍了工厂方法,Business Proxy,DAO等模式的特点及基本构造,并对这些模式在实际应用中遇到的问题提出了具体的解决办法。Struts framework simplifies the development of the Web applications. Based on this frame, adopting appropriate design patterns like Business Proxy, DAO etc, it decouples the business object state transition logic from the business logic, can not only make the business logic clearly, but also make the system easy to develop, reuse and maintain. This paper firstly presents a through analysis of the principle of Struts, then uses an real application as an example to depict the structure and characters of the factory method, Business Proxy, DAO. Some solutions in use of these patterns are related.

关 键 词:Struts设计模式 工厂方法 BUSINESS PROXY DAO 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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