Docsity

Agricultural Informative System, Exercises of System Analysis and Design

Toggle sidebar
bg1
A GROUP ASSIGNMENT
ON
IMPLEMENTING OF AGRICULTURAL INFORFATIVE SYSTEM IN
OFOROLA
BY
EBOH UCHENNA
IHEKWOABA JUSTICE
ANYANWUMIRACLE
OGBONNA CHRISTOPHER
ONYENELE ASSUMPTA
DEPARTMENT: COMPUTER SCIENCE TECHNOLOGY
COURSE TITLE: SYSTEM DESIGN ANALYSIS
COURSE CODE: COM 125
INTRODUCTION
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Agricultural Informative System and more Exercises System Analysis and Design in PDF only on Docsity!

A GROUP ASSIGNMENT

ON

IMPLEMENTING OF AGRICULTURAL INFORFATIVE SYSTEM IN

OFOROLA

BY

EBOH UCHENNA

IHEKWOABA JUSTICE

ANYANWUMIRACLE

OGBONNA CHRISTOPHER

ONYENELE ASSUMPTA

DEPARTMENT: COMPUTER SCIENCE TECHNOLOGY

COURSE TITLE: SYSTEM DESIGN ANALYSIS

COURSE CODE: COM 125

INTRODUCTION

Oforola is an agricultural community and its main production include cassava, maize, vegetables. Cassava is also an important crop in Oforola because it is the main food consumed by the residents of Oforola. However, Oforola does not have an accessible agricultural information system on its main crops for the potential users. As a result, the scope of promoting agricultural activities is limited.

Nowadays, the information technology on the Internet performs commanding roles and hence, people do not have to rely on books and reports, which are usually hard to find and access. Also published information in books and reports often fail to reflect the current status, which is essential in a competitive world. This situation can be addressed by maintaining an agricultural information system and making that information available on the Internet. This will help researchers, investors, planters, buyers and sellers. Such systems are already used in some localities.

This Assignment describes the design and development of an agricultural information system for the three main crops in Oforola, namely: cassava, maize, vegetables. Access to this system is provided through the Internet. The users will be able to view the required information as tables or graphs.

1.2 Objectives

Our objective is to introduce an agricultural information system on the Internet so that it will eventually allow potential users to query and obtain the desired information. The data of this system is to be stored using a central database and maintained by research institutes. System is to be portable as the computer system that maintains this data may change from time to time.

2. METHOD

The WWW is based on two standards: The HyperText Transport Protocol (HTTP) and the HyperText Mark-up Language (HTML). HTTP describes the way that hypertext documents are fetched over the Internet. HTML specifies the layout and linking commands present in the hypertext documents. Resources on the web are specified with a Uniform Resource Locator (URL). A URL specifies the protocol used to fetch a document as well as its location.

2.2 HTML

HTML is a document layout and hyperlink specification language. It defines the syntax and placement of special, embedded directions that aren’t displayed by the browser, but tell it how to display the contents of the document, including text, graphics, and other support media. The language also specifies how to make a document interactive through special hypertext links.

2.3 Java

Java is an object-oriented language. It allows the user to write robust and reliable programs, build applications that will run on any platform without recompiling your code and distribute applications over a network in a secure fashion.

2.4 Java Applets

Java applets are programs written in Java and included in HTML pages. An applet is automatically downloaded from a web site and run within the web browser when an instruction to do so is contained within the web page you are viewing. Applets on a web page are modelled in the way as images (e.g. GIF) are displayed on a web page.

There are few browsers that support Java applets (e.g. HotJava, Netscape 2.0, and Internet Explorer 3.0). When an applet is placed on a web page, it is given a display area on the page. This display area belongs to the applet, and the content of it is controlled by the applet. Some applets use this area to present animation while others use it to display information taken from a database or to allow the user to select items from a list.

2.5 Oracle Database

Oracle is the most widely used Relational Database Management System (RDBMS) in the world. Oracle Corporation offers Oracle RDBMS as its core product in its product line, which also includes a fourth-generation application development tool set, reporting tools and utilities.

A relational database is simply defined as a data model that is strictly viewed by its users as tables. A table is a two dimensional matrix composed of rows and columns. At any time when the data is changed in the Oracle database, it is the table or the data therein that is changed. Finally, the result of a query is presented to the user in the table format. The Structure Query Languages (SQL) is the query language of this database. The Oracle database will be run on the server side.

2.6 JDBC Thin Driver

Traditional application programs connect to a database using an Open Database Connectivity (ODBC) driver. Java application programs use Java Database Connectivity (JDBC) drivers for this purpose. Oracle thin driver is a Type 4 driver that uses Java sockets to connect directly to Oracle. It provides its own implementation of

Product Specialization ( Product Specialization )

Code of the crop ( Crop No ) Name of the product ( Product Name ) Unique code given to a product ( Product No ) Production( Production ) Code of a product ( Product No ) Quantity produced ( Quantity ) Year of production ( Year ) Unit cost of the Production ( Cost of Production ) Institute Description ( Institute Description )

Unique code given to a crop ( Crop No ) Unique code given to a institute ( Institute No ) Name of institute ( Name of Institute ) Location of the institute ( Location ) Research Type Description ( Research Type Description )

Unique code given to a institute ( Institute No ) Description of research type ( Research Type ) Unique code given to a research type ( Research Type No ) Research Description ( Research Description )

Unique code given to a research type ( Research Type No ) Description of research ( Research Des ) Achievements of research ( Achievements ) Annual output of the research ( Output ) Year of the research ( Year ) Table 1: Selected Entity / Characteristics of an Agricultural Information System

4. IMPLEMENTATION

The set of tables is created using the relational database for the identified entities at the design stage. The uniqueness of the data fields in these tables are established using primary keys, while the relationships are maintained using foreign keys.

The web pages of this information system will guide the use and operation of this system. Figure 1 illustrates the home page for our agricultural information system. Respective crop information is chosen through a hyperlink of this page. For instance information on research done on rubber by institutes can be viewed through respective the hyperlinks for Rubber and Rubber Institutes.

4.1 Information Retrieval

Making queries for information retrieval can be done in different ways. These are specified using appropriate dialog and list boxes (cf. figure 3). Required query statements are constructed by the Java applets and the users need not be aware of them. Figure 4 describe an information retrieval statement issued for the query of figure 3. Here list options chosen are passed to the query statement using variables of the Java applets. These variables are shown in italic font style and are always enclosed using +, " and ' symbols (see figure 1).

Query = "SELECT Research_Des, Achievements, Output, Year FROM Institute_Description i, Research_Type_Description r, Research_Description d WHERE i.Institute_No = r.Institute_No and r.Research_Type_No = d.Research_Type_No and i.Location = '"+ location +"' and r.Research_Type = '"+ research_type +"' and Year = '"+ year +"' "; Figure 1: An SQL Information Retrieval Query Statement of the System

4.2 Information Updating

Authorize persons can update the database by specifying the username and password through the web browser. As in the data retrieval case, the update statements are included in the Java applets and the authorized person does not need to know how such a query (e.g. figure 2) is made using SQL.

4.3 Current Status

Currently, this system is a prototype located at the University of Colombo as it was developed as a part fulfilment of a degree program. This prototype runs its web server the database on Windows NT. Some database maintenance tasks (e.g. deleting data) of

Barron B., Ellsworth J.H. and Saretz K.M., " Internet ", Sams. Net Publishing, 1995.

Burleson D.K., " Oracle Database Applications ", Coriolis Groups, 1996.

Consultative Group on International Agricultural Research (CGIAR) Home Page, http:// www.irri.org.

Deitel H.M. and Deitel P.J, “ Java How to Program ”, Prentice-Hall, 1997.

Elmasri R. and Navathe S.B., “ Fundamentals of Database Systems ”, 2 nd^ edition, Benjamin/Cummings, 1994.

Emerson S.L., Darnovsky M. and Bowman J.S., “ The Practical SQL ", Addison-Wesley,

Fernando O.N.N., “Agricultural Information system for the World Wide Web”, B.Sc. dissertation, University of Colombo, Colombo, Sri Lanka, 1998.

Heslop B. and Budnick L., " HTML Publishing on the Internet ", Ventana, 1995.

JDBC Documentation, Oracle Corporation, 1997.

Jepson B., " JAVA database programming ", John Wiley & Sons, 1997. Jet Connect JDBC-ODBC driver Documentation, XDB Systems Inc., 1997

Krol E.D. and Ferguson P., " The Whole Internet ", O'Reilly & Associates, 1995.

Vanhelsuwe L., Phillips I., Hsu G.T., Sanker K., Ries E., Rohaly T. and Zukowski J., “ Mastering Java ”, BPB Publications, 1996.

Matthews M.S. and Poulsen E.B., " Frontpage 98: The Complete Reference ", Osborne McGraw-Hill, 1998.

Tillekeratne L.M.K. and Yogaratnam N. (editors), " Annual Review ", Rubber Research Institute of Sri Lanka, 1996.