用户名: 密码: 验证码:
基于Struts和Hibernate的卫星地面站信息系统开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
中国海洋大学卫星地面站建于2000年,接收NOAA和SeaStar的卫星数据。随着时间的推移,地面站积累了大量的卫星数据,对这些海量数据的管理、分发提出了更高的要求,而旧版地面站网站已不能满足;此外,在地面站数据的处理和分发过程中存在重复性的手动操作,为了提高工作效率和数据使用率,迫切需要提高自动化处理程度。因此,开发一个卫星地面站信息系统来提高卫星地面站的信息化建设成为本文的主要研究内容。
     本文调研了当今信息系统开发的理论和技术,选取了J2EE作为开发设计的平台。J2EE是Sun公司的一个标准的企业应用开发平台,该平台适用于B/S模式的多层体系结构信息系统的开发,提供了多种软件开发技术,在信息系统建设中被广泛应用。MVC设计模式可以克服传统WEB开发固有的弊端,将WEB系统分层开发,采用了模型、视图、控制三个模块,使系统的数据模型和业务逻辑分离,提高了应用系统的健壮性和可维护性。Struts是基于J2EE平台并且实现了MVC设计模式的开发框架,该框架的视图组件可以采用JSP等,控制组件使用Action Servlet,同时通过XML配置文件灵活配置控制器,在模型组件可以采用JavaBean、EJB等多种J2EE组件来实现。Hibernate是一种对象/关系数据库映射的工具,是基于Java环境的优秀对象持久化开发框架,通过配置文件和XML映射文件提供应用软件的持久化对象到关系数据库之间的自动映射。
     在以上研究基础上,本文选取了Struts和Hibernate结合起来作为系统架构,并运用了多种Java技术实现了卫星地面站信息系统的建设。采用Struts框架缩短了系统的开发时间,提高了系统的性能,通过Hibenate使用面向对象的技术操作数据库,实现完全面向对象的应用系统,提高了系统的可扩展性。系统包括了多个功能模块:数据信息发布,准实时地将卫星图像发布在网上;卫星图像浏览,通过选取卫星数据参数,查找客户所需要的卫星图像;可视化分析,对卫星数据在线分析,包括空间和时间序列分析;卫星数据产品订购,通过注册成为地面站用户,在线选取卫星产品形成数据订单,提交后系统自动处理数据订单,并且自动将处理好的数据分发给客户;卫星数据信息管理、用户信息管理和数据订单管理,地面站管理员根据需要查看、修改、删除数据、用户和订单的信息,实现高效的管理。系统符合J2EE多层模型和MVC设计模式,具有良好的健壮性、可维护性和可扩展性,满足了地面站信息化建设的需要。
The satellite ground station of Ocean University of China was set up in 2000 to receive NOAA and SeaStar satellites data. Massive amount of the satellite data have been accumulated since then, which requests for effective management and distributing system. Unfortunately, the old version ground station web system can not meet with the demand. In addition, there are some routine manual operations in processing and distributing data. In order to improve work efficiency, it is necessary to develop automatic operations. Therefore, the objective of the thesis is to develop an information system in order to improve managing and distributing efficiency for the satellite ground station.
     The theories and techniques of information system development were investigate and J2EE (Java2 Platform Enterprise Edition) was selected as the development platform. J2EE is a standard enterprise application platform provided by Sun Corporation. It is suitable for the multi-layer architecture system based on B/S pattern and can supply rich kind of developing techniques. This platform has been adopted broadly on the construction of information system. MVC(Model-View-Controller pattern) overcomes disadvantages of traditional web application. It separates the application into Model, View and Controller modules, which makes the data model and business logic model of the system separated. Therefore, the robustness and maintenance of application are both improved. Struts framework is based on the J2EE platform and implements the MVC design pattern. The view component of struts can use JSP. The controller component can use Action Servlet. In addition, it can configure the controller flexibly by using XML file. The model component can use JavaBean, EJB and so on. Hibernate is a kind of object/relational mapping tool and a splendid object persistence framework for java environment.
     And it can handle the mapping from java persistence objects to relational database automatically with configure file and XML mapping file. Base on the investigation mentioned above, the information system of satellite ground station is developed with java techniques by combining the Struts and Hibernate frameworks as the system architecture. Making use of Struts framework can reduce software development time and improve the robustness of application. The expansibility of application is also improved by using Object-Oriented programming method to handle the database with Hibernate framework. The system includes several function modules, data information releasing module, satellite image browsing module, satellite data analysing module, satellite data ordering module, information management module. Data information releasing module is used to publish recent satellite data information in nearly Real-time. Satellite image browsing module allows users to browse the satellite images. Satellite data analysing module allows users to analyse data on line, including temporal and spatial analyse. Satellite data ordering module is used to distribute the satellite data. Users should register first, and then they can select the data on line. With order forms submitted, the system will process and distribute the data ordered automatically. Information management module assists the administrator to query, insert and delete the information of satellite data, users and order forms. The information system, based on J2EE model and MVC pattern, meets the requirement of satellite ground station with robustness guarantees, better maintenance and extensibility.
引文
[1] 冯燕奎、赵德奎等,JSP 实用案例教程 [M],北京:清华大学出版社,2004.5。
    [2] 罗曼 E,Mastering Enterprise JavaBeans and the Java2 Platform EnterpriseEdition [M],北京:电子工业出版社,2002。
    [3] 李个龙、徐海立,J2EE 与.NET 之比较[J],计算机与现代化,2003(11) 17-19。
    [4] 古新生,JAVA 的核心技术:面向对象编程[M],西安:西安交通大学出版社,2002.8。
    [5](美)Chuck Cavaness Geoff Friesen Brian Keeton,Java 完全探索[M],北京:中国青年出版社,2001.1。
    [6] http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
    [7](美)Justin Couch 等,J2EE 宝典[M],北京:电子工业出版社,2002.10。
    [8] Paul J. Perrone,J2EE 构建企业系统—专家级解决方案,北京:清华大学出版社,2001。
    [9] 张晓东等,Java 数据库高级教程[M],北京:清华大学出版社,2004.4。
    [10] 侯晓强、徐春荣等,Java 服务器编程实例[M],北京:清华大学出版社,2003.11。
    [11] 阎宏,Java 与模式[M],北京:电子工业出版社,2004.06。
    [12] 刘晓华等编著,J2EE 企业级应用开发[M],北京:电子工业出版社,2003。
    [13] 任中方、张华、门明松等,MVC 模式研究的综述[J],计算机应用研究,2004(10) 1-4。
    [14] Apache Struts Project http://Jakarta.apache.org/struts/index.html
    [15] Malcolm Davis. An open-source MVC implementation. February 2001 http://www-106.ibm.com/developerworks/library/j-struts/?dwzone=java
    [16](美) Jakarta Team,The Struts User's Guide,http://ljakarta.apache.org/,2003。
    [17] 孙卫琴,精通 Struts:基于 MVC 的 Java Web 设计与开发[M],北京:电子工业出版社,2004.8。
    [18] 邱哲、王俊标、马斗,StructWEB 设计与开发大全[M],北京:清华大学出版社,2006。
    [19](美)Musciano,C. Kennedy,B. ,HTML 与 XHTML 权威指南[M],北京:中国电力出版社,2001.7。
    [20] 周洪斌,浅析 Java 国际化编程及其实现[J],电脑编程技巧与维护,2005(12) 27-28。
    [21] Scott W.Ambler ,The design of a Robust Persistence Layer for Relational Database [EB/OL],http://www.ambysoft.com/ ,2000-11-28/2001.11.20。
    [22] 何铮、陈志刚,对象从系映射框架的研究与应用[J],计算机下程与应用.2003(2) 188- 191。
    [23] 朱庆伟、吴宁红,一种对象从系映射框架的分析和应用[J],电子科技,2004(1) 54- 57。
    [24] 满江红翻译团队,Hibernate中文手册[M],http://wiki.redsaga.com/confluence/display/RSTEAM/Home
    [25] 孙卫琴,精通Hibernate:Java对象持久化技术详解[M],北京:电子工业出版社,2005.4。
    [26] 蔡雪焘,Hibenate开发及整合应用大全[M],北京:清华大学出版社,2006.3。
    [27] 李伟镰、卢建朱,基于Struts和Hibernate的电子申购系统[J],计算机工程 , 2005(19)220-222。
    [28] 陈晓辉、姚宇明、郑明华,基于Struts和Hibernate架构的保险公司核心业务系统[J],计算机工程,2006(2)264-271
    [29] 史济民等,软件工程——原理、方法与应用,北京:高等教育出版社,1990.5。
    [30](挪)Bruce E.Wampler,Java与UML面向对象程序设计[M],北京:人民邮电出版社,2002.10。
    [31](美)Mike Rozlog、Geoffrey L.Goetz、Sung Nguyen,精通Jbuilder[M],北京:机械工业出版社,2004.1。
    [32] http://tomcat.apache.org/
    [33] http://www.pgsqldb.org/
    [34] (美)Jeffrey A.Hoffer,Mary B.Prescott,Fred R.McFadden ,现代数据库管理[M],北京:机械工业出版社,2004.9。
    [35] 张南平、朱富利,基于MVC模式的Struts框架的研究与应用[J],计算机技术与发展 , 2006(3) 229-231
    [36] 于导华、张丽芬,Struts框架构建Web应用[J],微计算机应用,2005(6) 728-730
    [37](美)Karl Moss ,Java Servlet 开发人员指南[M],北京:清华大学出版社,2003.3。
    [38] 孙卫琴、李洪成,Tomcat与Java Web开发技术详解[M],北京:电子工业出版社,2004.4。
    [39]张志坤、车文刚、余正涛,基于Struts+Hibernate架构的电子政务网管系统[J],曲靖师范学院学报,2005(11) 92-95。
    [40]谢艳平、胡家宝、谢承旺,基于Struts和Hibernate的MVC设计模式[J],交通与计算机,2005(4) 62-64
    [41](美)James W.Cooper ,JAVA设计模式[M],北京:中国电力出版社,2003.10。
    [42] 孙杰、林红桔,采用DAO模式实现J2EE数据访问层,仪器仪表用户 , 2005(1) 88-90。

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700