Sei sulla pagina 1di 60

Green Kerala

MAR ATHANASIUS COLLEGE OF ENGINEERING


KOTHAMANGALAM

Department of Computer Applications


Project Report
GREEN KERALA

Done by
MUHAMED AJMAL P
600321

Under the guidance of


Mrs. Nisha Markose
2014-2017

Mar Athanasius College of Engineering, Kothamangalam Page 1


Green Kerala

MAR ATHANASIUS COLLEGE OF ENGINEERING


KOTHAMANGALAM

Department of Computer Applications

CERTIFICATE

Certified that this is a bonafide report of project work entitled

GREEN KERALA

Done by

MUHAMED AJMAL P

REG. NO: 600321

During the academic year 2013-2016, in partial fulfilment of the requirements for the
award of the degree,

Master of Computer Applications

Of

Mahatma Gandhi University, Kottayam


Faculty Guide Head of the Department

External examiner 1 External examiner 2

Mar Athanasius College of Engineering, Kothamangalam Page 2


Green Kerala

ACKNOWLEDGEMENT

First and foremost, I sincerely thank the ‘God Almighty’ for His grace for the
successful and timely completion of the project.

I express my sincere gratitude and thanks to Mr. Manu John, Head of the
Department, Computer Applications and Mr. Sibu Sakaria, our project coordinator
providing the facilities and for all the encouragement and support.

I owe special thanks to my guide Mrs. Nisha Markose for her corrections,
suggestions and sincere effort to co-ordinate the project even under an especially tight
time schedule.

I express my sincere thanks to staff members in the department of Computer


Applications who have taken sincere efforts in helping me to complete this project.

Finally, I would like to acknowledge the heartfelt efforts, comments,


criticisms, co-operation and tremendous support given to me by my dear friends
during the working of the project and also during the presentation without whose
support this work would have been all the more difficult to accomplish.

MUHAMED AJMAL P

Mar Athanasius College of Engineering, Kothamangalam Page 3


Green Kerala

CONTENTS

CONTENT PAGE NO

1. INTRODUCTION 6

2. ORGNIZATIONAL PROFILE 8

3. SYSTEM ENVIRONMENT

3.1 SOFTWARE ENVIRONMENT 10

3.2 HARDWARE ENVIRONMENT 15

4. SYSTEM ANALYSIS

4.1 EXISTING SYSTEM 17

4.2 PROPOSED SYSTEM 18

4.3 FEASIBILITY STUDY 19

4.4 MODULE DESCRIPTION 21

4.5 LIST OF ACTORS AND THEIR ROLES 22

4.6 USE CASE MODEL 23

4.7 INTERACTION MODEL 25

4.8 BUSINESS PROCESS MODEL 26

4.9 LIST OF IDENTIFIED CLASSES, ATTRIBUTES AND


THEIR RELATIONSHIPS 28

5. SYSTEM DESIGN
5.1 BUSSINES LAYER CLASS DIAGRAM 33

5.2 ACCESS LAYER CLASS DIAGRAM 35

5.3 VIEW LAYER CLASSES 40

6. TESTING AND IMPLEMENTATION


6.1 TESTING 47

6.2 TEST CASES 50

6.3 SYSTEM IMPLEMENTATION 52

Mar Athanasius College of Engineering, Kothamangalam Page 4


Green Kerala

7. CONCLUSION 54

8. SCOPE AND FUTURE ENHANCEMENTS 56

9. APPENDIX 58
10. REFERENCES 60

Mar Athanasius College of Engineering, Kothamangalam Page 5


Green Kerala

INTRODUCTION

Mar Athanasius College of Engineering, Kothamangalam Page 6


Green Kerala

1. INTRODUCTION
Nowadays, common people need to visit KrishiBhavan to know about the
currently available services like availability of crops, subsidies, loans etc. This is a time
consuming process and difficult process. Through this project, we are attempting to build an
application that allows common people to know about the details of services remotely from
any location using a Android Application.

GREEN KERALA is a unique and efficient application, which is used to receive


notifications from KrishiBhavan/other Service Providers related to their services. All the
features are based on communication with the server. Admin has complete control over the
application. Admin gives instructions to Officers, who are the in-charge of this web page in
each KrishiBhavan/other Service Providers. And further officer forwards the information to
Users via Notifications. Through this Android Application users make requests and post
complaints if they have. Our proposed Android Application GREEN KERALA gives the
opportunity to receive the notifications about the availability of products, it also provides
details about crops, provides news training related to agricultural sector. In order to do that, we
need a server page to manipulate all these activities.

Farmer can upload images and videos of the diseases and retrieve solutions
for the particular problem by audios, videos etc. Farmers get warehouses, land for farming,
supports from service providers as well as other interested users (only qualified users). Here
we have an inter- mediator who connecting service provider and farmer. All service providers
send notifications to inter-mediator. Inter mediator categories the notifications then send to
farmers farmer get whether predictions through this application.

Mar Athanasius College of Engineering, Kothamangalam Page 7


Green Kerala

ORGANIZATIONAL
PROFILE

Mar Athanasius College of Engineering, Kothamangalam Page 8


Green Kerala

2. ORGANIZATION PROFILE
THiNK Force, the Global Technology major, today, stands foremost as India's
largest provider of computer education and training. Our Corporate Philosophy of staying
one step ahead in providing the latest in IT technologies, and sustained quality in
academic delivery , and placement services, have been instrumental in our being a major
force in IT education in India.

THiNK Force stands proud as India's only focused Training Organization with-
ranging Training products and Brands spanning across the world's largest training
Network. THiNK Force a pioneering leader in the field of Computer Education derives
its strength from its well researched curriculum, excellent delivery methodology and its
ability to keep pace with changing technology. The IT industry is characterized by the
seep of change in the technology and the software versions.

This company provide more value compared to other companies. They provide
placement services and provide proper guidance to achieve in academics. I feel they
providing better environment for my project.

Mar Athanasius College of Engineering, Kothamangalam Page 9


Green Kerala

SYSTEM ENVIRONMENT

Mar Athanasius College of Engineering, Kothamangalam Page 10


Green Kerala

3. SYSTEM ENVIRONMENT

System environment specifies the hardware and software configuration of the new
system. Regardless of how the requirement phase proceeds, it ultimately ends with the
software requirement specification (SRS). A good SRS should establish the basis for
agreement between the users on what the software specified in the SRS will assist the
potential users to determine if the software specified meets their needs or how the
software must be modified to meet their needs.

3.1 SOFTWARE ENVIRONMENT

Operating System : Windows XP / Windows 7 / 8


Technologies used : java plaftorm Standarad Edition, Android
Front End : JSP
Back End : MySQL

Platform : Netbeans

Application Server : Apache Tomcat

3.1.1 JAVA

Java is a computer programming language that is concurrent, class-based,


object-oriented, and specifically designed to have as few implementation dependencies as
possible. It is intended to let application developers "write once, run anywhere" (WORA),
meaning that code that runs on one platform does not need to be recompiled to run on
another. Java applications are typically compiled to byte code that can run on any Java
virtual machine (JVM) regardless of computer architecture. Java is, as of 2014, one of the
most popular programming languages in use, particularly for client-server web
applications, with a reported 9 million developers. Java was originally developed by
James Gosling at Sun Microsystems (which has since merged into Oracle Corporation)
and released in 1995 as a core component of Sun Microsystems' Java platform. The
language derives much of its syntax from C andC++, but it has fewer low-level facilities
than either of them.

Mar Athanasius College of Engineering, Kothamangalam Page 11


Green Kerala

3.1.2 JSP

Java Server Pages (JSP) is a server-side programming technology that enables the
creation of dynamic, platform-independent method for building Web-based applications.
JSP have access to the entire family of Java APIs, including the JDBC API to access
enterprise databases. Architecturally, JSP may be viewed as a high-level abstraction of
Java servlets. JSPs are translated into servlets at runtime; each JSP servlet is cached and
re-used until the original JSP is modified. JSP can be used independently or as the view
component of a server-side model–view–controller design, normally with JavaBeans as
the model and Java servlets (or a framework such as Apache Struts) as the controller. This
is a type of Model 2 architecture. JSP allows Java code and certain pre-defined actions to
be interleaved with static web markup content, such as HTML, with the resulting page
being compiled and executed on the server to deliver a document. The compiled pages, as
well as any dependent Java libraries, contain Java bytecode rather than machine code.
Like any other Java program, they must be executed within a Java virtual machine (JVM)
that interacts with the server's host operating system to provide an abstract, platform-
neutral environment. JSPs are usually used to deliver HTML and XML documents, but
through the use of Output Stream, they can deliver other types of data as well. The Web
container creates JSP implicit objects like page Context, servletContext, session, request
&response.JSP pages use several delimiters for scripting functions. The most basic is <%
... %>, which encloses a JSP script let. A scriptlet is a fragment of Java code that is run
when the user requests the page. Other common delimiters include <%= ... %> for
expressions, where the scriptlet and delimiters are replaced with the result of evaluating
the expression, and directives, denoted with <%@ ... %>.

Java code is not required to be complete or self-contained within a single scriptlet


block. It can straddle markup content, provided that the page as a whole is syntactically
correct. For example, any Java if/for/while blocks opened in one scriptlet must be
correctly closed in a later scriptlet for the page to successfully compile. Content which
falls inside a split block of Java code (spanning multiple scriptlets) is subject to that code.
Content inside an if block will only appear in the output when the if condition evaluates to
true. Likewise, content inside a loop construct may appear multiple times in the output,
depending upon how many times the loop body runs.
Mar Athanasius College of Engineering, Kothamangalam Page 12
Green Kerala

3.1.3 MySQL

MySQL is the world's most widely used open-source relational database


management system (RDBMS) that runs as a server providing multi-user access to a
number of databases, though SQLite probably has more total embedded deployments.
The MySQL development project has made its source code available under the terms of
the GNU General Public License, as well as under a variety of proprietary agreements.
MySQL is a popular choice of database for use in web applications, and is a central
component of the widely used LAMP open source web application software stack (and
other 'AMP' stacks). LAMP is an acronym for "Linux, Apache, MySQL,
Perl/PHP/Python." Free-software-open source projects that require a full-featured
database management system often use MySQL.

MySQL is a relational database management system (RDBMS), and ships with no


GUI tools to administer MySQL databases or manage data contained within the
databases. Users may use the included command line tools, or use MySQL "front-ends",
desktop software and web applications that create and manage MySQL databases, build
database structures, back up data, inspect status, and work with data records. The official
set of MySQL front-end tools, MySQL Workbench is actively developed by Oracle, and
is freely available for use.

3.1.4 NETBEANS

NetBeans is an integrated development environment (IDE) for developing primarily


with Java, but also with other languages, in particular PHP, C/C++, and HTML5. It is
also an application platform framework for Java desktop applications and
others.TheNetBeans IDE is written in Java and can run on Windows, OS X, Linux,
Solaris and other platforms supporting a compatible JVM.TheNetBeans Platform allows
applications to be developed from a set of modular software components called modules.
Applications based on the NetBeans Platform (including the NetBeans IDE itself) can be

Mar Athanasius College of Engineering, Kothamangalam Page 13


Green Kerala

extended by third party developers.Framework for simplifying the development of Java


Swing desktop applications. The NetBeans IDE bundle for Java SE contains what is
needed to start developing NetBeans plug-in and NetBeans Platform based applications;
no additional SDK is required.

Applications can install modules dynamically. Any application can include the
Update Center module to allow users of the application to download digitally signed
upgrades and new features directly into the running application. Reinstalling an upgrade
or a new release does not force users to download the entire application again. The
platform offers reusable services common to desktop applications, allowing developers to
focus on the logic specific to their application. Among the features of the platform are:
 User interface management (e.g. menus and toolbars)
 User settings management
 Storage management (saving and loading any kind of data)
 Window management
 Wizard framework (supports step-by-step dialogs)
 NetBeans Visual Library
 Integrated development tools
3.1.5 TOMCAT
Apache Tomcat, often referred to as Tomcat, is an open-source web server developed
by the Apache Software Foundation (ASF). Tomcat implements several Java EE
specifications including Java Servlet, JavaServer Pages (JSP), Java EL, and WebSocket,
and provides a "pure Java" HTTP web server environment in which Java code can
run.Tomcat is developed and maintained by an open community of developers under the
auspices of the Apache Software Foundation, released under the Apache License 2.0
license, and is open-source software. Tomcat 4.x was released with Catalina (a servlet
container), Coyote (an HTTP connector) and Jasper (a JSP engine).

Mar Athanasius College of Engineering, Kothamangalam Page 14


Green Kerala

3.1.6 ANDROID
Android is a software package and Linux based operating system for mobile devices
such as tablet computers and Smartphone’s. It is developed by Google and later the OHA
(Open Handset Alliance). Java language is mainly used to write the android code even
though other languages can be used.

3.2 HARDWARE ENVIRONMENT



Processor : Intel Pentium Dual Core / above

RAM : 2GB RAM / above

Hard Disk Space : 80 GB / above

Keyboard : Windows compatible

Mouse : Windows compatible


Monitor : SVGA Monitor

Mar Athanasius College of Engineering, Kothamangalam Page 15


Green Kerala

SYSTEM ANALYSIS

Mar Athanasius College of Engineering, Kothamangalam Page 16


Green Kerala

4. SYSTEM ANALYSIS

System analysis is the process of gathering and interpreting facts, diagnosing


problems and using the facts to improve the system. System analysis specifies what
system should do. A system is a set of components that interact to accomplish some
purpose like

 Identifying the drawback of the existing system.


 Identify the need of the new system.
 Perform the feasibility study.
 Identify the hardware, software and database requirements.
 Create a system definition that forms the foundation for subsequent work.

4.1 EXISTING SYSTEM


In today’s scenario farmers are unaware of diseases of leaf so many of them are not
involving in cultivation due to this reason. Farmers are unaware of availability of seeds,
fertilizers, land for cultivation & farming solution for the disease and warehouses for
storage of products etc. And all activities happens like manually. They needs to go
particular officers and enquiry about the current system.

Advantages

 Detail oriented information


 Providing plants and fertilizers
 Conducting awareness classes

Disadvantages

 Not user friendly


 Lot of manual works
 Lack of proper guidance to farmers

Mar Athanasius College of Engineering, Kothamangalam Page 17


Green Kerala

4.2 PROPOSED SYSTEM


By our System, farmers are aware of modern cultivation, availability of seeds
availability of seeds, fertilizers, land for cultivation & farming solution for the disease
and warehouses for storage of products.
If crops are affected by diseases, they can enquire about it, Some farmers will not
be having knowledge of cultivation. so by this system; farmer can upload images of leaf
to the officer and officer sends voice message to farmer. They can rent the land for
cultivation and farming also providing warehouses.

Advantages

 Lease the land for deserve people.


 User friendly.
 Farmers get detail up to date.
 Providing development of agriculture.
 Promoting farmers.

Disadvantages

 Lack of technical skill for farmers.


 Requirement of internet

Mar Athanasius College of Engineering, Kothamangalam Page 18


Green Kerala

4.3 FEASIBILITY STUDY


A feasibility study aims to objectively and rationally uncover the strengths and
weaknesses of KrishiBhavan, opportunities and threats present in the environment,
the resources required to carry through, and ultimately the prospects for success. A
feasibility study evaluates the project's potential for success; therefore, perceived
objectivity is an important factor in the credibility of the study for potential investors and
lending institutions. It must therefore be conducted with an objective, unbiased approach
to provide information upon which decisions can be based. In this project, feasibility
study is performed to check whether it is Technical, Economic and Operational feasible
or not.

4.3.1 TECHNICAL FEASIBILITY

In this project the whole process are executed using mobile phones and computer.
Currently in Kerala most of the peoples uses mobile phones, So android application is the
best way to reach people. And all government offices like revenue and agricultural were
computerized and provided with internet. Technical feasibility centers on the existing
computer system i.e. Hardware, Software etc. Green Kerala requires SQL database
management that are all easily available with extensive development support. The web
application developing by Java because it is more security compare to other language.

I. This application mainly used for farmers.

II. Functionally easy to handle.

III. It provides more accuracy, reliability and data security.

IV. It is capable of providing adequate response and regardless of the no of users.

Hence, we can say that the proposed system is technically feasible.

Mar Athanasius College of Engineering, Kothamangalam Page 19


Green Kerala

4.3.2 ECONOMIC FEASIBILITY

Economical Feasibility is the most frequently used method for evaluating the
effectiveness of a candidate system. The development cost of the application is optimum.

I. The cost of hardware and software is affordable.


II. Maintenance is easy and cheap.
III. Increase Green revolution in Kerala.
Hence, the proposed system is economically feasible.

4.3.3 OPERATIONAL FEASIBILITY

Operational feasibility is the measure of how Green Kerala solves the problems, and
takes advantage of the opportunities. It also analyzes how the project plan satisfies
the requirements identified in the requirements analysis phase of system
development.

I. The application will improve the total performance.


II. Farmers here are the most important part of the system and the propo sed
system will provide them with a convenient mode of operation for them.
III. Available to the farmers throughout the Kerala
Hence, the proposed system is operationally feasible.

Mar Athanasius College of Engineering, Kothamangalam Page 20


Green Kerala

4.4 MODULE DESCRIPTION

REGISTER

Registration need for farmer, land owners, service providers (Agriculture officer, Revenue
officer). They are registering by their particular information and strategies. Such like details,
certificates, location information, etc.

LEASE LAND

Farmer searching for lease land and request the land. The landowners providing suitable land
for framers and revenue officer checking the land details. Agriculture officer checking land
condition and access to grant for suitable farmers. Farmer request to landowners to lease land.

REPORTING DISEAES

Framer can upload audio/video of crops when natural disaster happens. Agriculture officer
responding the audio/video and providing proper solution for this. They give good guidelines
the farmers to produce make better green revolution.

PRODUCTION

At the time of harvest farmers have plenty of seeds storage. They sell their product to other
farmers. This is very effective farmers to get good product.

AGRICULTURE PACKAGES

Agriculture department provide fertilizer, plants, pesticides, agriculture tools etc. they giving
proper weather prediction, season prediction to farmers for making better harvest.

DATABASE MAINTAINANCE

Admin maintains the data in a database such as

 Data provided by the farmers such as personal details, product details.


 Data provided by the landowners personal details, certificates.

Mar Athanasius College of Engineering, Kothamangalam Page 21


Green Kerala

4.5 LIST OF ACTORS AND THEIR ROLES

Admin: He have the overall control in the system.

Revenue Officer: He will check all details about land for lease.

Agriculture Officer: He will check details about land, crops, soil and water
facilities. They will provide land for deserve farmers.

Land Owners: They provide land for lease.

Mar Athanasius College of Engineering, Kothamangalam Page 22


Green Kerala

4.6 USECASE MODEL

4.6.1 BUSINESS RULES

 Basic requirement of the hardware should satisfy.


 Admin approves all service providers.
 Service provider approves landowner and farmer.

4.6.2 USE CASES


Registration
 Service providers, landowner and farmer register approve by admin.

Add Land
 Landowner can add land and approved by Revenue officer.

Land Information
 Agriculture officer provide a brief report about land given by landowner. Farmer can
search and request land.

Permit Land
 Agriculture officer providing land for appropriate farmer.

Information about agriculture tools


 Agriculture officer providing information about any kind of allowance available in
krishibhvan.

Mar Athanasius College of Engineering, Kothamangalam Page 23


Green Kerala

4.6.3 USE CASE DIAGRAM

uses
Registeration
Approval

Add Land

Admin Extends
Landowner

Approve land

Soil test
Revenue officer

Extends

Land Information

Search Land
Farmer
Agriculture
officer

Request Land

Permit Land

Information about
agriculture tools

Mar Athanasius College of Engineering, Kothamangalam Page 24


Green Kerala

4.7 INTERACTION MODEL

4.7.1 SEQUENCE DIAGRAM

Landowner adding land

Landowner Revenue officer Agriculture officer

Sending land information Checking

Land Approved
checking land
Request to test land Information

Sending land report

Land permission for farmers

Farmer Agriculture officer Landowner


Search land

Give land information


checking farmer
Request to permit land details

Request to permit
Approve permit land
Permit land successfull

Mar Athanasius College of Engineering, Kothamangalam Page 25


Green Kerala

4.8 BUSINESS PROCESS MODEL

Business process model is used to model the entire business process. In a business
process model states are activities representing the performance of operation and the
transitions are triggered by the completion of the operations. Purpose of this model is to
provide a view of flows and what is going on inside a use case or among several classes. It
can also be used to represent class’s method implementation.

4.8.1 INTERACTION OF PROCESSES

There are two application is developed. Web application for Admin and service
provider. This provide the facilities to registration and manage all activities. Second
application is Android application for farmers and landowners.

Mar Athanasius College of Engineering, Kothamangalam Page 26


Green Kerala

4.8.2 ACTIVITY DIAGRAM

Farmer leasing a land

Mar Athanasius College of Engineering, Kothamangalam Page 27


Green Kerala

4.9 LIST OF IDENTIFIED CLASSES, ATTRIBUTES AND THEIR


RELATIONSHIPS

Classes are an important mechanism for classifying objects. The primary role a class
is to define the attributes, methods and applicability of its instances.

4.9.1 IDENTIFIED CLASSES

 Registration
 Admin
 Farmer
 Landowner
 Agriculture officer
 Revenue officer
 Product
 Land

Mar Athanasius College of Engineering, Kothamangalam Page 28


Green Kerala

4.9.2 IDENTIFIED ATTRIBUTES

Registration
Name
Gender
Address
Phone
Email
Username
password

Register()
Update()
Delete()

Admin
Username
Password

Add officer()
Delete Officer()
View()
Update()
Approval()

Mar Athanasius College of Engineering, Kothamangalam Page 29


Green Kerala

Farmer
Farmer Id
Username
Password

Search Land()
Request land()
Request new product()

Landowner
Landowner Id
Username
Password

Response Lease()

Agriculture Officer
Username
Password

Registration()
Request add product()
Lease land()
View status()
Permit land()

Mar Athanasius College of Engineering, Kothamangalam Page 30


Green Kerala

Revenue Officer
Username
Password

Registration()
Approve land()
View status()
Update status()

Product
Product id
Category
Price
Quantity
Unit

Add product()
Update()
Delete()
Set price

Land
Land id
Landowner id
category
certificate

Add ()
Update()
Delete()

Mar Athanasius College of Engineering, Kothamangalam Page 31


Green Kerala

4.9.3 IDENTIFIED RELATIONSHIP

Class Related class Association name Cardinality

Admin Registration Approves 1-*

Farmer/ Registration Uses *-1


Landowner

Agriculture officer Registration uses 1-1


/Revenue officer

Farmer Product add 1-*

Agriculture officer Product Approves 1-*

Landowner Land add 1-*

Revenue officer Land Approves 1-*

Mar Athanasius College of Engineering, Kothamangalam Page 32


Green Kerala

SYSTEM DESIGN

Mar Athanasius College of Engineering, Kothamangalam Page 33


Green Kerala

5.SYSTEM DESIGN

5.1 BUSINESS LAYER CLASS DIAGRAM

Mar Athanasius College of Engineering, Kothamangalam Page 34


Green Kerala

5.2 ACCESS LAYER CLASS DIAGRAM

For every class that identified in business layer classes there should be a mirror class
in access layer. There is exact mapping in between business layer classes and access layer
classes. Corresponding to each implementation class, the following tables are used for data
storage and retrieval. When input is provided on each form the data is stored into these
tables. Similarly when data is to be retrieved and populated in the front end, it is done from
the corresponding tables. The following are the identified access layer classes and their
attributes.

Login_info
Description: For login

Attribute Data type Constraints Description


Login_Id Int(11) Primary Key Login_Id

Username Varchar(50) Username


Password Varchar(50) Password
Roles Varchar(50) Roles

Farmer_info

Description: For Storing Farmer details

Attribute Datatype Constraints Description


Farmer_Id Int(11) Primary Key Farmer_Id

Name Varchar(50) Name

Address Varchar(50) Address

Phone Int(11) Phone

Email Varchar(50) Email

User_id Int(11) User_id

Mar Athanasius College of Engineering, Kothamangalam Page 35


Green Kerala

Land_info
Description: For Land details

Attribute Data Type Constraints Description


Land_id Int(11) Primary key Land_id
Certificate Varchar(50) Certificate
Exp_date Date Expiry date
Hectre Varchar(50) Hectre
Location Varchar(50) Location
Place Varchar(50) Place

Soil_type Varchar(50) Soil_type


Status Varchar(50) Status

Land_ Request_info

Description: For Land Request details

Attribute Data Type Constraints Description

Land request_Id Int(11) Primary key Land Request Id

Cultivation varchar(50) Cultivation

Status varchar(50) Status

Farmer_id Int(11) Foreign key Farmer id

Land_id Int(11) Foreign key Land id

Mar Athanasius College of Engineering, Kothamangalam Page 36


Green Kerala

Land Owners_info

Description: For Land Owners details

Attribute Datatype Constraints Description

Landowners_id Int(11) Primary key Landowners_id

Address Int(11) Address

Email varchar(50) Email

Name varchar(50) Name

Phone varchar(50) Phone

User_id Int(11) Foreign Key User_id

Disease_info

Description: For Disease details

Attribute Data type Constraints Description

disease_id Int(11) Primary Key disease_id


Audio Varchar(250) Audio
Descr Varchar(50) Description
Farm_type Varchar(50) Farm_type
Name Varchar(50) Name

Photo Varchar(50) Photo

Reply Varchar(50) Reply

Status Varchar(50) Status

Video Varchar(250) Video

Farmer_id Int(11) Foreign Key Farmer_id

Mar Athanasius College of Engineering, Kothamangalam Page 37


Green Kerala

Product_notif_info

Description: For Product details

Attribute Datatype Constraints Description

Product Int(11) Primary Key Product notification id


notification id
Status varchar(50) Status

Type of product varchar(50) Type of product

Farmer_id varchar(50) Foreign Key Farmer_id

Product_info

Description: For Product details

Attribute Datatype Constraints Description

Product_id Int(11) Primary Key Product_id

Date_til Date Date_til

Descr varchar(50) Description

File varchar(50) File

Name varchar(50) Name

Price varchar(MAX) Price

Qty varchar(50) Quantity

season varchar(50) season

Farmer_id varchar(50) Foreign key Farmer_id

Mar Athanasius College of Engineering, Kothamangalam Page 38


Green Kerala

Service_provider_info

Description: For Service Provider details

Attribute Data type Constraints Description

Service provider id Int(11) Primary Key Service provider id


Descr varchar(50) Description
Email varchar(50) Email
Name varchar(50) Name

Photo varchar(50) Photo

User_id Int(11) Foreign Key User_id

Service_ provider_notification

Description: For Service Provider Notification details

Attribute Data type Constraints Description

Service_provider Int(11) Primary Key Service provider


notif notification id
Cost varchar(50) Cost
Dt Date Date
Product-type varchar(50) Product-type

Qty Int(11) Qty

Status varchar(50) Status

Service provider id varchar(50) Foregn key Service provider id

Mar Athanasius College of Engineering, Kothamangalam Page 39


Green Kerala

5.3 VIEW LAYER CLASSES


We need to design software, which provides the users with the flexibility of using
the software. The user interface should be easy to use and understand. The view layer class
diagram shows the various forms that are used in the project. Each form is taken and its
components are identified as attributes and event handlers as methods.

FORMS

Home page

Mar Athanasius College of Engineering, Kothamangalam Page 40


Green Kerala

UserHome

Login

Mar Athanasius College of Engineering, Kothamangalam Page 41


Green Kerala

Registration

Land Verification

Mar Athanasius College of Engineering, Kothamangalam Page 42


Green Kerala

Services

Home page in Android

Mar Athanasius College of Engineering, Kothamangalam Page 43


Green Kerala

Login

Registration

Mar Athanasius College of Engineering, Kothamangalam Page 44


Green Kerala

Add land

Disease information

Mar Athanasius College of Engineering, Kothamangalam Page 45


Green Kerala

Add Product

Mar Athanasius College of Engineering, Kothamangalam Page 46


Green Kerala

6. TESTING & IMPLEMENTATION

6.1 TESTING

Testing is a critical element of the development cycle of this embedded system. The
testing is essential for ensuring the Quality of the system developed and represents the
ultimate view of specification and design. Testing is defined as the process by which one
detects the defects in the system. Testing is a set activity that can be planned and conducted
systematically. Testing begins at the module level and work towards the integration of entire
computer based system.

A good test case is one that has a high probability of finding an as-yet undiscovered
error. A successful test is one such uncovers or finds such errors. If testing is conducted
successfully, it will uncover errors in the system. It also demonstrates that developed
embedded system functions are being performed according to specifications and also
behavioural and performance requirements are satisfied. For this, test plans have to be
prepared. Software securities are made to run the developed system successfully.

The testing process can be divided into three phases:

 Unit Testing
 Integration testing
 Final/System Testing

6.1.1 UNIT TESTING

This testing strategy considers the concept of unit changes. The focus is on the
working of each module and the data flow across the module interface. Each module in the
system is considered as separate unit. The output generated by each module in response to
different conditions is studied separately.

Unit testing focuses verification effort on the smallest unit designs the module. To
check whether each module in the system works properly so that it gives desired outputs to
the given inputs or conditions. All validations and conditions are tested in the module level in
the unit test. Control paths are tested to ensure the information properly flows into, and out
of the unit and out of the unit under test. Boundary condition is tested to ensure that the

Mar Athanasius College of Engineering, Kothamangalam Page 47


Green Kerala

modules operate at boundary. All independent cases ensure that all statements or conditions
in a module have been executed at least once.

6.1.2. INTEGRATION TESTING

Integration testing is used to develop an incremental strategy that will limit the
complexity of interactions among components as they are added to the AILSE System,
developing an integration system schedule that will make the modules available when needed. In
this test, groups of the program modules are tested together to determine they interface properly.
Two types of integration testing are:

 Top down integration: This method is an incremental approach to the


construction of the program structure. Modules are integrated by moving
downwards through the control hierarchy, beginning with the main program
module. The module subordinates to the main program module are incorporated
into the structure incorporated into the structure in either the depth first or breathe
first manner.
 Bottom-up Integration: This method begins the construction and testing the
modules at the lowest level in the program structure. Since the modules from the
bottom up, processing requires for modules subordinate to a given level is always
available and the need for the stubs is eliminated.

6.1.3 SYSTEM TESTING

After performing the integration testing, the system testing was performed. System
testing means testing all different parts of the system together and sees how it will react under
certain circumstances. Here the entire system is tested and the goal is to see if the system
meets its requirements. System testing is the testing conducted on a complete, integrated
system to evaluate the system compliance with is specified requirements. System testing falls
within scope of Black box testing, and as such, should require no knowledge of the inner
design of the code, logic or working.

The main objectives of system testing are

 To ensure during operation the system will perform as per specification.


 To make sure that the system meets user’s requirements during operation.
 To verify that the controls incorporated in the system function as intended.

Mar Athanasius College of Engineering, Kothamangalam Page 48


Green Kerala

 To see that when correct inputs or conditions are fed to the system the outputs
are correct.
 To make sure that during operation, incorrect input will be ignored.

6.1.4 OUTPUT TESTING

Output testing is so important since no system could be useful if it does not provide
the required output in the format it should be in.

6.1.5. BLACK BOX TESTING

The testing method focuses on the functional requirements of the system. It attempts
to find out the error of the following categories such as incorrect and missing process,
interface error, error in output, performance error and initialization and termination errors.

6.1.6 WHITE BOX TESTING

The testing method is also called path testing. It is a test case design method that uses
the control structure of the procedural design to drive test case. In this system unit testing has
been successfully handled. The test inputs was given to each and every module in all respects
and got the desired output. Each module has been tested found working properly.

Mar Athanasius College of Engineering, Kothamangalam Page 49


Green Kerala

6.2 TEST CASES

Testing is based on test cases. It describes which feature or service test attempts to
cover. In test cases specify what you are testing and which particular feature it tests.

 Test the normal use of the system.


 Test the abnormal but, reasonable use of the system.
 Test the abnormal and unreasonable use of the system
 Test the boundary conditions.

Expected Actual Statu


Type Procedure
Result Result s

1. Enter valid user name and password. Admin Home Pass

Admin 2. Click on login button. home page page


should be displayed.
Login
displayed

1. Admin Login. Page for New Pass


Add 2. Click on accept button. adding new Agricultur
Krishibhava krishibhava e officer
n n added.
displayed.

1. Admin Login. Page for New Pass


2. Click on accept button. adding new revenue
Revenue added.
Add
displayed.
Revenue

Mar Athanasius College of Engineering, Kothamangalam Page 50


Green Kerala

1. Krishibhavan Login Page for New


adding new farmer
Add farmer 2. Add farmer Details farmer added. Pass
3. Click on accept button displayed.

1. Revenue officer Login Page for New


Add adding new Landowne
2. Add Landowner Details landowner r added Pass
Landowner
3. Click on accept button displayed.

1. Landowner login Page for New land Pass


adding new added
Add Land 2. Add land details land
3. Update Land details displayed

1. Farmer Login Page for New Pass


Add adding new product
2. Add product details product added
Product
displayed

1. Farmer Login Page for Image, pass


Add disease uploading audio/vide
2. Upload Image, Audio/video image, o
information
of crop diseases audio/video Uploaded
displayed

Mar Athanasius College of Engineering, Kothamangalam Page 51


Green Kerala

Products Product pass


View 1. Click on view details details
products product option should be displayed
displayed

6.3 SYSTEM IMPLEMENTATION

After testing, the system is ready for the implementation. Implementation is the stage
of the project when the theoretical design is turned in to a working system. Implementation is
the process of bringing a newly developed system or revised into operational one. The new
system and its components are to be tested in a structured and planned manner. The
implementation stage of a project is often very complex and time consuming and many more
people are involved in the earlier stages. This involves careful planning, investigation of the
current system and constraints of implementation, installing hardware, training the operating
users in the changeover procedures before the system is setup and running.

Implementation involves the conversion of the basic application into a complete


replacement with a system. It is the process of converting a new system design into an
operational one. Implementation process is simply a translation of the design into a physical
realization, using the language of the target architecture. The proposed system may be totally
new, replacing an existing system or it major modification of the existing system. In either
case, proper implementation is essential to provide a reliable system to meet the user
requirements. It includes careful planning, investigation of current system and its constraints
on implementation, design of methods to achieve the changeover, training of the staff in the
changeover procedure and evaluation of changeover method. Once the planning has been
completed, the major effort is to ensure that the programs in the system are working properly.
At the same time concentrate on training the users such as canteen staff or office staff etc.
When the staffs have been trained, the complete system, involving both computer and user
can be executed effectively.

Mar Athanasius College of Engineering, Kothamangalam Page 52


Green Kerala

CONCLUSION

Mar Athanasius College of Engineering, Kothamangalam Page 53


Green Kerala

7.CONCLUSION

GREEN KERALA is a unique and efficient application, which is used to


receive notifications from KrishiBhavan/other Service Providers related to their services.
All the features are based on communication with the server. Admin has complete control
over the application. Admin gives instructions to Officers, who are the in-charge of this
web page in each KrishiBhavan/other Service Providers. And further officer forwards the
information to Users via Notifications. Through this Android Application users make
requests and post complaints if they have. Our proposed Android Application GREEN
KERALA gives the opportunity to receive the notifications about the availability of
products, it also provides details about crops, provides news training related to agricultural
sector. In order to do that, we need a server page to manipulate all these activities.

Mar Athanasius College of Engineering, Kothamangalam Page 54


Green Kerala

SCOPE AND FUTURE


ENHANCEMENT

Mar Athanasius College of Engineering, Kothamangalam Page 55


Green Kerala

8. SCOPE AND FUTURE ENHANCEMENT

 The system can be enhanced all India level.


 The system can be easily integrated many other government site.
 Image processing.
 The manual process like document delivery can be automated in this system,

Mar Athanasius College of Engineering, Kothamangalam Page 56


Green Kerala

APPENDIX

Mar Athanasius College of Engineering, Kothamangalam Page 57


Green Kerala

9. APPENDIX

9.1 MINIMUM HARDWARE AND SOFTWARE REQUIREMENT

9.1.1 PC HARDWARE REQUIREMENT

Processor : Intel Pentium Dual Core / above

RAM : 2GB RAM / above

Hard Disk Space : 80 GB / above

Keyboard : Windows compatible

Mouse : Windows compatible


Monitor : SVGA Monitor

9.2. SOFTWARE REQUIREMENT

Operating System
OS: Windows XP / Windows 7 / 8

Software Requirements
Front end: JSP

Back end: MySQL

Mar Athanasius College of Engineering, Kothamangalam Page 58


Green Kerala

REFERENCES

Mar Athanasius College of Engineering, Kothamangalam Page 59


Green Kerala

10. REFERENCES
BOOKS

1. Introduction to Programming Using Java, David J. Eck, Createspace (2009), 6th


Edition
2. Java: The Complete Reference, Herbert Schildt, Tata McGraw - Hill Education
(2006), 7th edition
3. Learning MySQ L SeyedTahaghoghi and Hugh Williams, O'Reilly Media (2006),
MySQL and Java Developer’s Guide, Mark Matthews and Joseph D. Gradecki, John
Wiley and Sons (2003), 1st edition

WEB

1. en.wikipedia.org/wiki/Java_(programming language)
2. www.stackoverflow.com/questions/tagged/android
3. Java(programminglanguage),en.wikipedia.org/wiki/Java_(programming_language)

Mar Athanasius College of Engineering, Kothamangalam Page 60

Potrebbero piacerti anche