Developing Agricultural Models Using MetBroker Mediation Software.

Developing Agricultural Models Using MetBroker Mediation Software.
复制标题

使用 MetBroker 中介软件开发农业模型。

DOI:
10.2480/agrmet.58.1
复制
发表时间:
2002
期刊:
--
影响因子:
--
通讯作者:
二宮 正士
二宮 正士
中科院分区:
--
文献类型:
--
作者:
マシュー ジョン ローレンソン;大塚 彰;二宮 正士

文献摘要

被引文献

相似文献

MetBroker通过使用中介架构为农业模型提供对异构天气数据库的一致访问。本文讨论了使用MetBroker系统开发软件的三种方法,即Java applet、小型桥接Java应用程序和Java servlet。使用这三种方法的工作应用程序作为软件开发的模型。除了Java servlet之外,所有的方法都要求客户端计算机拥有Java 2 Java环境的副本。小程序具有灵活性和易于更新的优点,但需要相当大的内存,启动速度可能很慢。在客户端计算机上运行的小型桥接Java应用程序可用于从MetBroker检索天气数据并将其写入文件,从该文件中可以由用Java以外的语言(如FORTRAN或BASIC)编写的模型读取。作为Java servlet实现的模型通过HTTP请求接受来自用户的任何输入,并将其结果输出为HTML页面。这些模型可以通过简单的浏览器,如互联网功能的手机访问。第四种方法是从Javabean创建ActiveX(R)控件,目前正在探索中。这样的控件将允许使用非Java可视化开发工具(如Visual Basic或Active Server Pages)的开发人员在其应用程序中直接包含基于MetBroker的组件。
MetBroker offers consistent access for agricultural models to heterogeneous weather databases by using a mediated architecture. This paper discusses three approaches to developing software that uses the MetBroker system, namely Java applets, small bridging Java applications, and Java servlets. Working applications using these three approaches are presented as models for software development. All of the approaches except Java servlets require that the client computer have a copy of the Java 2 Runtime Environment. Applets have the advantage of flexibility and ease of updating, but require considerable memory and can be slow to startup. Small bridging Java applications run on the client's computer can be used to retrieve weather data from MetBroker and write it to a file, from which it can be read by models written in languages other than Java such as FORTRAN or BASIC. Models implemented as Java servlets take any input from users via HTTP requests, and output their results as HTML pages. Such models can be accessed via simple browsers such as Internet-enabled cellular phones. A fourth approach, creating ActiveX(R)controls from the Java beans, is being explored. Such controls would let developers using non-Java visual development tools such as Visual Basic or Active Server Pages directly include MetBroker-based components in their applications.