期刊文献+

应用MVC模式开发商务网站的研究 被引量:12

Research on Development of E-Commerce Site by MVC Patterns
在线阅读 下载PDF
导出
摘要 面向对象软件开发方法是当前软件开发领域的主流技术。将此技术应用到开发电子商务系统中 ,用面向对象的开发方法促使软件开发人员按对象是应用领域的观点去思考问题 ,是开发电子商务系统的一种尝试 ,也是必然趋势。在介绍SmalltalkMVC模式之后 ,着重讨论了将MVC模式应用于基于J2EE开发电子商务系统中 ,进行系统设计和对象设计与实现。将整个系统分为 5类对象处理 :View、Controller、Model、DB类对象和例外类对象。具体实现时 ,View类由JSP实现 ,Controller类由Servlet实现 ,Model类由EJB/JavaBean组成 ,DB类由Input ,Data ,Value 3个类处理。一般情况下 ,Controller类操作比较固定 ,其他类针对不同操作对象又进行了类的划分与继承 ,以达到复用性好、易维护、开发高效的要求。 In the software development fields, the object-oriented method is technical mainstream. Applying this technology to E-commerce system, using object oriented method to make the software developers consider problem from the point of view that the objects are the application fields, is a new attempt to develop E-commerce system, and is an inevitable trend as well. After smalltalk MVC patterns was introduced, the OOA & OOD for E-commerce system based on J2EE by MVC patterns was discussed. The whole E-commerce system was composed of view class object, controller class object, model class object, DB class object and exception class object. These class were implemented respectively by JSP, servlet , EJB/JavaBean technology , DB class was composed of input, data and value classes. The other classes ,except controller class were divided and inherited according to their operations in order to meet the requirements of good reuserability, easy- maintain ability ,open and high effectiveness. Finally an illustrative example was given.
出处 《石油化工高等学校学报》 CAS 2002年第3期64-67,共4页 Journal of Petrochemical Universities
关键词 商务网站 研究 设计模式 EJB 面向对象 电子商务 Design patterns EJB Object-oriented E-commerce
  • 相关文献

参考文献1

  • 1李英军.设计模式:可复用面向对象软件的基础[M].北京:机械工业出版社,2001..

共引文献2

同被引文献42

引证文献12

二级引证文献34

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部