29
Page | 1 Online market Software Requirement Specification Vaagdevi College of Engineering Bollikunta-506005 Team members E.Sai laxmi 08641A1253 M.Aditya Pandae 08641A1222 P.Rohith 08641A1251 M.D.Siddique 08641A1263 Project Guide 1

Online Market Srs

Embed Size (px)

Citation preview

Page 1: Online Market Srs

P a g e | 1

Online marketSoftware Requirement Specification

Vaagdevi College of EngineeringBollikunta-506005

Team members

E.Sai laxmi 08641A1253M.Aditya Pandae 08641A1222P.Rohith 08641A1251M.D.Siddique 08641A1263

Project Guide

N.Rajender ReddyAsst.Professor

Department of computer science1. Introduction

1

Page 2: Online Market Srs

P a g e | 2

1.1 Methodology ……………………………………………. 31.2 Purpose ……………………………………………........ 51.3 Scope ………………………………………………….... 51.4 Definitions, Acronyms and Abbreviations………………. 51.5 Tools used ……………………………………………….. 71.6 References ………………………………………………. 81.7 Technologies used ………………………………………. 81.8 Overview……………………………………………….. 8

2. Overall description

2.0 Product Perspective…………………………………………2.1 Software Interface……………………………………………..2.3 Hardware Interface……………………………………………2.4 Product Function………………………………………………2.5 ER diagrams……………………………………………………..2.6 Usecase diagrams………………………………………………..2.7 Architecture diagram……………………………………………….2.8 Database design………………………………………………..

3. Specific requirements

3.0 Usecase reports…………………………………………………..3.1 Activity diagram………………………………………………….3.2 Sequence diagram………………………………………………..

2

Page 3: Online Market Srs

P a g e | 3

1.1 Methodology

Rational Unified Process

The Rational Unified Process is a Software Engineering Process. It provides a disciplined approach to assigning tasks and responsibility within a development organization. Its goal is to ensure the production of high quality software that meets the needs of its end-users, within a predictable schedule and budget

The Rational Unified Process is a guide for how to effectively use the Unified Modeling Language (UML). The UML is an industry-standard language that allows us to clearly communicate requirements, architectures and designs. The UML was originally created by Rational Software, and is now maintained by the Standard organization Object Management Group (OMG).

Phases and iterations

The software lifecycle is broken into cycles, each cycle working on a new generation of the product. The Rational Unified Process divides one development cycle in four consecutive phases:

• Inception phase • Elaboration phase • Construction phase • Transition phase

Each phase is concluded with a well-defined milestone—a point in time at which certain critical decisions must be made and therefore key goals must have been achieved.

Major Milestones

Time

3

1. Introduction

Inception Elaboration Construction Transition

Page 4: Online Market Srs

P a g e | 4

Inception

During the inception phase, you establish the business case for the system and delimit the project scope. To Accomplish this you must identify all external entities with which the system will interact (actors) and Define the nature of this interaction at a high-level. This involves identifying all use cases and describing a Few significant ones. The business case includes success criteria, risk assessment, and estimate of the Resources needed, and a phase plan showing dates of major milestones.

Elaboration

The goals of the elaboration phase are to develop an understanding of the problem domain, establishan Architectural framework, develop project plan and identify key project risks. In the elaboration phase, an executable architecture prototype is built in one or more iterations, depending on the scope, size, risk, and novelty of the project.

Construction

During the construction phase, all remaining components and application features are developed and integrated into the product, and all features are thoroughly tested. The construction phase is, in one sense, a manufacturing process where emphasis is placed on managing resources and controlling operations to optimize costs, schedules, and quality. In this sense, the management mindset undergoes a transition from the development of intellectual property during inception and elaboration, to the development of deployable products during construction and transition.

Transition

This is the final phase and is concerned with moving the system from the development communityto the user community and making it works in real environment.

4

Inception Elaboration Construction Transition

Inception Elaboration Construction Transition

Inception Elaboration Construction Transition

Inception Elaboration Construction Transition

Page 5: Online Market Srs

P a g e | 5

1.2Purpose

The main purpose of this project is to build an E-Market where people can buy, sell or advertise products. Here suppose one person wants to sell his car then he can go to this e market and advertise his product for sell. He need to fill some basic information about his product (car in this case).Now suppose some other customer wants to buy some used car then he can search for it from the site by providing some basic information.

1.3Scope

There are three users of the system:

Any user who wants to buy/sell any productDirector (Admin)Employees

Enrollment is must for user who wishes to see details of any products or want to buy/sell any product.

User will have facility to advertise like house for rent, temporary uses of playing kites etc.

Basic information will be available for user who just visits the site.

User who is registered in the site will get search box where he can search for products which he wants to buy.

Director will have the same authority as that of Admin.

All users will have their own profiles.

Employees maintain all types of requests and provide 24*7 online services.

Definitions, Acronyms and Abbreviations

Admin

Administrator has the authority to add/delete users, products and grants the permission to employees and users who want to advertise the product.

5

Page 6: Online Market Srs

P a g e | 6

Employee maintains all type of records

UML

Unified Modeling Language is a standard language for writing software blueprints. TheUML may be used to visualize, specify, construct and document.

J2EE

Java 2 Enterprise Edition. A programming platform which is a part of java platform forDeveloping and running distributed java.

XML

Extensible Markup Language is a text based format that let developers describe, deliverAnd exchange structured data between a range of applications to client for display and manipulation.

e-Forms

Lotus Forms help organizations of all sizes speed process automation, increase efficiencies and reduce costs by standardizing data capture, review, approval and submission of Forms. e-Forms facilitates data integration with your existing back-end systems.

DB2

Database 2. A database management system that provides a flexible and efficient database platform to maintain records of students, teachers, admin and dm.

RAD

Rational Application Developer is a development tool that helps to design web pagesand also helps to design the diagrams like ER, Database schema diagrams and to generate DDL.

SOA

Service Oriented Architecture (SOA) is a business-centric IT architectural approach that supports integrating your business as linked, repeatable business tasks, or services. 

RAD

Rational Application Developer is a development tool that helps to design web pagesand also helps to design the diagrams like ER, Database schema diagrams and to generate DDL.

Web 2.0

6

Page 7: Online Market Srs

P a g e | 7

It is commonly associated with web applications which facilitate interactive information sharing, interoperability, user-centered designed and collaboration on the World Wide Web.

WASCE

Web sphere Application Server Community Edition. It is an application server that runs and supports the J2EE and the Web service applications

1.4 Tools used

Application architecture – JAVA, J2EE

JAVA

Java is an object-oriented programming language developed by Sun Microsystems a companybest 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, whichmeans that Java programs (applet and application) can run on any machine that has the Java virtualmachine (JVM) installed.

J2EE

Java Platform, Enterprise Edition or Java EE is a widely used platform for server programmingin the Java programming language. The Java platform (Enterprise Edition) differs from the JavaStandard Edition Platform (Java SE) in that it adds libraries which provide functionality to deployfault-tolerant, distributed, multi-tier Java software, based largely on modular components runningon an application server.

Web server – WASCE

WebSphere Application Server Community Edition is a free, certified Java EE 5 server for building and managing Java applications. It is IBM's supported distribution of Apache that uses Tomcat for servlet container and Axis 2 for web services. Over 15 WASCE developers are committers in the Apache Geronimo project.

Database platform – DB2

DB2 Database is the database management system that delivers a flexible and cost effectiveDatabase platform to build robust on demand business applications and supports the J2EE and webServices standards.

Development tool –RAD

IBM Rational Application Developer for WebSphere Software (RAD) is an integrated developmentEnvironment (IDE), made by IBM's Rational Software division, for visually designing, constructing,

7

Page 8: Online Market Srs

P a g e | 8

testing, and deploying Web services, portals, and Java (J2EE) applications.

Directory Server-TSM

IBM Tivoli Storage Manager is a smarter data protection and near-instant recovery software solution for business-critical environments. Tivoli Storage Manager helps clients eliminate backup windows, and reduce the amount of data that is at risk between backups, to almost zero. It also reduces the time taken to recover from almost any magnitude of data loss.1.5 References

Object Oriented Modeling and Design with UML-Michael Blaha, James Rambaugh. www.google.com Software Engineering, Seventh Edition, Ian Sommerville. Java - www.sun.com Database Management Systems - Navathe. Complete Reference - J2EE - Keogh. Wikipedia - www.wikipedia.com

1.6 Technologies to be used

UML : Unified Modeling Language J2EE : Java 2 Enterprise Edition XML : Extensible Markup Language e-Forms: Electronic Forms AJAX : Asynchronous JavaScript and XML SOA : Service Oriented Architecture

1.7 Overview

Existing System

This system is a manual system which doesn’t provide secure registration as well as profile management facilities for the customers.

Existing system is not having the facility of Credit card verification mechanism. Existing system cannot update the recent items for customers.

Drawbacks

There is no daily report on how many users visited the site and how many has registered in the site to the Admin.

Monthly reports based on daily reports for different products to admin person. Customizable color schemes and skins are unavailable. Fraud and security concerns. No Advertisement facility for users.

8

Page 9: Online Market Srs

P a g e | 9

Proposed System

Secure registration and profile management facilities for customers. Update to customers about the recent items in the shop. Daily report on how many users visited the site and how many has registered in

the site to the Admin. Advertisement facility for users like house for rent, temporary uses of playing

kites etc. Auto reply facility to customers who found that some other customer has shown

interest in his product.

Our plan:

Basic information for user who just visits the site. Users who are registered in the site will have a search box where he can search

for the products he is going to buy. Customizable color schemes and skins. Secure access of confidential data. Flexible service based architecture highly desirable for future extension.

2.1 Product Perspective

9

2.Overall Description

Page 10: Online Market Srs

P a g e | 10

2.2 Software Interface

Client on Internet

Web browser, Linux

Client on Intranet

Web Browser, Operating System (Linux)

Web Server

WASCE, Operating System (Linux)

Database Server

IBM DB2, Operating System (Linux)

Development End

RAD (J2EE, Java Bean, Java, Servlets, HTML, XML, AJAX), DB2, OS (Windows),Web Sphere (Web Server)

2.3 Hardware Interface

Minimum Requirements

Client Side

Internet Explorer

Processor : 233 megahertz (MHz) processorRam : 512 MB RAMDisk Space : 200 MB

Server Side

RAD

Processor : Intel Pentium III 800 MHz or higherRam : 1 GB RAMDisk Space : 3.5GB minimum for installing Rational Application

10

Page 11: Online Market Srs

P a g e | 11

Developer and Additional Disk space for development resources

DB2

Processor : Intel Pentium III 800 MHz or higherRam : 256 MB RAMDisk Space : 500MB (Excluding data size)

Recommended Requirements

Client side

Internet Explorer

Processor : Intel or AMD 1 GHz processorRam : 512 MB RAMDisk Space : 200 MB

Server side

RAD

Processor : Intel or AMD -2 GHzRam : 2 GB RAMDisk Space : 3.5GB

DB2-9.5

Processor : Intel or AMD -2 GHzRam : 512 MB RAMDisk Space : 500 MB (Excluding data size)

2.4 Product Function

Functional Requirements

Basic information for user who just visits the site. Enrollment is must for users who wish to see details of any products or want

to buy/sell any product. For enrollment he needs to provide some basic information like name, contact no/email id, user id and if user wants to sell something then he needs to fill description part of the product.

Registration page should be available for registering in the site. Temporary password should automatically send to users contact no/email id change it as per his convenience.

11

Page 12: Online Market Srs

P a g e | 12

User who registered in the site must be able to get search box where he can search for products which he wants to buy

User can also advertise like house for rent, temporary uses of playing kits etc. After registration, there should be an auto mail forwarded to user in his

contact no/e-mail id. User should also be able to de-register from the site by providing user id and

password with some security question. Auto reply facility to customers who found that some other customer has

shown interest in his product. Employees should be able to maintain all types of request, information etc

which is required for giving 24/7 services to online users. Admin authority should be given to director.

Non-functional requirements

Secure access of confidential data (user’s details). SSL can be used. 24 X 7 availability Better component design to get better performance at peak time Flexible service based architecture will be highly desirable for future

extension

Constraints

No database backup facility which effects availability. Limited to HTTP/HTTPS. No multilingual support.

2.7Architecture diagram

12

Page 13: Online Market Srs

P a g e | 13

2.5 ER Diagram

2.6 Use Case view

1. USE CASE DIAGRAM FOR WHOLE PROJECT:

13

Page 14: Online Market Srs

P a g e | 14

Advertising

Edit profile

View Profile

whishlist

Delete account

Tracking orderstatus

Purchase

View Profiles

Maintain system database

Delete users

visitor

Generate confirmationmail

Track order status

Shipping Productdetails

Billing purchaseCustomer service

24/7

Update Inventory

Restocking

Maintain product details

Register Login Search View Product details

customer

Admin

Logout

Employee

Visitor: Who just visits the site and can search for particular product and view the product details.

Admin: Admin has the authority to add/delete users,view profilesand maintains the database.

Customer: Customer purchases the product by searching the product,view the product details and then purchase .Customer can even advertises the product,edit,view and can delete the profile.

Employee: Employee views and manages the purchases.Employee generates,updates inventory,restocking,maintains product details,shipping details and provides cutomers service 24*7.

2.USECASE DIAGRAM FOR USER:

14

Page 15: Online Market Srs

P a g e | 15

Register

Search

customer

Advertising

Purchase

View Product details

View Profile

Edit profile

Tracking orderstatus

Delete account

Logout

Login

Login Customer should login in order to perform actions.Register Customer should get registered to create a profileSearch For desired product customer searches for the product. View product details

To know more information about the product like price, look, quantity etc.

Purchase If customer likes the product will purchase the product.Advertising Customer can advertise the productsView profile Customer has his/her own profile can view it.Edit profile Customer ca edit the profile information.Tracking order status

Customer has the ability to view the order status and to know when his product will be delivered

Delete account Customer can delete the account.Logout Customer can exit the application

15

Page 16: Online Market Srs

P a g e | 16

1. USECASE DIAGRAM FOR ADMIN:

Register

Admin

Search

View Profiles

Maintain system database

Delete users

Logout

View Product details

Login

Login Admin should login in order to perform actions.Register Registration is approval for the admin.Search Admin can search for the product or customers details.View profiles Admin has his/her own profile containing personal or professional details.Maintain system database

Admin maintains all the transactions taken place in the database.

Delete users Admin has the authority to delete the users.View product details

Admin can view the details of product .

Logout Admin can exit from the website.

4.USECASE DIAGRAM FOR EMPLOYEE:

16

Page 17: Online Market Srs

P a g e | 17

Register

Search

Employee

View Product details

Logout

Billing purchase

Shipping Productdetails

Customer service 24/7

Generate confirmationmail

Update Inventory

Restocking

Track order status

Maintain product details

Login

Login Employee should login to perform any actions. Register Employee should get registered to approval. Search Employee can search for the product or customers details.Customers service

Employee will provide customers services 24*7.

Generation confirmation mail

After registration, there should be an auto mail forwarded to user in his contact no/e-mail id.

Update inventory Employee updates the inventory database when the new items arrive.Restocking Employee checks the position of each and every item and replenishes them when-

ever needed.Track order status

Employee has the authentication to check the order status.

Maintain product details

The required information needed by the customer should be maintained by the employee.

Shipping product details

Employee checks the address of the customer and delivers the product.

Billing purchase All the billing details for the purchase should be maintained.View product details

Product details should be viewed any necessary changes can be updated.

logout Employee can exit from the website

17

Page 18: Online Market Srs

P a g e | 18

5.USECASE DIAGRAM FOR VISITOR:

Register

Search

View Product details

visitor

View product details

Visitor views the products and details of the product.

Search Visitor searches for the desired productRegister Visitor wants to create a profile he/she will get registered.

SEQUENCE DIAGRAM:

1.SEQUENCE DIAGRAM FOR LOGIN PROCESS:

18

Page 19: Online Market Srs

P a g e | 19

user: Login interface:1

Database:

Login()

Enter Username()

EnterPassword() Validate()

Forward()

Validate()

OnSuccess()Display Homepage()

OnFailure()DisplayError

EnterUsername And

2. SEQUENCE DIAGRAM FOR USER:

19

Page 20: Online Market Srs

P a g e | 20

user: Interface:1 Database:

Login()

Enter Username()

EnterPassword()Validate()

Search()

EnterSearchCriteria()

DisplayResults()

ViewProfile()

Forward()Validate()

OnSuccess()Display Homepage()

Forward()Search()

ForwardSearch

Acess database()

Profile details()DisplayProfileDetails()

acess()

SelectAccessProductDetails()

SearchForProductDetails()

GetProductDisplayProductDetails()

BuyProduct() Select AccessProductDetails()

ProductDisplayProductInformation()

SelectForPurchase()

AddShippingDetails()

EnterShippingDetails()CreateDatabase()

GenerateShippingId()

EditProfile EditDetailsin

AdvertiseAproduct()

EnterProduct

SendProduct UploadProduct

CreateDatabaseForGenerateProductDisplay

modify modifiedDetails()DisplayModified

SendShippingId()

EnterShipping

SearchForShippingId()AccessDatabase()

DiplayProductInformation()DisplayOrderStatus()

Track

Logout()

validate()Onsuccess()DisplayHomepage()

20

Page 21: Online Market Srs

P a g e | 21

3.SEQUENCE DIAGRAM FOR ADMIN:

Admin:

Login

Databa

Login()

Enter Username()

EnterPassword()Validate()

Forward()

Validate()OnSuccess()

Display Homepage()

Register()

FillDetails()

EnterDetails() CreateDb()

AddDatabase()GetDatabase()RegisterSuccessful()

DisplayUsers() SearchDB()

AccessDatabase()

GetDatabaseResults()DisplayAllUserProfiles()

UpdateProductDetails() UpdateDatabase()

AccessDatabase()UpdateResults()

DisplayAllUpdates()

DeleteUser() DeleteMemberFromDB()

AccessDB()GetResultfromDB()DisplayResults()

LogOut()

CloseDB()DisplayHomePage()

21

Page 22: Online Market Srs

P a g e | 22

4.SEQUENCE DIAGRAM FOR EMPLOYEE:

Employee interface: Database:

Login()

Enter Username()

EnterPassword()Validate()

Register()

FillDetails()

EnterDetails()

Forward()

Validate()OnSuccess()

Display Homepage()

CreateDb()

AddDatabase()GetDatabase()RegisterSuccessful()

LogOut()

CloseDB()DisplayHomePage()

TrackOrder()CheckOrderstatus()

AccessDb()

GetOrderstatus()DisplayStatus()

UpdateInventory() UpdateDb()

AccessDB()

GetDatabase()DisplayUpdateResults()

GetPaymentGetPaymentDetails()

AccessDb()

RetrievePaymentDisplayPaymentDetails()

GetShippingDetails() TrackDetails()

AccessDb()GetGetDeliveryStatus()

22

Page 23: Online Market Srs

P a g e | 23

5.SEQUENCE DIAGRAM FOR VISITOR:

Visitor: Interface: Database:

Search()AccessDB()

SearchingDB()

GetDB()DisplaySearchResults()

23

Page 24: Online Market Srs

P a g e | 24

Class diagram:

Db schema:

24

u s e r

idn a m ep a s s w o rdu s e rtyp ee m a i lidp h o n e n u m b e r

lo g i n ()lo g o u t( )

Ad m i n

u s e rn a m ep a s w o rd

Vie w P ro d u c ts ( )vie w C u s to m e r ()C re a te E m p lo ye e( )D e le te E m p lo ye e ( )Vie w D a y w i se R e p o rt()

Ad m i n B AL

L o g in ( )Vie w P ro d u c ts ( )Vie w C u s to m ers ()Vie w D a yW is e R e p o rt( )C re a te E m p lo ye e( )D e le te E m p lo ye e ( )

Ad m i n D AL

L o g in ( )Vie w P ro d u c ts ( )Vie w C u s to m ers ()Vie w D a yw is e R ep o r t( )C re a te E m p lo ye e( )D e le te E m p lo ye e ( )

E m p l o ye e

U s e r N a m eP a s s w o rde m a i lIdP h o n e N u m b e r

Vie w R e q u e s t()Ap ro ve R e q u e s t( )R e je c t R e q u e s t( )

E m p l o e e B AL

Vie w R e q u e s t()Ap ro ve R e q u e s t( )R e je c t R e q u e s t( )

E m p l o ye e D AL

Vie w R e q u e s t()Ap ro ve R e q u e s t( )R e je c t R e q u e s t( )

C u s to m e r

IdN a m eP h o n e N u m b erE m a i l idL o ca tio nc ityS ta teP a s s w o rd

R e g is te r( )C re a te P ro d u cts ()Vie w P ro d u c ts ( )B u y P rod u c ts ( )S e ll P ro d uc ts ()C re a te P ro d u ctTyp e ( )

C u s to m e rB AL

R e g is te r( )C re a te P ro d u cts ()Vie w P ro d u c ts ( )B u y P rod u c ts ( )S e ll P ro d uc ts ()C re a te P ro d u ctTyp e ( )

C u s to m e rD AL

R e g is te r( )C re a te P ro d u cts ()Vie w P ro d u c ts ( )B u y P rod u c ts ( )S e ll P ro d uc ts ()C re a te P ro d u ctTyp e ( )o p n a m e ( )

Page 25: Online Market Srs

P a g e | 25

25