计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (20): 222-224.

• 工程与应用 • 上一篇    下一篇

MVC模式下非点源污染模拟模型的中间件实现

王少波1,解建仓1,蔡 明1,王晓辉2

  

  1. 1.西安理工大学,西安 710048
    2.陕西省水利厅,西安 710004
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-07-11 发布日期:2007-07-11
  • 通讯作者: 王少波

Middleware technology of non-point source pollution model based on MVC pattern

WANG Shao-bo1,JIE Jian-cang1,CAI Ming1,WANG Xiao-hui2   

  1. 1.Xi’an University of Technology,Xi’an 710048,China
    2.Bureau of Water Conservency of Shaanxi Province,Xi’an 710004,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-07-11 Published:2007-07-11
  • Contact: WANG Shao-bo

摘要: 非点源污染模拟预测模型是描述流域非点源污染物迁移转化规律的主要工具,在水环境保护、水污染防治等领域得到了广泛的应用。按照J2EE标准,在提高软件的可扩展性、可维护性和代码复用率指导思想下,以中间件技术的应用框架为基础,采用MVC软件设计模式,实现了非点源污染模拟预测中间件,建立了面向Web的非点源污染模拟预测系统。与传统的开发方式相比,所提出的方法可以缩短模型建模周期,提高模型的使用效率。

关键词: 中间件, MVC设计模式, 非点源污染, Web应用

Abstract: Non-point Source Pollution models are widely used in water environment protection and water pollution prevention to describe the transportation and transformation of Non-point Source polluters.According to J2EE standard,under the guidance of satisfying expandability,maintainability of software and high rate of code reuse,the Non-point Source Pollution models and a Non-point Source Pollution simulation and a web-oriented forecasting system has been realized on the basis of the application framework of middleware technology and adopting MVC software design pattern.The way put forward in this text can shorten model-building period and enhance the model-running efficiency compared with others.

Key words: middleware, MVC design pattern, Non-point Source Pollution, Web application