Professional Documents
Culture Documents
Kumar Devadutta
(Asst. Professor)
Dept. of Computer Science & Engineering Members Swapnit Das Swati Sonali Sahu
Strider/KIIT
Page1
Table of Contents
Description
1.0 Introduction 1.1 1.2
Page no.
Purpose... 4 Scope 4
2.5 User Characteristics.... 9 2.6 Constraints. 10 2.7 Architecture Design... 10 2.8 2.9 Use Case Model Description.. 12 Class Diagram ... 13
2.10 Sequence Diagrams.......15 2.11 Database Design 2.11.1 ER Diagram........ 2.11.2 Schema....... 26 27
2.12 Assumptions and Dependencies...... 28 3.0 Specific Requirements 3.1 3.2 Use Case Reports..... Activity Diagrams... 29 33
Strider/KIIT
Page3
1.0 Introduction
1.1 Purpose:
E-Gas Sewa is an online web service for gas agency of Indian Company to make the availability and booking of LPG and other services a much more easier ,systematic and fast process than the old tedious manual method . It also aims in reducing paper work and securing transaction details more efficiently, benefiting customers and dealers in vast area of company services. The old process of gas booking through phone or by manually going to the dealer is replaced by this online service.
1.2 Scope:
There are 3 basic user- Customer , Admin, Distributor(Dealers). All users have their profiles in E-Gas Sewa which they can view and update at any point of time. Customer can Create and update their account. Book gas online. Lodge complaints against a service. Apply for transfer of LPG connection to another location. Cancel an existing order of LPG Search and request of LPG accessories. Participate in discussion forum. Search and change dealer. Distributors are basically dealers and franchise owner who supply LPG gas to the customers. They can Apply for dealership online or register as a dealer. View orders and payment status of the orders. View reports. Participate in discussion forum. View complaints.
Strider/KIIT Page4
Admin administer the overall performance and working of this system. They can Accept registrations for dealership. Accept request for new LPG connection or transfer of connection of a customer. Audit all data base. View profiles of customers and distributors. Generate and view reports. Search for existing customer or distributor. View and address complaints. View logs. Take backup of data. Participate in discussion forum.
Strider/KIIT
Page5
HTTP (Hyper Text Transfer Protocol): It is a transaction oriented client/ server protocol between a web browser and a web server. ADMIN : Administrator. He has the complete control over the system and the authority to approve or remove customers and distributors, view reports and audit database. 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.4 References:
Software Engineering, A Practitioners Approach by Roger S Pressman Database Systems Concepts by Korth DB2 Certification materials The Complete Reference J2EE by Keogh IBM TGMC resources IBM Redbooks
Strider/KIIT
Page6
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.
1.6 Overview:
Existing System: Registration for customers Booking and Cancellation of Gas Complaints Drawbacks: No registration for dealers(distributors) No discussion forum No provision for ordering accessories No way of viewing delivery status No report system for Admin and Distributors No FAQ about the system Users cannot view the recent rates or security aspects of using LPG gas Proposed System: Registration for customers and dealers(distributors) Online booking and cancellation of gas Viewing the delivery status of booked gas Active discussion forum for customers, distributors and admin
Strider/KIIT Page7
Comprehensive FAQ about the system Both users and guests can view the rates and security aspects A dedicated section of QA Our Plan: Registration for customers and dealers(distributors) Online booking and cancellation of gas Online ordering of accessories Active discussion forum A detailed reporting system for Admin and Distributor
Strider/KIIT
Page8
2.2
Software Interface:
Web browser (Firefox, Opera, Chrome, Internet Explorer) Operating System (Windows, Linux)
Web Server: WASCE Operating System (Windows Server, Fedora, RedHat) Database Server DB2 Operating System (Windows Server, Fedora, RedHat) Back End: Rational Rose (Modeling),RAD (J2EE, Java Beans, JSP, HTML, XML, AJAX), DB2 (Database), Operating System (Windows, Fedora), Websphere (Webserver)
2.3
Hardware Interface:
Client Side:
Browser
Processor
Ram
Firefox / Chrome / Intel Pentium or 256 MB Internet Explorer AMD 1 GHz Server Side:
Software DB2 RAD Processor Intel Pentium 4 or AMD Athlon or Higher Ram 1.5 GB 1 GB
Strider/KIIT
2.6 Constraints:
The interface is only in English Only registered users can use the system Guests are limited to view the FAQ section only.
Strider/KIIT Page10
<<uses>> Search for Customer / Distributor Audit Database View Customer / Distributor
Authenticate Registration
Take Backup
Admin
View Logs
Generate Reports Address Complaints View Complaints Login Logout View Profile Participate in Discussion forum Search Dealers
Orders
View Status
Strider/KIIT
Page12
Customer: Unregistered customers can register themselves. Registered customers can place order by booking gas or by cancelling an ordered gas. They can lodge complaint against distributor for unsatisfactory service. Customers can update their profile information as needed. They can also participate in the discussion forum.
Distributor: Unregistered distributors can register themselves. Registered distributors can view orders and confirm their delivery. They can view complaints forwarded to them by the administrator and address them accordingly. They can update their profile information as needed. They participate in discussion forum. They can also generate reports about their daily or monthly transactions.
Admin: The admin or administrator has complete control over the system. He authenticates distributor registration, add/ delete users as required. He can view complaints by the customers and address them or forward them to the respective distributor. The admin can also participate in the discussion forum. He can generate reports about all transactions.
Strider/KIIT
Page13
Person Name : String Address : String DOB : Date e-mail : String Phone : String Password : String
DiscussionForum TopicID : String CreatorID : Integer Details : String +canParticipate ShowRecent() SelectTopic() ShowDetails() RequestSearch() EnterSearchDetails() RequestTopicDetails() GenerateTopicID() PostSuccessful() +canParticipate
Customer CID : String EnterDetails() VerifyDetails() SetDetails() CustomerRegistration() CustomerUpdate() RegistrationSuccessful() UpdateSuccessful() DisplayCustomerPage() DisplayErrorPage() EnterComplaintDetails()
Distributor DID : String +canParticipate EnterDetails() VerifyDetails() SetDetails() DistributorRegistration() DistributorUpdate() RegistrationSuccessful() UpdateSuccessful() DisplayDistributorPage() DisplayErrorPage() ViewPaymentStatus() ConfirmDelivery() AddressComplaint()
+canPlace 1..* Order OrderID : String BookingData : Date DeliveryData : Date +canDeliver EnterBookingDetails() EnterPaymentDetails() TransactionSuccess() TransactionFailed() OrderSuccessful() AddOrder() 1..* Cancel CancelID : String CancelDate : Date SelectOrder() Delivered() NotDelivered() CannotCancel() RequestConfirmation() SendConfirmation() MoveToCancel() CancelDone() CancelSuccessful()
+canAddress 1..* +canAddress 1..* Complaints ComplaintID : String Details : String +canLodge 0..* RequestComlaintDetails() GenerateID() ForwardToAdmin()
Customer 1 : LoginPrompt()
Interface
Database
5 : ValidationSuccess()
7 : ValidationFail()
Strider/KIIT
Page15
Distributor
Interface
Database
Strider/KIIT
Page16
Administrator 1 : LoginPrompt()
Interface
Database
2 : EnterUsernamePassword()
3 : SendData() 4 : ValidateData()
[Failure] 8 : DisplayErrorPage()
7 : ValidationFail()
Strider/KIIT
Page17
Customer
Interface
Database
alt
[Failure] 6 : EnterDetails()
5 : UserExists()
[Success]
Strider/KIIT
Page18
Distributor
Interface
Distributor
Admin
[Success]
Strider/KIIT
Page19
Interface
3 : VerifyPassword()
alt
[Failure] 4 : InvalidPassword()
[Success]
5 : ValidateMandatory()
alt
8 : DisplayCustomerPage()
Strider/KIIT
Page20
Customer
Interface
Payment Gateway
Database
1 : RequestBookingDetails() 2 : EnterBookingDetails()
3 : RequestPaymentDetails() 4 : EnterPaymentDetails()
Strider/KIIT
Page21
Distributor
Interface
Database
Strider/KIIT
Page22
Customer
Interface
Database
1 : ListOrders() 2 : SelectOrder()
3 : SendData() 4 : IfDelivered()
10 : MoveToCancel()
11 : CancelDone() 12 : CancelSuccessful()
Strider/KIIT
Page23
Customer
Interface
Distributor
Admin
Database
5 : SendToAdmin()
10 : AddressComplaint() 11 : ShowReply()
Strider/KIIT
Page24
2.10.11
Customer
Interface
Database
2 : SelectTopic()
3 : SendData()
4 : RetriveData()
11 : ShowTopics()
16 : PostSuccessful() 17 : ShowDetails()
Strider/KIIT
Page25
2.11.2 Schem 2 ma
Strid der/KIIT
Page27 7
The dependencies of the system are as follows: Services offered by the system and its users depend upon internet connection and the performance of the database. The software requires both the DB2 and WASCE to function properly
Strider/KIIT
Page28
3. Specific Requirements
3.1
3.1.1
<<extend>> Register Change area n dealer <<extend>> View Profile <<extend>> Place Order
Customer
Lodge Complaint
Strider/KIIT
Page29
Description Every customer has to register in order to use the features Customers have to log in to use the system Every registered customer has a profile which contains his personal information
Update Profile The customers can update their profile information as required Change area The customers can change their area and respective and dealer dealer if they change their residence Place Order Cancel Order View Status Lodge plaint The customers can place their order, i.e. book a gas The customers can cancel their order, i.e. cancel a booked gas The customers can view the status of their booking
Participate in The customers can participate actively in the discussion discussion fo- forum rum Search Acces- The customers can search for accessories required sories
Strider/KIIT
Page30
3.1.2
<<extend>>
Distributor
Login
View Orders
Address Complaints
Strider/KIIT
Page31
Distributors have to log in to use the system Every registered distributor has a profile which contains his personal information
Update Profile
The distributors can view the orders placed The distributors can view whether the payments for the orders are successfully transferred or not The distributors can confirm the delivery after they verify the payment status
The distributor can view reports on their transactions The distributors can participate actively in the discussion forum
The distributors can view complaints forwarded to them by the admin The distributors can address the complaints after viewing
Strider/KIIT
Page32
3.1.3 3
Descrip ption The Admin ha to log in to use the system as The Admin ac ccepts the r registration of the distributors after verins ficat tion
Page33 3
Search er/Distributor
Custom- The Admin can search for customers and distributors The Admin can view the profile details of any customer or distributor
View Customer/Distributor
View and Address Com- The Admin can view complaints and address them or forward plaints them to the distributors Audit Database Participate Forum Take Backup in The Admin can audit the system database to make modifications Discussion The Admin can participate actively in the discussion forum The Admin can take backup of the system on timely basis
The customer has to enter his/her user name and password, which is then verified after the customer hits the login button. If the details are successfully verified then the customer is taken to the profile page else an error is displayed requesting the customer to enter the valid details.
Strider/KIIT
Page35
Strider/KIIT
Page36
Enter details
Validation of user name Password not matching Valid Validation of password Invalid Valid Validation of mandatory fields Fill mandatory details
Invalid
Enter details
Validation of user name Password not matching Valid Validation of password Invalid Valid Validation of mandatory fields Fill mandatory details
Invalid
User login
Update Profile
Enter details
Book gas
Order Successful
Strider/KIIT
Page40
Customer Login
Booking page
Booked history
Check if delivered Delivered Not delivered Cancel confirmation No Yes Cancel successful Cannot cancel delivered order
View payment status Payment not done Payment done Confirm delivery
Strider/KIIT
Page42
Customer login
Complaints page
Send to admin
Strider/KIIT
Page43
Admin login
Complaints
Reply to customer
Forward to distributor
Strider/KIIT
Page44
Reply to customer
Strider/KIIT
Page45
Search topic
Select topic
Reply to post
Enter details
Show results
Submit
Fig 33: Activity Diagram for Participating in Discussion Forum Strider/KIIT Page46
Index:
H Hardware 9, 18 HTML 5, 8 HTTP 5 I Introduction 4 Interface 8, 9 J J2EE 5, 6 JSP 5, 6, 8 O Overview 6 Overall 4, 7 Operating System 8 Order 4, 9, 29 P Purpose 4 Perspective 7 Product 7, 8, 9 R T Technologies 6 Transaction 4, 9, 13 U Use case 12, 29 User 4, 6, 7, 28 W WASCE 5, 6, 8 S Scope 4 Sequence Diagram 15 Server 6, 8, 9 Service 5, 9, 13