webamazonz2011(e-gas sewa )
TRANSCRIPT
1. Introduction
1.1 Methodology 3
1.2 Purpose 4
1.3 Scope 4
1.4 Definition, Acronyms, and Abbreviations 5
1.5 Tools used 5
1.6 Technologies used 6
1.7 References 6
1.8 Overview 7
2. Overall Description
2.1 Product Perspective 8
2.2 Software Interface 8
2.3 Hardware Interface 9
2.4 ER diagram 10
2.5 Constraints 10
2.6 Architecture Diagram 11
2.7 Use Case Model Description 12
2.8 Database Design 14
2.9 Class Diagram 15
3. Specific Requirements
3.1 Use-case Reports 16
3.2 Activity Diagrams 21
3.3 Sequence Diagrams 30
4. Supporting Information
4.1 Index 36
4.2 Special Thanks 37
Table of Contents
e-Gas Sewa
1.Introduction
1.1 Methodology
Rational Unified ProcessThe Rational Unified Process brings together elements from all of the generic process models, supports iteration
and illustrates good practice in specification and design. The Rational Unified Process is normally described from
three perspectives:
A Dynamic Perspective that shows the phases of the model over time.
A Static Perspective that shows the process activities that are enacted.
A Practice Perspective that suggests good practices to be used during the process.
The different phases in Rational Unified Process are Inception
The goal of the inception phase is to establish a business case for the system. Identifying all external entities
that will interact with the system and defining these interactions. This information is used to assess the
contribution of system to business.
2 | P a g e
Fig.1.1 Phases of Rational Unified Process
e-Gas Sewa
Elaboration
The goals of the elaboration phase are to develop an understanding of the problem domain, establish an
architectural framework, develop project plan and identify key project risks.
Construction
This phase is concerned with system design, programming and testing. Parts of the system are developed in
parallel and integrated during this phase.
Transition
This is the final phase of Rational UP and is concerned with moving the system from the development
community to the user community and making it work in real environment.
1.2 Purpose
e-Gas is a web application which provides online-Gas booking services to everyone at their door step. The
users living in metro or remote village can connect through internet or approach nearby agency to get these
services. This web application is more effective, quick in providing connection help. This helps the customer to
migrate already established connection to the new location accordingly.
1.3 Scope
Five basic users – Customer, Guest User, Admin, Dealer and Kiosk Manager.
All users have their own profiles in e-Gas Sewa.
GUI is available in local languages i.e., Hindi, Bengali, Telugu, Marathi and Tamil also.
Customer can search for agencies and make online connection request. They also can view their connection
and delivery expenses. Customer can register complaints about connection to dealer and can also register
complaint on any agency to admin.
Guest user can see the recent rate of LPG gas cylinder declared by Indian Government, security aspects about
usability of LPG gas. Guest user can also see the procedure to be followed for getting a new LPG as
connection.
Dealers can give connections, accept booking requests and can provide home delivery. Dealers can view
complaints of customers and can take actions accordingly.
Kiosk Manager views and manages the connections, performs day open and close activities and calculates his
commission. He also sends reports to admin. Reports include daily order places report, daily delivered reports,
daily cancelled order reports, daily customer reports and monthly dealers and franchise report.
3 | P a g e
e-Gas Sewa
Admin has the authority to add/delete users, grant permission to dealers. He also views the complaints of
customers and takes necessary actions.
1.4 Definitions, Acronyms and Abbreviations
HTML: Hyper Text Markup Language. It is used to create static web pages.
JSP: Java Server Pages. It is used to create dynamic web content.
J2EE: Java 2 Enterprise Edition. It is a programming platform, belonging to the Java platform, which is
used for developing and running distributed java applications.
WASCE: WebSphere Application Server Community Edition. It is an application server that runs and
supports the J2EE and the web service applications.
WSAD: WebSphere Studio Application Developer .It is a designer toolkit which is designed to develop
more complex projects by providing a complete dynamic web service.
DB2: IBM Database 2. It is a database management system that provides a flexible and efficient database
platform to raise a strong "on demand" business applications.
HTTP: Hyper Text Transfer Protocol. It is a transaction oriented client/ server protocol between a web
browser and a web server.
XML: Extensible Markup Language. It is a markup language that was designed to transport and store
data.
AJAX: Asynchronous Java Script and XML. It is a technique used in java script to create dynamic web
pages.
Web 2.0: It is commonly associated with web applications which facilitate interactive information
sharing, interoperability, user-centered design and collaboration on the World Wide Web.
1.5 Tools Used
Following tools are used in this project
JAVA
Java is an object-oriented programming language developed by Sun Microsystems a company 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.
4 | P a g e
e-Gas Sewa
J2EE
Java Platform, Enterprise Edition or Java EE is a widely used platform for server programming in the java
programming language. The Java platform (Enterprise Edition) 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.
Web server – 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 is IBM'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.
Development tool–RAD
IBM Rational Application Developer for WebSphere Software (RAD) is an integrated development
environment (IDE), made by IBM's Rational Software division, for visually designing, constructing ,testing,
and deploying Web services, portals, and Java (J2EE) applications.
Database platform – 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.
Design tool – Rational Software Modeler
IBM Rational Software Modeler, (RSM) made by IBM's Rational Software division, is a Unified Modeling
Language UML 2.0-based visual modeling and design tool. Rational Software Modeler is built on the Eclipse
open-source software framework and includes capabilities focused on visual modeling and model-driven
development (MDD) with the UML for creating resilient, thought-out applications and web services.
1.6 Technologies Used
J2EE: (Servlet, JSP, JAXP, Java Beans) Application architecture.
JAVA: Application architecture.
WASCE: (WebSphere Application Server Community Edition) Web Server
DB2: IBM Database.
Ajax: Asynchronous Java Script and XML
XML: Extension Markup Language. Web 2.0: RSS Feed 2.0.
RAD 7.0: Development tool.
Localization: 6 Languages - Hindi, , Bengali, Telugu, Marathi ,Tamil and English
5 | P a g e
e-Gas Sewa
1.7 References
Software Engineering, Seventh Edition, Ian Sommerville.
IBM Red Books
IBM TGMC Sample Synopsis.
IBM-www.ibm.in/developer works
JAVA-www.sun.com.
Wikipedia - www.wikipedia.com
Database Management Systems - Navathe.
Complete Reference - J2EE – Keogh
Object Oriented Modeling and Design with UML-Michael Blaha, James Rambaugh.
1.8. Overview
Existing System
Registration for users
Feedback forum
Drawbacks
No local language support.
No online search and request of accessories.
Remote area users and people who do not have knowledge of internet cannot use the system.
Proposed System
Registration for users.
Kiosk Managers - help the customers who do not have knowledge of internet to use the system.
Local language support i.e., Hindi, Bengali, Telugu, Marathi and Tamil.
Online search and request for accessories.
Online application form for Dealership.
Our Plan
Registration for users.
Online maintenance of demand and delivery record.
Local language support.
Online connection and booking facility.
6 | P a g e
Database
Application ServerClient
Web ContainerBrowser
Messaging EngineWeb Services Engine
Java Beans
Web Services Client
HTTP Server
HTTP ServerPlug ins
EJBsServletsJSPs
DB2
e-Gas Sewa
Online viewing delivery status for booked LPG.
Online cancellation of booked LPG.
Connection transfer facility to another location.
Search nearest LPG dealer center.
Online search and request for accessories.
Online application form for Dealership.
Guest user can view recent rates of LPG & security aspects etc.
2.1 Product Perspective
This application is based on 3-tier architecture. Database is maintained in DB2.Client end requires browser and HTTP server to request the website. Application server at the middle contains web container and messaging engine. Server listens for requests by client and maintain sessions. Server interacts with database.
7 | P a g e
2.Overall Description
Fig.2.1 Product Perspective
e-Gas Sewa
2.2 Software Interface
Client on Internet
Web Browser, Operating System (any)
Client on Intranet
Web Browser, Operating System (any)
Web Server
WASCE, Operating System (any)
Data Base Server
DB2, Operating System (any)
Development End
RAD (J2EE, Java, Java Bean, Servlets, HTML, XML, AJAX), DB2, OS (Windows/Linux), WebSphere
(Web Server)
2.3 Hardware Interface
Minimum Hardware Requirements
Client Side
Processor RAM Disk Space
Internet explorer-6
Intel Pentium III or AMD -800 MHz
128 MB 100MB
Server side
Processor RAM Disk Space
RAD
Intel Pentium III or AMD -800 MHz
1 GB
3.5MB
8 | P a g e
e-Gas Sewa
DB2 256MB 500MB
2.4 ER- Diagram
2.5 Constraints
9 | P a g e
Fig.2.2 ER Diagram
e-Gas Sewa
Login and password is used for the identification of user. Limited to HTTP/HTTPS. This system is working for single server.
2.6 Architectural Diagram
Application Layer Business Layer Database Layer
10 | P a g e
Fig.2.3 Architecture Diagram
e-Gas Sewa
2.7 Use Case Model Description
Customer:
Customer can register on portal and then login to search for agencies and make online connection request. They
also can view their connection and delivery expenses. Customer can register complaints about connection to
dealer and can also register complaint on any agency to admin. They can also give feedback. Customer is able to
choose language i.e. Marathi, Telugu, Tamil, Hindi and Kannada.
Guest User:
Guest user can see the recent rate of LPG gas cylinder declared by Indian Government, security aspects about
usability of LPG gas. Guest user can also see the procedure to be followed for getting a new LPG as connection.
Dealer:
Dealers can give connections, accept booking requests and can provide home delivery. Dealers can view
complaints of customers and can take actions accordingly. Dealer is able to generate daily, weekly and monthly
reports for admin.
Kiosk Manager:
Kiosk Manager views and manages the connections, performs day open and close activities and calculates his
commission. He also sends reports to admin. Reports include daily order places report, daily delivered reports,
daily cancelled order reports, daily customer reports and monthly dealers and franchise report.
Admin:
Admin has the authority to add/delete users. Admin authenticates and grant permission to dealers and kiosk
manager. Admin views reports and accordingly takes action . He also views the complaints of customers and
takes necessary actions. Admin is responsible for backup maintenance also.
11 | P a g e
e-Gas Sewa
12 | P a g e
Fig.2.8 Use case Model Diagram
e-Gas Sewa
2.8 Database Design
13 | P a g e
e-Gas Sewa
14 | P a g e
Fig.2.5 Database Diagram
e-Gas Sewa
2.9 Class Diagram
15 | P a g e
Fig.2.6 Class Diagram
e-Gas Sewa
3.1 Use-case Report
3.1.1 Customer Use-Case Report
USE CASE DESCRIPTION
ChooseLanguage The customer can choose any local language to view website.Login The customer has to Login in order to start /begin his work.ViewProfile Every registered customer has his/her own profile containing personal and
professional details.UpdateProfile The customer has the option to update his/her own profile.GetConnection The customer can apply request for connection.RemoveConnection The customer can apply request for removing connectionBooking The customer can apply request for booking LPG.CancelBooking The customer can apply request to cancel booking.
TransferConnection The customer can apply request for transfer connection to a new location (branch).FileComplaint The customer can file complaint on agency to admin.WithdrawComplaint The customer has option to withdraw his/her complaint.SendMessage The customer can send private message to dealers and admin.ReceiveMail The customer can receive mail.GiveFeedback The customers can give feedback to the admin.SearchDealers The customer can search for the nearest LPG dealer center.SearchAccessories The customer can search for accessories.RequestAccessories The customer can request for accessories.ViewDeliveryStatus The customer can view delivery status for booked LPG.
16 | P a g e
3.Specific Requirements
Table 1: Customer Use-Case Report
e-Gas Sewa
3.1.2 Dealer Use-Case Report
USE CASE DESCRIPTION
Login The dealer has to Login in order to start /begin his workViewProfile Every registered dealer has his/her own profile containing personal and
professional details.UpdateProfile The dealer has the option to update his/her own profileViewComplaints The dealer views the feedback of the admin to the complaints issued to a dealer.
AcknowledgeConnection The dealer can accept/rejects the request of customers for a connection.AcceptBooking The dealer can accept requests of customers for booking.Deliver The dealer can deliver cylinders to customers.Search The dealer can search for a particular item in website by entering the keyword.
ChooseLanguage The dealer can choose any local language to view website.
17 | P a g e
Fig.3.1 Use Case diagram for Customer
Table 1: Dealer Use-Case Report
e-Gas Sewa
3.1.3 Guest User Use-Case ReportUSE CASE DESCRIPTION
ChooseLanguage The guest user can choose any local language to view website.Register The guest user has to register for website services.SeeRecentRate The guest user can see recent LPG rates decided by Indian Government.SeeSecurityAspects The guest user can see the security aspects about usage of LPG. SeeProcedure The guest user can see the procedure to be followed for getting a new LPG
connection.KnowAboutSite The guest user can view information about the site.SeeCurrentAffairs The guest user can see the current affairs.
18 | P a g e
Fig.3.2 Use Case diagram for Dealer
Table 2: Guest User Use-Case Report
e-Gas Sewa
3.1.4 KIOSK Manager Use-Case Report
USE CASE DESCRIPTION
Login The KIOSK Manager has to Login in order to start begin his work.ViewProfile KM view his/her own profile containing personal and professional details.UpdateProfile The KM has the option to update his/her own profileAddKIOSK The KM can add new KIOSK.ManageConnections The KM can manage the connections for customers. CalculateCommission The KM can charge commission from customers for using the facility of KIOSK .ViewLogs The KM can view the logs.SendMessage The KM can send message.ReceiveMail The KM can receive mail.
19 | P a g e
Fig.3.3 Use Case diagram for Guest User
e-Gas Sewa
SendReport The KM can send report to admin.ApprovalFromAdmin The KM should get approval from admin.
ChooseLanguage The KM can choose any local language.
Search The KM can search for a particular item in website by entering the keyword.
3.1.5 Admin Use-Case Report
20 | P a g e
Fig. 3.4 Use Case diagram for KIOSK Manager
Table 3: KIOSK Manager Use-Case Report
Table 4: Admin Use-Case Report
USE CASE DESCRIPTION
Login The admin has to Login in order to start begin his work.ViewProfile Admin view his/her own profile containing personal and professional details.UpdateProfile The admin has the option to update his/her own profileViewComplaints
The admin views the complaint sent by other users
TakeAction The admin can take necessary actionsTakeBackup The admin can take backup of the systemDeleteUsers The admin is given the option to delete the usersSendMail The admin can send mail.ReceiveMessage The admin can receive private messages from customers, KMs and dealers.
ViewReport The admin views the report sent by kiosk manager.ViewLogs The admin can view the logs.Search The admin can search for a particular item in website by entering the keyword.
e-Gas Sewa
3.2 Activity Diagrams
3.2.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 for password 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.
21 | P a g e
Fig.3.5 Use Case diagram for Admin
e-Gas Sewa
3.2.2 Dealer and Kiosk Manager Registration Activity
The dealer and KM needs to fill all mandatory fields filled in registration form. Once they click submit, the
User name is verified. If the username is already present, then they are again taken back, so that they can
change the username. If the username is not present then it checks for password and remaining mandatory
fields. If any of the mandatory field is left empty or filled incorrect, then they are informed to enter the correct
values. These details are sent to admin for verification and the admin verifies the data and approves registration
and grants privileges.
22 | P a g e
Fig.3.6 Activity Diagram for Representing User Registration
e-Gas Sewa
3.2.3 User Login Activity
23 | P a g e
Fig.3.7 Activity Diagram for Representing Dealer & KM Registration
e-Gas Sewa
User is prompt to enter the username and password, if he is signing in through KIOSK, KIOSK ID has to be
entered, then entered values are verified. If it is a valid username and password, then the user is logged in, or
else they are asked to re enter the correct values.
3.2.4 Privileged User Login Activity
Privileged User such as Dealer, Kiosk Manager and Administrator is made to enter the username and password,
entered values are verified. If it is a valid username and password, then the user is logged in and assigned the
respective privileges, or else they are asked to retry by entering the correct values. After logging in, privileged
user is provided with its profile page from where it can perform various tasks.
24 | P a g e
Fig. 3.8 Activity Diagram for User Login
e-Gas Sewa
3.2.5 Take Connection Activity
Customer first creates an account in portal. After logging in the portal, the customer will search for a dealer
using search option. Then the customer selects a dealer from search results and selects the connection type and
sends his request for connection to dealer. Dealer views the connection request. Then he can either reject the
request or can approve it by sending an appropriate message to customer.
25 | P a g e
Fig.3.9 Activity Diagram for Privileged User Login
e-Gas Sewa
3.2.6 Booking LPG cylinder
The customer will have to login. Then customer will click on booking option. He will come to know the total
charges (LPG cost + delivery charges etc). Then he will request for booking cylinder. Request is validated
against last request for 22 days policy. If valid, customer can book the cylinder. If request for booking is
accepted by the dealer, the customer will receive an acceptance email and a message or else he will receive a
failure email and message.
26 | P a g e
Fig.3.10 Activity Diagram for Taking Connection
e-Gas Sewa
3.2.7 Transfer Connection
The customer will have to login. Then customer will go to opt for transfer connection. He will have to enter
new records and details. The customer will search for nearest dealer and select the suitable dealer. Then he will
27 | P a g e
Fig 3.11 Activity Diagram for Booking LPG
e-Gas Sewa
enter the type of connection and request for transfer connection. If the request is approved he will receive a
confirmation message or else he will receive a failure message.
28 | P a g e
e-Gas Sewa
29 | P a g e
Fig.3.12 Activity Diagram for Transfer Connection
e-Gas Sewa
3.2.8 LPG Delivery Activity
The dealer will view all requests by customer. The dealer will either accept the request than deliver the cylinder
to the customer or delays it for a certain period.
3.2.9 Lodging a Complaint Activity
After logging in, customer can go for making complaint. Customer is prompted to enter text. The customer
enters the complaint text and sends it to admin and the system generated ComplaintId which is returned to the
user for future reference.
30 | P a g e
Fig.3.13 Activity Diagram for LPG Delivery
e-Gas Sewa
3.2.10 Replying a Complaint Activity
The admin views the complaint and then he may reply to the user or he may select the respective dealer and
forwards the complaint to him
31 | P a g e
Fig.3.14 Activity Diagram for Lodging Complaint
e-Gas Sewa
3.2.11 Feedback Activity
The customer will have to go for feedback and enter feedback text. Then he can click on post and submit the
feedback to website. The feedback forum is displayed.
3.3 Sequence Diagrams
3.3.1 Users Login Sequence Diagram
The user can login to his/her profile by providing username and password. If the combination is validated by
interface, it is forwarded to database. If the combination is verified, it will display the home page otherwise
error page is displayed. If it is not validated by interface, user is prompted to reenter the username and
password. After logging in user can perform several functions it is intended for.
32 | P a g e
Fig.3.15 Activity Diagram for Replying Complaint
Fig. 3.16 Activity Diagram for Feedback Activity
e-Gas Sewa
3.3.2 Take a Connection Diagram
To take a connection user has to login and go to search dealer. For searching, a prompt to enter the locality is
provided by the interface to the user. Now, interface forwards the locality to the database for searching .Search
results are then forwarded to the interface .Then interface displays the result to the customer .Customer enter
details and send request for connection .The interface forwards it to the dealer for acknowledgement .The
dealer either accept the request or rejects it.
33 | P a g e
Fig. 3.17 Sequence Diagram Representing User Login
e-Gas Sewa
34 | P a g e
Fig. 3.18 Sequence Diagram Representing Connection
e-Gas Sewa
3.3.3 Lodge Complaint Sequence Diagram
The interface prompts to customer to enter complaint text. Customer enters text. Text is forwarded to admin
and database. Database generates a complaintId which is displayed to the customer.
3.3.4 Booking Sequence Diagram
Customer has to login and go for booking. Interface shows the charges including delivery charges. Now
customer books the cylinder. Customer may place request only after 22 days of last delivery, request is
discarded. Thus, interface verifies it against 22 day policy either discarding request or accepting it. If accepted,
customer can place the request which is then viewed by dealer. Dealer may accept, delay or reject the request.
Customer is informed through a SMS. If discarded because of policy, customer is prompted with a warning
message.
35 | P a g e
Fig. 3.19 Sequence Diagram for Lodging Complaint
e-Gas Sewa
36 | P a g e
e-Gas Sewa
3.3.5 Authentication of Privileged Users Sequence Diagram
The user is prompted to enter details by interface. User enters details and send request for authentication.
Request is forwarded to admin for verification. If verified successfully admin authenticate user otherwise
request is rejected.
37 | P a g e
Fig .3.20 Sequence Diagram Representing Booking
e-Gas Sewa
4.1 Index
38 | P a g e
4. Supporting Information
Fig. 3.21 Sequence Diagram for Authenticate User
e-Gas Sewa
4.2 Special Thanks
39 | P a g e
A
Abbreviations · 5Acronyms · 5Admin · 12, 20AJAX · 5, 6Analysis · 3
D
Data Base · 6DB2 · 8, 9Definitions · 5Development End · 9Drawbacks · 7Dealer · 12Design · 14
I
Inception · 3Interface · 8, 31, 33Introduction · 3
E
Elaboration · 4ER Diagram · 10Existing System · 7
B
Booking Expenses ·122
C
Customer · 7, 12Connection · 12
K
Kiosk .23 Manager· 12KM· 19, 13
P
Product Perspective · 8Proposed System · 7Purpose · 4
M
Methodology · 3
U Use-case · 16UML · 6
S
Scope · 4Sequence · 30Software · 6T
Transition· 4Technologies · 6
W
WASCE · 5, 6
O
Operating System · 5, 8Our Plan· 7Overall · 8
H
Hardware · 9HTML · 5HTTP · 5HTTPS · 10
R
RAD · 6References · 6Reports · 12Rational Unified Process · 3
e-Gas Sewa
We convey a special thanks to our department and to our college. We also convey a special thanks to all these
software’s and websites, they have been helping a lot in doing the project.
40 | P a g e