Title of article :
A plug and play approach for developing
environmental models
Author/Authors :
Petraq Papajorgji a، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2005
Abstract :
The need for better collaboration among scientists and different existing environmental models makes it necessary to find efficient
ways of using and reusing functionalities or services provided by third parties. New advances in software engineering can be
successfully used to develop environmental models that use an enabling architecture for a ‘‘plug and play’’ approach. In this study,
the Kraalingen crop simulation model was used to demonstrate the concept and feasibility of the ‘‘plug and play’’ architecture for
crop simulation models. Strategy and AbstractFactory design patterns are used as the basis for the ‘‘plug and play’’ approach. In
addition to design patterns, Java’s reflection was used to dynamically instantiate the appropriate Strategy instance. This paper
focuses only on the issues dealing with design and implementation of the ‘‘plug and play’’ architecture. This architecture was
successfully tested using several components providing polymorphic behavior in the Kraalingen model. Components for obtaining
weather data from different sources were plugged into the system without requiring changes to the code. This approach creates the
necessary technical environment for scientists to focus on what they know the best, save time and effort and subsequently, increase
the cross-disciplinary interaction for creating better models.
Keywords :
Design patterns , Java , Plug and play , Crop simulation models
Journal title :
Environmental Modelling and Software
Journal title :
Environmental Modelling and Software