ecart online shopping system in java

Upload: sajo-sunny

Post on 06-Jul-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 Ecart online shopping system in java

    1/31

    1

    “eCart – Online Shopping portal”

    A Project Report

    Submitted in the partial fulfillment for the award of degree of

    BACHELOR OF TECHNOLOGYIN

    Computer S ien e ! Engineering"N#ER THE S"$ER%&S&ON OF

    'r(Anupam Sharma

    BY

    SA)O 'ON S* S"'&T

    TO

    NORTHERN &N#&A ENG&NEER&NG COLLEGE* NE+ #ELH&

    April* ,-./

  • 8/17/2019 Ecart online shopping system in java

    2/31

    2

    #ECLARAT&ON

    This is to certify that the project entitled “eCart0Online Shopping $ortal” which issubmitted by us in partial fulfillment of the requirement for the award of degree B Tech in!omputer Science " #ngineering to $N%RTRN IN'IA #N(IN##RIN( !%))#(#*

    New 'elhi+* comprises only my original wor, and due ac,nowledgement has been made inthe te-t to all other material used

    #ATE1 ./0N%1#2B#R03.45

    Name o2 Stu3ent41

    SA6% 2%N S

    S72IT

    Appro5e3 B61

  • 8/17/2019 Ecart online shopping system in java

    3/31

    3

    AC7NO+LE#GE'ENT

    (ratitude cannot be seen or e-pressed It can only be felt in heart and is beyonddescription %ften words are inadequate to ser8e as a model of e-pression of one9s feeling*specially the sense of indebtedness and gratitude to all those who help us in our duty

    It is of immense pleasure and profound pri8ilege to e-press my gratitude andindebtedness along with sincere than,s to 'r(Anupam Sharma for pro8iding me theopportunity to wor, for a project on “eCart0Online Shopping $ortal”(

    I want to formally ac,nowledge my sincerest gratitude to all those who assisted andguided me in completing this project report and ma,ing my training a memorable andsuccessful e-perience

  • 8/17/2019 Ecart online shopping system in java

    4/31

    4

    ABSTRACT

    The central concept of the application is to allow the customer to shop 8irtually

    using the Internet and allow customers to buy the items and articles of their

    desire from the store The information pertaining to the products are stores on

    an R'B2S at the ser8er side :store; The Ser8er process the customers and the

    items are shipped to the address submitted by them The application was

    designed into two modules first %s for the customers who wish to buy the

    articles Second is for the store,eepers who maintains and updates the

    information pertaining to the articles and those of the customers< The end user

    of this product is a departmental store where the application is hosted on the

    web and the administrator maintains the database The application which is

    deployed at the customer database* the details of the items are brought forward

    from the database for the customer 8iew based on the selection through the

    menu and the database of all the products are updated at the end of each

    transaction 'ata entry into the application can be done through 8arious screens

    designed for 8arious le8els of users %nce the authori=ed personnel feed the

    rele8ant data into the system* se8eral reports could be generated as per the

    security

  • 8/17/2019 Ecart online shopping system in java

    5/31

    5

    TABLE OF CONTENTS

    ABSTRACT i

    L&ST OF F&G"RE ii

    L&ST OF TABLES i5

    AC7NO+LE#GE'ENT 5

    .( &NTRO#"CT&ON $AGE

    4 4 PR%6#!T %B6#!TI1#S 44 3 PR%6#!T %1#R 1I#> 3

    4 ? PR%6#!T S!%P# 3

    .(8 ST"#Y OF SYSTE'S 9

    4 @ 4 2%'7)#S ?

    4 @ 4 4 A'2IN ?

    4 @ 4 3 2%'#RAT%R 44

    4 @ 4 ? 7S#R 43

    ,( SYSTE' ANALYS&S .:

    3 4 # ISTIN( S ST#2 45

    3 3 PR%P%S#' S ST#2 4/

    ,(9 SYSTE' RE;"&RE'ENT S$EC&F&CAT&ON ./

    3 ? 4 (#N#RA) '#S!RIPTI%N 4/

    3 ? 3 S ST#2 %B6#!TI1#S 4C

  • 8/17/2019 Ecart online shopping system in java

    6/31

    6

    3 ? ? S ST#2 R#D7IR#2#NTS 4C

    3 ? ? 4 N%N E7N!TI%NA) R#D7IR#2#NT 4F

    3 ? ? 3 E7N!TI%NA) R#D7IR#2#NT 4G

    9( SYSTE' #ES&GN ,9

    ? 4 INP7T AN' %7TP7T '#SI(N 3@

    ? 4 4 INP7T '#SI(N 3@

    ? 4 3 %7TP7T '#SI(N 3@? 3 'ATABAS# 35

    9(9 SYSTE' TOOLS ,:

    ? ? 4 ER%NT #N' 3/

    ? ? 3 BA!H #N' 3C

    ? @ TAB)#S 3F

    ? 5 #0R 'IA(RA2S ?.

    ? / 'ATA E)%> 'IA(RA2S :'E'; ?3

    ? C S!R##N S&%TS ?G

    ? F SA2P)# !%'# @C

    8( CONCL"S&ON /<

    REFERENCES /=

  • 8/17/2019 Ecart online shopping system in java

    7/31

    7

    &NTRO#"CT&ON This project is a web based shopping system for an e-isting shop The project

    objecti8e is to deli8er the online shopping application into android platform

    %nline shopping is the process whereby consumers directly buy goods or

    ser8ices from a seller in real0time* without an intermediary ser8ice* o8er the

    Internet It is a form of electronic commerce This project is an attempt to

    pro8ide the ad8antages of online shopping to customers of a real shop It helps

    buying the products in the shop anywhere through internet by using an android

    de8ice Thus the customer will get the ser8ice of online shopping and home

    deli8ery from his fa8ourite shop

    .(. $RO)ECT OB)ECT&%E1

    The objecti8e of the project is to ma,e an application in android platform to

    purchase items in an e-isting shop In order to build such an application

    complete web support need to be pro8ided A complete and efficient webapplication which can pro8ide the online shopping e-perience is the basic

    objecti8e of the project The web application can be implemented in the form of

    an android application with web 8iew

    .(, $RO)ECT O%ER %&E+1

    The central concept of the application is to allow the customer to shop 8irtuallyusing the Internet and allow customers to buy the items and articles of theirdesire from the store The information pertaining to the products are stores onan R'B2S at the ser8er side :store;The Ser8er process the customers and the items are shipped to the addresssubmitted by them The application was designed into two modules first is forthe customers who wish to buy the articles Second is for the store,eepers whomaintains and updates the information pertaining to the articles and those of thecustomers The end user of this product is a departmental store where theapplication is hosted on the web and the administrator maintains the database

  • 8/17/2019 Ecart online shopping system in java

    8/31

    8

    The application which is deployed at the customer database* the details of theitems are brought forward from the database for the customer 8iew based on theselection through the menu and the database of all the products are updated atthe end of each transaction 'ata entry into the application can be done through

    8arious screens designed for 8arious le8els of users %nce the authori=ed personnel feed the rele8ant data into the system* se8eral reports could begenerated as per the security

    $ropo4e3 S64tem1

    The de8elopment of this new system contains the following acti8ities* which tryto de8elop on0line application by ,eeping the entire process in the 8iew of

    database integration approach• Secure registration and profile management facilities for !ustomers

    • Browsing through the e02all to see the items that are there in eachcategory of products li,e Apparel* Hitchen accessories* Bath accessories*Eood items etc

    • !reating a Shopping cart so that customer can Shoppe n9 no of itemsand chec,out finally with the entire shopping cart

    • !ustomers should be able to mail the Shop about the items they wouldli,e to see in the Shop

    • Secured mechanism for chec,ing out from the Shop: !redit card8erification mechanism ;

    • 7pdates to customers about the Recent Items in the Shop

    • 7ploading 2ost Purchased9 Items in each category of products in theShop li,e Apparel* Hitchen accessories* Bath accessories* Eood items etc

  • 8/17/2019 Ecart online shopping system in java

    9/31

    9

    Num>er o2 'o3ule4The system after careful analysis has been identified to be presented with thefollowing modulesJ4 !ustomer

    3 #mployee

    ? Admin 2odule

    @ Security and Authentication

    So2t?are Re@uirement4%perating System J >indows PKC or )inu-7ser Interface J &T2)* !SS

    !lient0side Scripting J 6a8aScript

    Programming )anguage J 6a8a

    >eb Applications J 6'B!* Ser8lets* 6SP

    I'#K>or,bench J 2y #clipse / .

    'atabase J %racle 4.g

    Ser8er 'eployment J Tomcat 5 -Erame >or, J Struts 4 -

    Har3?are Re@uirement4Processor J Pentium I1

    &ard 'is, J @.(B

    RA2 J 5432B or more

  • 8/17/2019 Ecart online shopping system in java

    10/31

    10

    ST"#Y OF THE SYSTE'

    1.4.1 MODULES:

    The system after careful analysis has been identified to be presented with the

    following modules and roles

    The modules in8ol8ed areJ

    Administrator

    2oderators

    7sers

    .(8(.(. A#'&N&STRATOR1

    The administrator is the super user of this application %nly admin ha8eaccess into this admin page Admin may be the owner of the shop Theadministrator has all the information about all the users and about all

    productsThis module is di8ided into different sub0modules2anage 2oderators

    2anage Products

    2anage 7sers

    2anage %rders

  • 8/17/2019 Ecart online shopping system in java

    11/31

    11

    Eig 4 4J Admin module

  • 8/17/2019 Ecart online shopping system in java

    12/31

    12

    'ANAGE 'O#ERATOR

    Eig4 3J 2anage 2oderator

    Add 2oderator

    %nly admin is ha8ing the pri8ilege to add a moderator A moderator can be considered asa staff who manages the orders or owner of a group of products

    Bloc, moderator

    Admin can restrict a moderator from managing the orders by bloc,ing them Admin canunbloc, a bloc,ed user if needed

    Remo8e 2oderator

    Admin has pri8ilege to delete a moderator who was addedSearch moderatorJ

    All e-isting moderators can be 8iewed by the administrator as a list If there is number ofmoderators and admin need to find one of them* the admin can search for a moderator byname

  • 8/17/2019 Ecart online shopping system in java

    13/31

    13

    'ANAGE $RO#"CTS

    Eig4 ?J 2anage Products

    Add Products

    The shopping cart project contains different ,ind of products The products can beclassified into different categories by name Admin can add new products into the e-istingsystem with all its details including an image

    'elete Products

    Administrator can delete the products based on the stoc, of that particular product

    Search products

    Admin will ha8e a list 8iew of all the e-isting products &e can also search for a

    particular product by name

  • 8/17/2019 Ecart online shopping system in java

    14/31

    14

    'ANAGE "SER

    Eig 4 @J 2anage 7ser1iew 7sers

    The admin will ha8e a list 8iew of all the users registered in the system Admin can 8iewall the details of each user in the list e-cept password

    Add 7sers

    Admin has pri8ileges to add a user directly by pro8iding the details'elete "Bloc, 7sers

    Administrator has a right to delete or bloc, a user The default status of a new userregistered is set as bloc,ed The admin must accept the new user by unbloc,ing him

  • 8/17/2019 Ecart online shopping system in java

    15/31

    15

    'ANAGE OR#ERS

    Eig 4 5J 2anage %rders1iew %rder

    Administrator can 8iew the %rders which is generated by the users &e can 8erify thedetails of the purchase

    'elete order

    Admin can delete order from the orders list when the product is ta,en for deli8ery

    4 @ 4 3 2%'#RAT%RS

    Eig 4 /J 2oderator 2odule

    A moderator is considered as a staff who can manage orders for the time

    being As a future update moderator may gi8e facility to add and manage his

    own products 2oderators can reduce the wor, load of admin Now

    moderator has all the pri8ilege an admin ha8ing e-cept managing other

    %nline Shopping System 'epartment of !omputer Science* !7SAT Page 33moderators &e can add products and users &e can also chec, the orders and

    edit his profile

    2anage products

    2anage users

    2anage orders

  • 8/17/2019 Ecart online shopping system in java

    16/31

    16

    4 @ 4 ? 7S#RS

    Eig 4 CJ 7ser 2odule

    Registration

    %nline Shopping System 'epartment of !omputer Science* !7SAT Page 3?

    A new user will ha8e to register in the system by pro8iding essential details

    in order to 8iew the products in the system The admin must accept a new

    user by unbloc,ing him

    )ogin

    A user must login with his user name and password to the system after registration

    1iew Products

    7ser can 8iew the list of products based on their names after successful

    login A detailed description of a particular product with product name*

    products details* product image* price can be 8iewed by usersSearch Product

    7sers can search for a particular product in the list by name

    Add to cartJ

    The user can add the desired product into his cart by clic,ing add to cartoption on the product

    &e can 8iew his cart by clic,ing on the cart button All products added by

    cart can be 8iewed in the cart 7ser can remo8e an item from the cart by

    clic,ing remo8e %nline Shopping System 'epartment of !omputer Science*

    !7SAT Page 3@

    Submit !artJ

  • 8/17/2019 Ecart online shopping system in java

    17/31

    17

    After confirming the items in the cart the user can submit the cart by

    pro8iding a deli8ery address %n successful submitting the cart will become

    empty

    &istory

    In the history the user will ha8e a 8iew of pending orders

    #dit Profile

    The user can 8iew and edit the profile

  • 8/17/2019 Ecart online shopping system in java

    18/31

    18

    CREEN HOT

  • 8/17/2019 Ecart online shopping system in java

    19/31

    19

    HO'E $AGE

  • 8/17/2019 Ecart online shopping system in java

    20/31

    20

    "SER REG&STRAT&ON $AGE

  • 8/17/2019 Ecart online shopping system in java

    21/31

    21

  • 8/17/2019 Ecart online shopping system in java

    22/31

    22

    LOG&N $AGE

  • 8/17/2019 Ecart online shopping system in java

    23/31

    23

    A#'&N&STRATOR HO'E$AGE

  • 8/17/2019 Ecart online shopping system in java

    24/31

    24

    "SER #ETA&LS $AGE

    CATEGORY0TABLE

    LOG&N0TABLE

  • 8/17/2019 Ecart online shopping system in java

    25/31

    25

    NE+ $RO#"CT TABLE

  • 8/17/2019 Ecart online shopping system in java

    26/31

    26

    $RO#"CT0 #ETA&LS TABLE

    SELLER TABLE

  • 8/17/2019 Ecart online shopping system in java

    27/31

    27

  • 8/17/2019 Ecart online shopping system in java

    28/31

    28

    SPECIAL-PRODUCT TABLE

    SUB-CATEGORY TABLE

  • 8/17/2019 Ecart online shopping system in java

    29/31

    29

    USER-DETAILS TABLE

  • 8/17/2019 Ecart online shopping system in java

    30/31

    30

    &NTER$RETAT&ON OFTHE RES"LT

  • 8/17/2019 Ecart online shopping system in java

    31/31

    31

    The system has been implemented and tested successfully It meetsthe information requirements specified to the great e-tent althoughthe system has been designed ,eeping the present and futurerequirements in mind and made 8ery fle-ibleThere are limitations of the system proper consideration has beengi8en for a wide range of new enhancements The system is de8elopeduser friendly In future * if it is required to generate reports other than

    pro8ided by the system it can be simply achie8ed by a separatemodule to the main menu without affecting the design of the system