Project Report
Project Report
Introduction
This is a web based project which is useful for farmers and agricultural students. This is an
open discussion portal providing solutions to small farmers and agricultural students. It also provides
soil analysis for all regions and suggestions on which fertilizers to use where and how much? And
which crop, herb or vegetable to be grown where and in which season? It also helps to make
decisions on market and best prices. Information about major crop markets and their current price for
the crop will be published daily. NGO’s are trying to spread messages to make agriculture more eco-
friendly through this site. This also includes training scheduled by agricultural officers. Training is
requested by students, general public. Training provides information about crops, fertilizers, and
market details that are requested. Online query handlings for all users. Queries can be posted by
students, general public through mails. Queries can be directed to a particular officer. Information
pages should be dynamic so that agricultural officers and administrator can change it.
1
2. Project Analysis
It is an open discussion portal used for agricultural students and farmers. Any general public
can use this system for knowing the information about various crops, and the usage of fertilizers to
those crops and in which soil these crops give more yield and the climatic conditions for those crops.
Training is requested by the students, general public. These trainings are scheduled by
agricultural officer. Information about major crop markets and their current price for the crop will be
published daily.
Current prices of the markets are updated daily by the NGO. It gives information regarding
all the states in India.
Complexity in managing the data related to the agriculture products, soils, fertilizers,
mandi/market details.
Lack of security.
This system does not provide category wise classifications of products.
Inefficiency in querying details.
Periodic Report generation takes lot of time.
2
2.3 Proposed system:
The development of this new system contains the following activities, which try to automate
the entire process keeping in the view of database integration approach.
Reduce complexity in managing the data related to the agriculture products, soils, fertilizers,
mandi/market details.
Current system provides different access levels for security.
Rich user interface is provided in order to interact with application.
Reports are generated dynamically on a periodic basis.
Efficiency in querying details.
User Queries and Answers are maintained.
Early Spring:
Beets, Broccoli, Brussels Sprouts, Cabbage, Cauliflower, Carrots, Cress, Lettuce, Onions ,
Peas , Potatoes, Radishes , Salad Greens, Spinach
Summer:
Fall:
Beets, Broccoli, Brussels Sprouts, Cabbage, Carrots, Cauliflower, Cress, Lettuce, Peas,
Radish, Salad Greens, Spinach, Turnips
Permanent Crops:
Frost will kill summer plants. If you do get caught with a late freeze you can cover your
plants with newspaper, straw, or plastic. Tomatoes can be covered with 5 gallon buckets or grocery
3
bags but even these will not always protect the tender young plants from the cold. Every gardener
learns this hard lesson sooner or later. If frost gets on your plants, you must get up before the sun
and sprinkle water on your plants to wash off the frost. If the sun hits the frost, it is too late. The
frost is a lethal poison to your plants and they will die.
Mulching summer plants, especially ones that produce all summer or are long growing such
as cucumbers, squash, okra, tomatoes, potatoes, peppers, cantaloupe, watermelon or pumpkins.
Good mulching reduces a lot of labor by helping to conserve moisture and reducing those hateful,
nasty weeds. It also makes the garden pretty and in the fall provides humus to be worked into the
soil.
Mulching materials:
Straw :
This is an excellent mulching material but the wheat or barley seeds in the straw will sprout
and grow. It is best if the straw is allowed to get wet and go through a heat to kill the seeds before
using.
Newspaper :
This is a way to recycle your newspaper! It will blow away if not weighted down. Some like
to use it under the straw as an additional weed blocker.
Grass Clippings :
These are free for the getting and a way to dispose of that extra grass. Because it is a green
clipping you may have to add extra nitrogen to help compensate for the nitrogen it pulls out of the
ground.
Excellent protection but more expensive and has to be removed in the fall. Always use black
plastic as it helps to block the sunlight. Be sure to punch holes in the plastic so water can penetrate.
Soil Analysis:
An accurate soil analysis is vital to understanding your soil. We use high quality laboratory
analyses that work specifically for our system.
4
Before sending soil samples to us please check out Taking a Good Soil Sample and Sending Soil
Samples to K.A.S.
From the basis of a detailed soil analysis, and plant tissue analysis when necessary, and -
importantly - the additional information that you provide by completing the free soil test worksheet,
we build a specific fertilizer recommendation for each soil sample, tailoring the recommendations to
your particular operation and goals.
The recommendations will utilize the proven principles of the Kinsey/ Albrecht system of soil
fertility management. The aim is to correct and raise the overall soil fertility to improve and
maintain yields and/or crop quality. If we have previously made recommendations for the same soil
location, and it has been properly identified as such, then these previous analyses and
recommendations are taken into account also.
Samples originating outside of the U.S. and Canada require specific USDA clearance, and
may also have to be priced differently according to the service you require - please contact us for the
proper procedures, and information concerning cost of analysis and turn-around time before sending
any soil.
Fertilizer Recommendations:
Our recommendation report for each sample has two parts: the soil analysis and
recommendation for achieving the proper fertiltiy level.The basic soil analysis will normally include:
Soil pH
5
Trace elements:
Boron in ppm
Iron in ppm
Manganese in ppm
Copper in ppm
Zinc in ppm
Our recommendations for a specific plan of fertilizer amendments are tailored to your
expressed short or long term goals, and take into account the previous history of crops and fertilizers
at the location, farming conditions in the area, your type of operation, fertilizer preferences, and
other factors, as supplied by the grower, in addition to the condition of the soil.
We do not sell fertilizers or soil amendments. It is suggested that to the extent possible you
work locally to obtain materials from your preferred fertilizer dealership.Since each soil is tested in
more detail than is customarily done in various areas, and provided as well with its own specific set
of recommendations, some needed materials may not always be stocked by local dealers. This tends
to be especially true for those striving to be certified organic growers.
The way the soil samples are taken is extremely important, as the recommendations you
receive from soil tests will only be as good as the samples you send for analysis.
Following the instructions below will assure that the samples you send are taken in the way
we need them for a proper analysis.
When to take a soil sample. Soil samples may be collected at any time of the year, provided
that the area is not suffering from prolonged drought, that no nitrogen has been applied in the last 30
days and no sulfur has been used in the last six months.Late spring and early summer sampling
avoids the rush, shows the soil's fertility at its best and gives time to plan a soil fertility program
which can begin directly following harvest if necessary.
However, if no samples have been taken within the last two years, the best time to sample is
as soon as circumstances permit.Generally, sampling should be done every year if fertility is high
and / or trace elements are being used to achieve top yield from year to year and is useful at the time
of fertilization
6
Collecting the Sample(s):
The sample bag: Use a new soil-sample container, plastic bag or plastic container.
Soil-sample bags are available free from Kinsey Agricultural Services. Zip-loc bags are fine
as long as they have never been used - but put Scotch tape over the writing or attach masking tape to
write on because all types of marking ink can rub off the bag during shipment. Do not use paper
sacks from the grocery store, bread wrappers, or such items, due to possible contamination. Avoid
using a plastic bucket that has been used for other purposes. Even repeated washings of a bucket
used to mix salt and minerals for feed can still result in contamination of the sample.
Label the sample bags with your name, the farm name if any, field number and sample area.
Prepare a map or sketch of the area for your own records. Make sure the labeling on the bag
matches the number of the field and area on your map. Labeling the bags to match the areas before
taking the sample helps.
A SOIL PROBE is recommended for easiest and best sampling results. Using a soil probe
or shovel, sample down to a depth of 6½ -7 inches (17cm), or to the depth the soil will be thoroughly
mixed when worked if that will be deeper than 6½ -7 inches.For no-till crops,orchards, vineyards,
pastures, hay meadows, lawns, etc., where soils will not be worked, the depth should be 4 inches
(10cm). Sampling to the proper depth is extremely important ifwe are to provide each grower with
the correct recommendations. Put the soil, using several probes from like areas to make up the
sample, into the sample bag.
Removal of obvious debris (roots, leaves, etc.) is fine but unnecessary as it will not adversely
affect the sample. If you do remove debris from the sample, be careful that none of the actual soil is
removed with it.
Probe the soil every 50 to 100 paces, always taking a minimum of 5 probes per composite
sample for smaller areas, and one probe for every 1 (one) to 2 (two) acres from larger areas.
Only a small amount of soil is necessary for analysis. A cupful of soil is more than
enough.Just be sure your sample represents the entire soil profile, if mixed, in order to send only a
small portion. Please remember : this will be a very detailed analysis, which will only be as accurate
as the sample you send.
FERTILIZERS:
Nitrogen is a primary nutrient that really makes plants "grow." When you put fertilizer on
your lawn, most of the "green-up and grow" comes from the nitrogen.
7
There are 'quick release' and 'slow release' forms of nitrogen. Slow release forms are more
expensive but remain effective for a longer period of time. Organic fertilizers are slow release, and
have less potential to "burn" plants.
Nitrogen produces vegetative growth in plants, but too much nitrogen can cause problems.
One problem is succulent growth, which makes a plant more susceptible to certain diseases.78% of
our atmosphere is nitrogen, and rain and snow account for 2 to 12 pounds of actual nitrogen per acre
(43,560 square feet), per year. "Lightning charged rain" is high in NH4 and NO3. Snow has been
called "poor man's manure". . . now you know why!
Plants in the Legume family "fix" atmospheric nitrogen into the soil. Peas, beans, clover, and
alfalfa are legumes, as well as Black Locust trees.
PHOSPHORUS (P) - the Phosphorus percentage is the middle number on the label
Example: 10-10-10
Phosphorus is a primary nutrient that encourages rooting, blooming and fruit production in plants.
Vegetable gardeners have typically been told to apply 5-10-5 since the higher middle number (P)
helps vegetable production.
Phosphorus is important for root-growth and blooming in plants, and is the main ingredient in
"starter fertilizers" as well as liquid fertilizer "bloom boosters".Phosphorus is lacking in most
Southwestern Pennsylvania soils we have tested since 1979. Applications of super-phosphate 20-0),
triple super-phosphate (0-46-0), or bone meal (organic source) can be used to correct deficiencies.
Since phosphorus moves very slowly through the soil, it should be incorporated into the soil prior to,
or during planting. In existing lawns, we recommend core-aeration prior to phosphorus application.
Example: 10-10-10
Potassium helps plants resist disease and aids in winter hardiness.("K" is the symbol for
"kalium" or potash, and is commonly used to represent potassium)Most 'winterizer' fertilizers used
on lawns in late fall are high in Potassium, since it promotes winter hardiness in
turfgrasses.Potassium fertilizers have a high "salt index" and should be used with caution, since they
can "burn" plant foliage.Most "complete" fertilizers contain potassium since it is fairly mobile, and
readily leaches out of the soil profile.
8
Secondary Nutrients:
Secondary nutrients also play an important role in plant growth. The 3 secondary nutrients
are Calcium (Ca), Magnesium (Mg) and Sulfur (S).
Essential Elements:
The essential elements are basic to plant growth, and need to be mentioned here, even though
they aren't commercially available fertilizers. The 3 essential elements are Carbon (C), Hydrogen
(H) and Oxygen (O). Plants obtain these elements from carbon dioxide (CO2) and water (H2O).
Macronutrients:
When you group the essential elements with the major nutrients and secondary nutrients, you
end up with the 9 macronutrients: Carbon, Hydrogen, Oxygen, Nitrogen, Phosphorus, Potassium,
Calcium, Magnesium, and Sulfur: C, H, O, N, P, K Ca, Mg, S
Minor Elements:
Nutrients needed by plants in lesser amounts are known as the minor elements. These
include Iron (Fe), Boron (B), Manganese (Mn), Copper (Cu), Chlorine (Cl), Molybdenum (Mo), and
Zinc
Sandy soil:
All root vegetables like carrots, turnip, beetroot , coconut, cashew also grow.
Herbs:
Chamomile, lavender, thyme, semary, armeria, santolina, saxifrage also grow.In rajasthan soil
and vegetation, sugarcane and cotton grows more. Wheat, mustard, maize, fruits, barley available in
sandy soil.
Red Soil:
Found in states of AP, Tamilnadu, Orissa, goa, Maharashtra, Karnataka. Red soil has iron
content and is fit for crops like redgram, bengalgram, groundnut and castorseed, millets, rice,
maize, soyabean, pigeonpea, jute, tea, grapes, banana, papaya and mango, cashew.
9
Black soil:
Black soil is rich in potassium, calcium and magnesium crops like cotton, tobacco, chilly,
oilseeds, jowar, ragi and maize grow covers an area of about 74 million. Suitable for cotton crop
other crops are potato, groundnut, sugarcane, soyabean and wheat.
Alluvial soil:
Covers about 75 million acres and distributed in states of Punjab, Haryana, Uttaranchal,
Bihar, West Bengal, Uttarpradesh. Crops grow in it are rice, wheat, mustard, jute, sunflower, tomato,
maize.
Desert soil:
Cover an area of about 29 million acres. millets, fooder, pulses are the main crops.
Found in kerala, Orissa, Tamilnadu, West Bengal. These soils often produce a very good rice
crop.
10
3. Requirement Analysis
Purpose:
It is an open discussion portal used for farmers and agricultural students for
knowing the information about various crops, and in which soil they grow more, and the usage
of fertilizers to the crops. If necessary training is given to the students and farmers.
Scope:
Providing accessibility to all users who have a valid userID and password.
Generating monthly and daily reports of the market
User can post query. They can see answers only after they have logged in.
Communication is provided for the user through mails.
4. Specific Requirements
Functional Requirements:
Non-functional Requirements:
12
1
Http servlet
request 2
4 database
Web
Web
6 components
client
Http servlet
response 5 3
Java bean
components
5. System Requirements
13
UML
Java script
J2EE
Servlets
JSP
HTML
UML:
The Unified Modeling Language (UML) is an open method used to specify, visualize,
construct and document the artifacts of an object-oriented software-intensive system under
development.UML offers a standard way to write a system's blueprints, including conceptual
components such as:
Java script:
J2EE:
Java Platform, Enterprise Edition or Java EE is a widely used platform for server
programming in the Java programming language
Servlets:
The Java web server is JavaSoft's own web Server. The Java web server is just a part of a
larger framework, intended to provide you not just with a web server, but also with tools. To build
customized network servers for any Internet or Intranet client/server system. Servlets are to a web
server, how applets are to the browser.
HTML:
14
Oracle 10G
Tomcat 5.0
Rational Rose Enterprise Edition
EDRAW
Oracle 10g:
The Oracle Database (commonly referred to as Oracle RDBMS or simply Oracle) consists of
a relational database management system (RDBMS) produced and marketed by Oracle Corporation.
Oracle had become a major presence in database computing.
Database:
A database management system (DBMS) is computer software designed for the purpose of
managing databases, a large set of structured data, and run operations on the data requested by
numerous users.
Tomcat 5.0:
Apache tomcat is an open source servlet container developed by the apache software foundation
(ASF).Tomcat implements the java servlet and JSP specifications from sun micro system, and
provides a pure java HTTP web server environment for java code to run.
Tomcat should not be confused with the Apache web server, which is a C implementation of an
HTTP web server; these two web servers are not bundled together. Apache tomcat includes tools for
configuration and management, but can also be configured by editing XML configuration files.
EDRAW:
15
6. System Design
cropnam
State_cod Dist_code ee
e
State_info Fert_info Question_base
Soil_co Soil_type
de
soilna
Q_i
state_cod me
Soil_Code d
e state
Crop_nam Q_detail
e
Sb_crops Soil_ident trainingrequest
name
season Req_i
Soil_cod Soil_name place
e role d
Training_info
Traing_id
title
schedul
desc
e
Figure 2: ER-Diagram
Use case Diagrams represent the functionality of the system from a user’s point of view. Use
cases are used during requirements elicitation and analysis to represent the functionality of the
system. Use cases focus on the behavior of the system from external point of view.
Actors are external entities that interact with the system. Examples of actors include users like
administrator, farmers, agriculture students etc., or another system like central database.
Description:
Description:
Every user should login to access the services provided by farmers buddy system.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
Flow of events:
Description:
17
In this, we add information about various soils that are available and also we can update,
delete the information about soils. User after registered with this system can view this information
provided.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
In this, we add information about various crops that are available and also we can update,
delete the information about crops to be grown in various soils according to climatic conditions.
User after registered with this system can view this information provided.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
In this, we add information about various fertilizers that are available and also we can update,
delete the information about fertilizers to be used in various soils according to climatic conditions.
User after registered with this system can view this information provided.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
18
We can add fertilizer information into the system
Description:
In this, we add, update and delete the information about various commodities that are
available in markets corresponding to particular areas in particular state and district. User after
registered with this system can view this information provided.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
In this, we add, update and delete information about various markets. User after registered
with this system can view this information provided.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
19
In this, we generate reports regarding crops, soils, fertilizers, markets, commodities and
about their prices in a particular state or district daily or month wise reports to be published.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
We can add reports information about markets, fertilizers, crops, soils, commodities into the
system
Description:
Communication is provided in this system through mails which includes the query posting
regarding information about crops, soils, fertilizers, commodities, markets.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
Providing Security by entering valid username and password. Security question is asked
whenever user forgets password.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Whenever the user forgets password, the user is asked with security question.
20
If the user doesn’t provide correct user name and password, the user cannot enter into the
system
Description:
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
Pre Condition: Each user must have a valid user id and password.
Flow of events:
Description:
After using the information available with this site, users logout of this system.
Pre Condition: Each user must have a valid user id and password.
Flow of events:
When the user is logged out of the system, the user goes to login page again
21
login
soil
Administrator
crop
fertilizer
agricultural officer
commodity
market
user
reports
mails
training
queries
logout
22
6.2.2 Class Diagram:
A class diagram is an illustration of the relationships and source code dependencies among
classes in the unified modeling language. In this context, a class defines the methods and variables in
an object, which is a specific entity in a program or the unit of code representing that entity.
Report
reportid Mails
concept
mailid
status
generateReport()
viewReport()
readMail()
marketwiseReport()
receiveMail()
areaReport()
viewMail()
commodityReport()
soilbasedfertilizerReport()
Market
User market id
Soils
market name
soilid name
market palce
soil type id
arrivals
soil code password
grade
state code dateofbirth
district code address
viewMarketInfo()
district name email
addMarket()
updateMarketInfo()
addSoil() login()
deleteMarketInfo()
removeSoil() logout()
updateSoil()
viewSoilInfo()
Commodity
CropDetails
Fertilizers commodity id
crop id
soil id commodity name
crop name
fertilizer id grades
soil id
fertilizer name price
season
fertilizer type crop type
contents addCommodity()
crop id remove()
viewCropInfo()
update()
updateCrops()
addFertilizer() viewCommodityInfo()
removeFertilizer()
updateFertilizer()
viewFertilizerInfo()
23
6.2.3 Sequence Diagrams:
Sequence diagram is a diagram that shows object interactions arranged in time sequence. In
particular it shows objects participating in the interaction and the sequence of messages exchanged.
1.Administrator:
Login Home Soil Crops Fertilizers Market Reports Mails Security Logout
1.Login()
2.Validate()
3.Fail()
4.Add,Update Soil()
5.Add,Update Crops()
6.Add,Update Fertilizers()
7.Add,Update Market()
8.Reports
9.ViewInbox(),SentItems(),Search()
10.ChangePassword(),ChangeQuestion()
11.Logout()
12.Home()
24
2 . User:
1.Login()
2.Validate()
3.Fail()
4.Request,View Trainings()
5.View,Post Queries()
6.Inbox(),SentItems(),Search()
7.ChangePassword(),ChangeQuestion()
8.Logout()
9.Home()
25
3.Agricultural Officer:
1.Login(
2.Validate()
3.Fail(
4.AddTrainings(),View
5.ViewQueries(),Post
6.ViewInbox(),Sent
7.ChangePassword(),Change
8.Logout(
9.Home(
26
4.General Public:
1.ViewTrainings(),Request
2.Post
27
6.2.4 Collaboration Diagrams:
1.Administrator
2: 2.Validate() Crops
5: 5.Add,Update Crops()
6: 6.Add,Update Fertilizers()
Fertilizer
Home s
4: 4.Add,Update Soil()
Mails
Logout
12: 12.Home()
Reports
Login
Market
28
2.User
2: 2.Validate()
Queries
4: 4.Request,View Trainings()
8: 8.Logout()
Trainings
7: 7.ChangePassword(),ChangeQuestion()
3: 3.Fail()
Logout
6: 6.Inbox(),SentItems(),Search()
1: 1.Login()
Security
9: 9.Home()
Login
Mails
29
3.Agricultural Officer
Queries
7: 7.ChangePassword(),ChangeQuestion()
4: 4.AddTrainings(),ViewTrainings()
1: 1.Login() 9: 9.Home()
6: 6.ViewInbox(),SentItems(),Search() Logout
3: 3.Fail() 5: 5.ViewQueries(),PostAnswers()
8: 8.Logout()
2: 2.Validate()
Home
30
4.General Public
1: 1.ViewTrainings(),RequestTraining()
Home
Trainings
2: 2.PostQuery()
Queries
31
6.2.4 Activity Diagrams:
Administrator:
administrator
authentication
check check
authentication
if success
add soil view soils add crops view crops add view add market view inbox sent items search change change
fertilisers fertilisers market password question
32
User:
user
authentication
check
check authentication
if success
View request view post query inbox sent items search change change
trainings trainings queries password question
33
Agricultural Officer:
User
Authentication
Enter UserName & Password
If Fail
Check Check Authentication
If Success
34
6.2.6 Component Diagram:
35
6.2.7 Deployment Diagram:
36
6.3 System Specific Modules:
1. User Module
3. Crop Details
4. Market Details
5. Reports
6. Mails
1. User Module:
First, to enter this system the users has to login to this system. Basically there are 3 types
of users in this system.
Admin users - Has full access to all the modules of this system.
Farmers and Agriculture Students – Has restricted access. i.e., Normal users have
access to some of the modules only.
Agricultural officers: Has also restricted access.
2. Soils and Fertilizers:
This module is used to maintain the various Soils and Fertilizers Details. This module
will be enabled only to the admin type of users.
A separate screen should be provided to maintain the Soils and Fertilizers Details. It
should provide a way to add, modify and delete the both details.
If a new Soil Information is received it should be added to the System.
If a new Fertilizer information is received it should be added to the system with the
corresponding details like soil name, crop type, crop name etc.
3.Crop Details:
This module is used to maintain the various details about crops. This module will be
enabled only to the admin type of users.
37
This module contains:
In this module we can maintain the market details. This module will be enabled only to
the admin type of users.
He can add the information about new markets into the system.
He can add the market report into the system regarding a particular market and
commodities prices details in that market in a day.
5.Reports
Area Wise Crops report – This contains various information about the crops in a
particular district.
Soil Based Fertilizers report – This contains various information about the fertilizers
based on the state, district, crop type and season.
Commodity Wise report – This gives the different details about a particular commodity
in a particular state and district.
Market Wise Daily report – This gives the daily information about the various Markets
in a particular state and district.
Market Wise Monthly report – This report gives the market information in state and
district in a particular month.
38
6.Mails:
This module provides the mail system to every user in the system who are authenticated.
39
6.4 Screens
Step 3: Queries:
40
Step 4: Soil Entry Form:
41
Step 6: Add Fertilizer Information:
42
Step 8: Sent mails:
JSP:
43
LoginForm.jsp
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()
+path+"/";
%>
<body>
<form action="login.do" method="post" name="register">
<table width="200" border="0" align="center">
<tr>
<td><div align="center" class="style25">
<% if(request.getParameter("status")!=null)
{%><strong><%=request.getParameter("status")%></strong>
<%}%>
</div></td>
</tr>
44
<tr>
<td><table width="314" height="206" border="0" align="center"
bordercolor="#CD817E" bgcolor="#FAF9DE">
<tr>
<td width="1" height="57" valign="top"></td>
<td width="280"><div align="center" class="style24">L o g i n</div></td>
<td width="29"></td>
</tr>
<tr>
<td height="120" align="right"></td>
<td><table width="226" border="0" align="center">
<tr>
<td width="79"><span class="style23">Username</span></td>
<td width="189"><input type="text" name="username">
</td>
</tr>
<tr>
<td><span class="style23">Password</span></td>
<td><label>
<input type="password" name="password">
</label></td>
</tr>
<tr>
<td colspan="2"><label>
<div align="center">
<input type="submit" name="Submit" value="Sign In">
<input name="Input2" type="reset" value="Clear">
</div>
</label></td>
</tr>
</table></td>
45
<td> </td>
</tr>
<tr>
<td height="21"> </td>
<td valign="baseline">
<div align="center"><span class="style26"><a href="RecoverPassword.jsp">Forgot
Password ! !......</a></span> <br>
<img src="images/regisbot.gif" alt="a" width="280" height="3"></div></td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<p align="center"><a href="Register.jsp"><img src="images/register.gif" width="250"
height="50" border="0"></a> </p>
</form>
</body>
</html>
Register.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()
+path+"/";
%>
47
<table width="481" border="0" align="center" bordercolor="#CD848F" bgcolor="#EDF9DF">
<tr>
<td width="7" height="57" valign="top"> </td>
<td width="471"><div align="center"><span class="style11"><strong>R e g i s t r a
t i o n</strong></span></div></td>
<td width="10"> </td>
</tr>
<tr>
<td align="right"> </td>
<td><table width="407" border="0" align="center">
<tr>
<td width="128"><span class="style17">First Name </span></td>
<td width="269"><label>
<input type="text" name="firstname">
</label></td>
</tr>
<tr>
<td><span class="style17">Last Name </span></td>
<td><label>
<input type="text" name="lastname">
</label></td>
</tr>
<tr>
<td><span class="style17">Birth Date </span></td>
<td><label>
<input type="text" name="bdate">
<a href="javascript:show_calendar('document.register.bdate', document.register.bdate.value);">
<img src="images/cal.gif" width="18" height="18" border="0"/></a>
</label></td>
</tr>
<tr>
<td><span class="style17">City</span></td>
48
<td><label>
<select name="city">
<option>Hyderabad</option>
<option>Mumbai</option>
</select>
</label></td>
</tr>
<tr>
<td><span class="style17">State</span></td>
<td><label>
<select name="state">
<option>Andhra pradesh</option>
<option>Maharashtra</option>
</select>
</label></td>
</tr>
<tr>
<td><span class="style17">Country</span></td>
<td><label>
<select name="country">
<option>India</option>
</select>
</label></td>
</tr>
<tr>
<td><span class="style17">Email Address</span></td>
<td><label>
<input type="text" name="email">
</label></td>
</tr>
<tr>
49
<td><span class="style17">Login Name </span></td>
<td><label>
<input type="text" name="loginname">
</label></td>
</tr>
<tr>
<td><span class="style17">Password</span></td>
<td><label>
<input name="password" type="password" id="password">
</label></td>
</tr>
<tr>
<td><span class="style17">
<label>Secret Question</label>
</span></td>
<td><select name="squest">
<option value="1">What is your favorite pastime?</option>
<option value="2">Who was your childhood hero?</option>
<option value="3">What was the name of your first school?</option>
<option value="4">Where did you meet your spouse?</option>
<option value="5">What is your favorite sports team?</option>
<option value="6">What is your father's middle name?</option>
<option value="7">What was your high school mascot?</option>
<option value="8">What make was your first car or bike?</option>
<option value="9">What is your pet's name?</option>
</select></td>
</tr>
<tr>
<td colspan="2"><span class="style17"> </span><span class="style18">
<label>
<input type="checkbox" name="ch" value="1" onClick="check()">
50
<span class="style20">Own Question</span> </label>
</span><span class="style17"> </span></td>
</tr>
<tr>
<td><span class="style17">Own Question </span></td>
<td><label>
<input type="text" name="ownquest" disabled>
</label></td>
</tr>
<tr>
<td><span class="style17">Secret Answer </span></td>
<td><input name="sanswer" type="text"></td>
</tr>
<input type="hidden" name="diff" value="user">
<tr>
<td colspan="2"><div align="center">
<INPUT type="image" name="submit" src="./images/RegisterNow.gif"
border="0" style="border-width: 1px; height:40px; width:150px;" type="image">
</div></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
51
Our system should provide services to the users who are existing in this system. Users should have
valid user id and password to enter the system. The administrator, agricultural students, general
public, agricultural officer can use the benefits of the system who are having valid user id and
password.
System to be changed:
In the existing system periodic generation of reports takes lot of time. It is time consuming
and lot of complications will arise. So there is necessity to change the system and then the time
System understanding:
Complete understanding of the system that is to be done i.e. brief study of the requirements
System validation:
Validation can be find in many ways, but a simple definition is that validation succeeds when
software functions in a manner that can be reasonably expected by the user, i.e. fulfilling all the user
specified requirements.
Modified system:
Modified system provides periodic generation of reports which is not available for the
existing system such that reduce work being done manually and time consumption.
7. Testing
52
7.1 Functional test cases:
1. Verify login page Input username Login page Invalid data error
and password
54
1. Verify that user 1. Invoke the 1. page should be 1. Page should be
should has browser displayed with displayed with
correct user id following fields: following fields:
and password to
a)username a)username
enter the system
b)password b)password
4. Click on
queries
7. Add fertilizers,
update fertilizers,
7. Add fertilizers,
view fertilizers
update fertilizers,
8. click on will be displayed
view fertilizers
market details
8. Add markets,view will be displayed
markets,add
8. Add
commodities,view
markets,view
commodities will
markets,add
9. click on be displayed
commodities,vie
mails
9. Inbox,sent w commodities
mails,search will will be displayed
be displayed
9. Inbox,sent
OK
mails,search will
be displayed
56
admin user browser displayed with displayed with
should be able following fields: following fields:
to generate the
a)username a)username
given
functions. b)password b)password
2. Entering
2. Home page of the 2. Home page of the
the User ID
user will be displayed user will be
and Password
displayed
in login page
5. click on
soil 5. Add soil , update
5. Add soil , update
soil,state
soil,state
information,distric
information,district
t information will
information will be
be displayed
displayed
7. click on
fertilizers 7. Add fertilizers, 7. Add fertilizers,
update fertilizers, update fertilizers,
view fertilizers will view fertilizers
be displayed will be displayed
8.Conclusion
By this project, we provide various information required for farmers and agricultural students
and also providing solutions to them about queries posted by them. This makes agriculture more
ecofriendly and this portal is very useful to farmers and agricultural students.
58
9. Appendix A - Hardware and Software Configurations
HARDWARE REQUIREMENTS:
Processor : Pentium IV
Hard Disk : 40GB
RAM : 512MB or more
SOFTWARE REQUIREMENTS:
Loginprofile:
birthdate Date
City Varchar2(40)
State Varchar2(40)
Country Varchar2(40)
Profilemodification Date
email Varchar2(25)
qualification Varchar2(30)
60
designation Varchar2(30)
LoginDetails:
Password Varchar2(30)
Logintype Varchar2(20)
First_name Varchar2(40)
Last_name Varchar2(40)
Login_status number
Reg_date Date
sanswer Varchar2(40)
Passmodified Date
firstlogin number
Commodity:
cname Varchar2(35)
Fert_info:
Soil_id number
Nitrogen number
Phosphor number
61
Coffeecreamer number
Usefertacre number
Costfert number
Usefertyear number
Usefertstate number
Cvherb1 Varchar2(20)
Cropsname Varchar2(30)
Soil_name Varchar2(20)
Login_audit:
Logindate Date
Login_desc Varchar2(40)
Mails:
Messageid number
Fromname Varchar2(20)
Toname Varchar2(20)
senddate date
subject Varchar2(30)
message Varchar2(100)
Senderstatus Number
receiverstatus number
62
Market_details:
market Varchar2(30)
Market_report:
Arrivals number
Arrival_dt date
grade Varchar2(20)
Minprice number
Maxprice number
Modalprice number
Unitprice Varchar2(30)
Id number
Query:
63
Queryid number
Query Varchar2(150)
Postedby Varchar2(20)
Pstdate date
answer Varchar2(200)
Status Varchar2(10)
Question_base:
Question_description Varchar2(70)
Sb_crops:
Soil_name Varchar2(40)
Cropname Varchar2(20)
Season Varchar2(20)
cvherb Varchar2(20)
Soil_ident:
Soil_name Varchar2(40)
64
Soil_type:
Dist_name Varchar2(40)
State_info:
State Varchar2(40)
Wcondition Varchar2(200)
Traing_info:
Traing_id number
Description Varchar2(200)
Schedule Varchar2(20)
status Varchar2(20)
Training_request:
65
Name Constraint Datatype
Req_id number
Name Varchar2(20)
Role Varchar2(20)
Place Varchar2(20)
description Varchar2(20)
Reqschedule Varchar2(20)
Limitations:
66
It is open discussion forum so that everyone uploads unwanted and wrong information so that
it misleads the students and farmers.
Enhancements:
It is not possible to develop a system that makes all the requirements of the user. User
requirements keep changing as the system is being used. Some of the future enhancements that can
be done to this system are:
As the technology emerges, it is possible to upgrade the system and can be adaptable to
desired environment.
Because it is based on object-oriented design, any further changes can be easily adaptable.
Based on the future security issues, security can be improved using emerging technologies.
Case Registration module can be added
67
References:
(5) Answers.com, Online Dictionary, Encyclopedia and much more, URL: http://www.answers.com
68