wildlife new
TRANSCRIPT
-
8/3/2019 Wildlife New
1/45
Olyampians
Page 1
Team Name : Olympians
College Name : Swami Keshvanand Institute of Technology, Management & Gramothan, Jaipur
Team Guide : Dr. Anil Chaudhary
Team members : 1. Pushpendra Agarwal(cs b)
2. Tarun kumar Sharma(cs b)3. Ashansa Sanyal(cs a)
4. Lokraj Ahuja(it a)
-
8/3/2019 Wildlife New
2/45
Olyampians
Page 2
Table of Contents
1. Introduction 4
1.1 Purpose 4
1.2 Scope 4
1.3 Abbreviations 5
1.4 References 6
1.5 Technologies 6
2. Overall Description 6
2.1 Product Perspective 6
2.2 Software Interface 7
2.3 Hardware Interface 8
2.4 Communication Interface 8
2.5 Product Functionalities 8
2.6 User Characteristics 9
2.7 Constraints 9
2.8 Use-Case Model Sur vey 10
2.9 Architecture diagram 13
2.10 Database design 13
. agrams
2.12 Schema Diagrams 16
2.13 Class Diagrams 18
2.14 Assumptions and Dependencies 21
-
8/3/2019 Wildlife New
3/45
Olyampians
Page 3
3. Specific Requirements 21
3.1 Use-Case Reports 21
3.2 Supplementary Requirements 47
4. Concerns / Queries / Doubts if any 47
-
8/3/2019 Wildlife New
4/45
Olyampians
Page 4
Software RequirementsSpecification
1. Introduction
1.1PurposeAn amusing website for promoting awareness and conservation of Indias wildlife. Apart fromarousing the alertness it will posses detailed information on various rare Indian animals alongwith coverage of all species of animals that roam in the woods of INDIA. With this, it will act as aplatform for wildlife conservationists and ecologists to share their knowledge and recent trendsin this field. It will incubate research and participation on subjects like animal communications,habitats, wildlife health issues, effects of global warming and various disasters.
1.2Scope
Basicfeatures:
To monitor statistics related to endangered species, jeopardized habitats, unbalanced ecosystemsand unfavorable climatic changes
Group the users together in a single account according to some criteria.
Authenticate all user of the system.
Track all the users and their contact details.
Online technical Support Query Form
Graphical report on fund and other det ails generated in easily downloadable format.
Online technical Support Query Form
All activities performed by the system users will be maintained in the form of logs for auditing
and maintain the integrity of the system.
JAVA based client for Super User.
Maintain a centralized database to provide security to information which can be accessedonly by the admin.
Customizable Profile feature with predefined skins to choose from
To facilitate members to form groups to organize local meetings, wildlife forums Wildlife
periodicals and camps.
-
8/3/2019 Wildlife New
5/45
Olyampians
Page 5
To provide a space for registered users to post interesting photos, videos and presentationson Indian Wildlife.
Secure registration and profile management facilities for registered members and,
government and non government agencies.
Additionalfeatures:
Easily changeable Database Location in between servers.
Secure Socket Layer (SSL) connectivity to ensure security.
Optimized AJAX usage for better user interaction.
Online search and request of Accessories
Usage of Jquery for Pluggable look and feel.
One time static creation of prisoner details.
Password modification is made easy using JDBC connectivity.
-
8/3/2019 Wildlife New
6/45
Techno Vision
My City Without Crime Page 6
1.3Definitions ,AcronymsandAbbreviations
userdetails:Details of users such as name, id, date of birth, address, fathers name, digital
photo and finger pri nts , address details etc.
Anonymous User Details:Details of user associated with the Wild life .
SiteAdministration:Admin for website to Manage All logs Database and Users.
Registered User Details:- Registered members of Indian wild Life portal .
Governmentandprivateorganizations, Wildlifeconservationist Details:-platform for
wildlife conservationists and ecologists to share their knowledge and recent trends in this
field. It will incubate research and participation on subjects like animal communications,habitats, wildlife health issues, effects of global warming and various disaster.
HTML:Hypertext Markup Language is a markup l anguage used to design static web pages.
EJB:Enterprise Java Beans.
JSP:Java Server Pages.
JAVASCRIPT:scripting language used for client si de web development.
JQUERY:lightweight JavaScript library that emphasizes interaction between JavaScript and
HTML.
AJAX:Asynchronous java script and XML.-used to change page content without reload
J2EE:Java 2 EnterpriseEdition is a programming pl atform part of the Java Platformfor
developing and running distributed multitier architecture Java applications, based largely on
modular software components runni ng on an application server.
DB2: DB2 Database is the database management system t hat delivers a flexible and cost-
effective database platform to build robust on demand business applications.
WAS:Web sphere application server is an application server that runs busi ness
applications and supports the J2EE and web services standards.
RAD:Rational application developer is a toolkit which is desi gned for the creation of more
complex projects, providing fully dynamic web application utilizingEJBs . This consist ofEJB
tools , CMP ,data mapping tools & a universal test client that is designed to ai d testing ofEJBs.
HTTP: Hypertext Transfer Protocol is a transaction oriented client/server protocol
between web browser & a Web Server.
-
8/3/2019 Wildlife New
7/45
Techno Vision
My City Without Crime Page 7
HTTPS:SecureHypertext Transfer Protocol is a HTTP over SSL (secure socket layer).
BIRT REPORTINGThe Business Intelligenceand ReportingTools (BIRT)Projectisan open source software project that provides reporting andbusiness intelligence capabilities
for rich client and web applications , especially those based on Java and JavaEE.
TCP/IP: Transmission Control Protocol/Internet Protocol, the suite of communication
protocols used to connect hosts on the Internet. TCP/IP uses several protocols, the two
main ones being TCP and IP.
1.4 Technologiestobeused
y Applicationarchitecture JAVA, J2EE:Java is an object-oriented programming language
developed by Sun Microsystems a compa- ny best known for its high end UNIX
workstations. Java language was designed to be small, simple, and portable across
platforms, operating systems, both at the source and at the binary level, which means that
Java programs (applet and application) can run on any machine that has the Java virtual
machine (JVM) installed. J2EE,Java Platform, Enterprise Edition or Java EE is a widely used
platform for server program- ming in the Java programming language. The Java platform
(EnterpriseEdition) differs from the Java Standard Edition Platform (Java SE) in that it adds
libraries which provide functionality to deploy fault-tolerant, distributed, multi-tier Java
software, based largely on modular components running on an application server.
y Webserver WASCE:WebSphere Application Server Community Edition (from now on
WASCE) is a free, certified Java EE 5 server for building and managing Java applications. It isIBM's supported distribution of Apache Geronimo that uses Tomcat for servlet container
and Axis 2 for web services. Over 15 WASCE developers are committers in the Apache
Geronimo project.
y Developmenttool RAD:IBM Rational Application Developer for WebSphere Software
(RAD) is an integrated devel- opment environment (IDE), made by IBM's Rational Software
division, for visually designing, con- structing, testing, and deploying Web services, portals,
and Java (J2EE) applications.
y Databaseplatform DB2:DB2 Database is the database management system that delivers
a flexible and cost effective database platform to build robust on demand business
applications and supports the J2EE and web services standards.
-
8/3/2019 Wildlife New
8/45
Techno Vision
My City Without Crime Page 8
y Designtool RationalSoftwareModeler:IBM Rational Software Modeler, (RSM) made by
IBM's Rational Software division, is a Uni- fied Modeling Language UML 2.0-based visual
modeling and design tool. Rational Software Modeler is built on theEclipse open-source
software framework and includes capabilities focused on visual modeling and model-drivendevelopment (MDD) with the UML for creating resilient, thought-out applications and web
services.
1.5References
Object Oriented Modeling and Design with UML modeling tool.
Software Engineering, Seventh Edition, Ian Sommerville.
IBM Red Books
IBM TGMC Sample Synopsis.
IBM www.ibm.in/developerworks .
IEEE SRS Format
Object Oriented systems development using Unified Modeli ng Language by Ali Bahrami,
publication: McGraw-Hill, International edition 1999
http://java.sun.com/developer/technicalArticles/J2EE/AJAX/RealtimeValidation/
1.6Overview
OverallDescriptionwill describe major components of the system, interconnection and
external interfaces.
Specific Requirementswill describe the functions of actors, their role in the system and
constraints.
2.OverallDescription
Describe the general factors that affect the product and its requirement s.
2.1ProductPerspective:
The web pages (XHTML/JSP) are present to provide the user i nterface on client side.
Communication between client and server i s provided throughHTTP/HTTPS protocols.
The Client Software is to provide the user interface on system user client si de and for this
TCP/IP protocols are used.
-
8/3/2019 Wildlife New
9/45
Techno Vision
My City Without Crime Page 9
On the server side web server is for EJB and database server is for storing the information.
2.2Software Interface:
Clienton Internet:Web Browser, Operating System (any)
Clienton Intranet:Client Software, Web Browser, Operating System (any)
WebServer:WAS, Operating System (any)
DataBaseServer:DB2, Operating System (any)
DevelopmentEnd:RAD (J2EE, Java, Java Bean, Servlets, Jsp, Ejb), DB2, Linux, Web Server.
-
8/3/2019 Wildlife New
10/45
Techno Vision
My City Without Crime Page 10
2.3Hardware Interface:
MinimumHar dware requirem ents:
Client Side
Internet
Explorer6.0
&above, Mozilla
Firefox, Chrome
Processor RAM Disk Space
Pentium III
at500 MHz
128MB 1GB
Server Side
Web sphere
application
server v6.1
Pentium IV
at1.3 GHz
512MB 2GB
DB2 V9.1 Pentium IV
at1.3 GHz
512MB 1GB(Excluding
data size)
2.4 Communication Interface:
Client on Internet will be using HTTP/HTTPS protocol.
Client on Intranet will be using TCP/IP protocol.
2.5Overview
ExistingSystem:
Registration for users
Discussion forum Drawbacks:
Remote area users and people who doesn't have knowledge of internet cannot use the system.
ProposedSystem:
Registration for users.
-
8/3/2019 Wildlife New
11/45
Techno Vision
My City Without Crime Page 11
Kiosk Managers - help the customers who doesn't have knowledge of internet to use the sys- tem.
Registration for users.
Online maintenance of users record.
Online registration of users and contact to NGOs
View Post and description about particular Topic.
Approval and rejection of registration of Government organization .
Online application for . Government and private organizations, Wildlife conservationist,
ecologists, veterinarians and wildlife enthusiasts.
2.6 Product Perspective:-
-
8/3/2019 Wildlife New
12/45
Techno Vision
My City Without Crime Page 12
2.7ProductFunctionalities:
Nominal Roll: The details of the customer and his/her personal details should be
captured. A digital photo of the customer and the online-application submitted by
customer during nominal roll are to be recorded.
Online application: Online application for new Registration request can be issued by aUsers .
Automated Report Generator : This report should be displ ay the list of users to beapproved by admin in a day, the next day, the next week, the next month, or any given
-
8/3/2019 Wildlife New
13/45
Techno Vision
My City Without Crime Page 13
durat ion of time. The system should consider t he reduction of sentence length due tovarious considerations.
Parole register: This module should track all users, Group members (registered
users)Government and private organizations, Wildlife conservationist, ecologists,
veterinarians and wildlife enthusiasts. Site administrators on parole and provide necessary
reports on this data.
Duty register: Who was where, why and when?
Query requests: Online technical query forms can also can be submitted by the users
In-out register: An i n-out regist er will track all the users and others who move in and out
for various reasons.
Admin facilities: Basic and advance admin facilities like add/update users,
backup/recovery of data, generating various reports etc.
Functionalities
To monitor statistics related to endangered species, jeopardized habitats, unbalanced
ecosystems and unfavorable climatic changes.
To facilitate members to form groups to organize local meetings, wildlife forums, periodicalsand Wildlife camps.
To provide a space for registered users to post interesting photos, videos and presentationson Indian Wildlife.
Secure registration and profile management facilities for registered members and,
government and non government agencies.
To acquaint users with various career opportunities in the field of wildlife, along with list of
universities offering Wildlife Degrees, fellowships and certifications.
It will portray recent wildlife success stories with an opportunity for users to participate in
Wildlife blogs, forums, internships, conferences and other awareness programs.
A regular news-letter should be sent to registered users to spread awareness.
To setup a reviewers panel to have a tab on data being posted for the website and select
appropriate contents from them to be posted. Moreover, this panel will be responsible forsolving various queries of website users.
Basic and advance administration facilities like add/update members, back
-
8/3/2019 Wildlife New
14/45
Techno Vision
My City Without Crime Page 14
up/recovery of data, generating various reports, etc.
2.8UserCharacteristics:
Every user should be comfortable of working with computer and net browsing. He must
have basic knowledge ofEnglish too.
2.9Constraints:
GUI is only in English.
Login and password is used for identification of customer and there is no facility for guest.
Limited toHTTP/HTTPs.
2.11ARCHITECTURE
DIAGRAM
MVC LAYERS (PRACTICALAPPROACH)
-
8/3/2019 Wildlife New
15/45
Techno Vision
My City Without Crime Page 15
y Model - The model represents enterprise data and the business rules that govern access to andupdates of this data. Often the model serves as a software approximation to a real-world process,
so simple real-world modeling techniques apply when defining the model.
y View -The view renders the contents of a model. It accesses enterprise data through the model
and specifies how that data should be presented. It is the view's responsibility to maintain
consistency in its presentation when the model changes. This can be achieved by using a pushmodel, where the view registers itself with the model for change notifications, or a pull model,
where the view is responsible for calling the model when it needs to retrieve the most current
data.
y Controller - The controller translates interactions with the view into actions to be performed bythe model. In a stand-alone GUI client, user interactions could be button clicks or menu
selections, whereas in a Web application, they appear as GET and POST HTTP requests. The
actions performed by the model include activating business processes or changing the state of
the model. Based on the user interactions and the outcome of the model actions, the controller
responds by selecting an appropriate view
-
8/3/2019 Wildlife New
16/45
Techno Vision
My City Without Crime Page 16
Layered Communication:-
y Project Web (JSP SERVLET ,JSF,STRUTS )
yy ProjectEJB (SESSION BEAN AND ENTITY BEAN )
y
y ProjectEJB REMOTE (REMOTE CALLING )
y
y Project JPA (DATABASEENTITY CLASSES)
MVCARCHITECTURE:-
Model-View-Controller architecture is used for interactive web-applications. This model minimizes thecoupling between business logic and data presentation to web user. This model divides the web based
application into three layer
-
8/3/2019 Wildlife New
17/45
Techno Vision
My City Without Crime Page 17
-
8/3/2019 Wildlife New
18/45
Techno Vision
My City Without Crime Page 18
UseCaseModel
-
8/3/2019 Wildlife New
19/45
Techno Vision
My City Without Crime Page 19
UseCaseModelSurvey:-
Use Case Description
egister Individual Account Creation Facility
ccountUpdation Each individual has account updating facility.
equestForDealership An individual can even request for dealership/franchise
endquery An individual can send online technical support query form
iew Booking A staff member can view all the booking request
iewDeliveryStatus A staff member can view the delivery status of each booked LPG
erviceControl Dealer provide the user with required service
Use Case Description
Anonomoususer Just to view website Profile and see working of applications
Registered User Registered User who can post on wall and can create events and can
create events
WebsiteAdmin Admin do All administrator activities likr database backup and restor
add and delete users approve NGOs
endquery An individual can send online technical support query form
Governmentandprivate
rganisation
Providing Reports to government officials.
WildLifeConservationist To facilitate members to form groups to organize local meetings, wildl
forums, periodicals and Wildlife camps
-
8/3/2019 Wildlife New
20/45
Techno Vision
My City Without Crime Page 20
Use Case Description
egister Individual Account Creation Facility
ccountUpdation Each individual has account updating facility.
equestForDealership An individual can even request for dealership/franchise
endquery An individual can send online technical support query form
iew Booking A staff member can view all the booking request
-
8/3/2019 Wildlife New
21/45
Techno Vision
My City Without Crime Page 21
iewDeliveryStatus A staff member can view the delivery status of each booked LPG
-
8/3/2019 Wildlife New
22/45
Techno Vision
My City Without Crime Page 22
Use Case Description
Register Individual Account Creation Facility
AccountUpdation Each individual has account updating facility.
RequestForDealership An individual can even request for dealership/franchise
Sendquery An individual can send online technical support query form
View Booking A staff member can view all the booking request
ViewDeliveryStatus A staff member can view the delivery status of each booked LPG
-
8/3/2019 Wildlife New
23/45
Techno Vision
My City Without Crime Page 23
-
8/3/2019 Wildlife New
24/45
Techno Vision
My City Without Crime Page 24
Use Case Description
Register Individual Account Creation Facility
AccountUpdation Each individual has account updating facility.
RequestForDealership An individual can even request for dealership/franchise
Sendquery An individual can send online technical support query form
View Booking A staff member can view all the booking request
ViewDeliveryStatus A staff member can view the delivery status of each booked LPG
-
8/3/2019 Wildlife New
25/45
Techno Vision
My City Without Crime Page 25
DATABASEDIAGRAMS:-
-
8/3/2019 Wildlife New
26/45
Techno Vision
My City Without Crime Page 26
-
8/3/2019 Wildlife New
27/45
Techno Vision
My City Without Crime Page 27
-
8/3/2019 Wildlife New
28/45
Techno Vision
My City Without Crime Page 28
ACTIVITYDIAGRAMS:-
[1] User Registration Activity
Initially user is made to fill all mandatory fields filled in registration form. Once the user clicks
submit the username is verified. If the username is already present, then the user is again taken
back, so that he can change the username. If the username is not present then it checks forpassword and remaining mandatory fields. If any of the mandatory field is left empty or filled
incorrect, then the user is informed to enter the correct values. Once all these verifications are
succeeded, then the registration is done.
-
8/3/2019 Wildlife New
29/45
Techno Vision
My City Without Crime Page 29
[2] User Validation Activity
-
8/3/2019 Wildlife New
30/45
Techno Vision
My City Without Crime Page 30
-
8/3/2019 Wildlife New
31/45
Techno Vision
My City Without Crime Page 31
-
8/3/2019 Wildlife New
32/45
Techno Vision
My City Without Crime Page 32
-
8/3/2019 Wildlife New
33/45
Techno Vision
My City Without Crime Page 33
-
8/3/2019 Wildlife New
34/45
Techno Vision
My City Without Crime Page 34
SEQUENCEDIAGRAMS
-
8/3/2019 Wildlife New
35/45
Techno Vision
My City Without Crime Page 35
-
8/3/2019 Wildlife New
36/45
Techno Vision
My City Without Crime Page 36
-
8/3/2019 Wildlife New
37/45
Techno Vision
My City Without Crime Page 37
-
8/3/2019 Wildlife New
38/45
Techno Vision
My City Without Crime Page 38
-
8/3/2019 Wildlife New
39/45
Techno Vision
My City Without Crime Page 39
2.14Assumptions and Dependencies The end user should have a basic know ledge of English and computer usage.
Administrator is created in the system already.
Roles and tasks are pre-defined.
3. Specific Requirements:
3.1 Use-Case Reports :
Actors:The system caters to following types of user.
A. Anonymous users
B. Group members (registered users)
C. Government and private organizations, Wildlife conservationist, ecologists, veterinarians and
wildlife enthusiasts.
D. Site administrators:-
The initial system requirement only specified users 1- 4. The users 5, 6 were included to
provide jail specific functionalities & database administrative functionalities.
Common Functionalities:
The following f unction may be performed any one of the six types of users.
Login:
In order to access other specific functionalities a user must login to the system. All users can
login to the system using their user name and password.
Name of use case: login
Description: client enters user name and password and the system authenticates the user.
Pre-conditions: The user account is existing in the data base and has not yet logged in.
Normal flow of events:
The client enters user name and password.
Javascript validates the provided information using regular express ion.
The JSP page passes the request to Servlet.
The Servlet checks against database and returns true.
A bean instance is created and property is set by javascript.
-
8/3/2019 Wildlife New
40/45
Techno Vision
My City Without Crime Page 40
User is asked for the opt ion of continuing with previous session by javascr ipt.
Based on user input the session detail is got from Servlet and DOM is updated.
Alternative flow of event :
The client enters user name and password.
JavaScript validates the provided information using regular express ion. The JSP page passes the request to Servlet.
The Servlet checks against database and returns true.
The JSP page is updated with corresponding err or message.
-
8/3/2019 Wildlife New
41/45
Techno Vision
My City Without Crime Page 41
Logout:
After completion all his/her activities a n user may logout of the system. After logout a user
wouldnt be able access features of the system.
Change password:
A user of the system would be provided a default password at the beginning. To maintain
-
8/3/2019 Wildlife New
42/45
Techno Vision
My City Without Crime Page 42
privacy he/she can change his/her password.
Name of use case: Change Password
Description: client enters the new password in order to replace his existing password.
Preconditions: The user account is exists in the database and user has logged in.
Normal flow of events :
The client c licks the button.
JSP page asynchronously requests the servlet.
Servlet forwards the request to EJ B.
The Servlet checks against database and returns true.
EJB makes changes to the database.
EJB reports the change to servlet.
Servlet similarly reports back to the JSP which updates the DOM.
-
8/3/2019 Wildlife New
43/45
Techno Vision
My City Without Crime Page 43
-
8/3/2019 Wildlife New
44/45
My City Without Crime Page 44
View help:
A 24x7 help feature would be provided. The help is available both online and off line. The
user ma y access help feature that is convenient to him.
Customize profile:
To give user a better look and feel, the system boasts several kinds of skins and the me. The
user can customize his profile by selecting one from the ava ilable.
Name of use case: Customize profile
Description: client customizes his/her profile by choosing from predefined skins.
Pre conditions: The user account is exists in the database and user has logged in.
Normal flow of events :
The client chooses the skin.
The client c licks the button. JSP page asynchronously requests the servlet.
Servlet forward the request to EJ B.
EJB makes changes to the database.
EJB reports the change to servlet.
Servlet similarly reports back to the JSP
-
8/3/2019 Wildlife New
45/45
Techno Vision
3.2 Supplementary Requirements
24 x 7 Availability - If the base is now the entire world, staying open 24 hours a day becomescritical. Because system can be an automated Process, so it can stay open f or 24 hours a day. So
UPS support must be on server site for at least 8 hours in case of power failure. System will
remain inaccessible to users at 2:00 to 4:00 am f or backup and maintenance purpose.
Dynamic Website - Many early Web implementations consisted of static HTML pages. This
becomes very difficult to manage if the number of pages gets too large. An effective system
should be largely dynamic taking advantage of technology that automates this process rather
then relying on manual processes. Application should serve dynamic user based customized web
pages to its clients from server.
Integration with existing enterprise systems Any existing Website that relies on the
manual duplication of data from another system is one that can be improved. Most of the
Business data in the world today exists in enterprise servers that can be connected to the We b
servers to make this process far more effective.
Provide good performance and t he ability to scale the server The Web application Server
should provide good performance and the ability to manage performance with techniques , such as
support for caching, clustering, and load balancing.
Providing session management capability - Web application developers should not spend
valuable time worrying about how to maintain sessions within the application. The Web
Application Server should provide these services.
4.Concerns/Queries/Doubtsifany:
We tried to install IBM Rational Application Server (Version: 7.0.0.6) along with Websphere
ApplicationServerin Ubuntu8.04.
While WASversion6.1failed to install WASversion6.0installed successfully. But the problem now
is that we are not able to start the Server through Add Server option.Help us to get rid of this
problem.