48
ONLINE SHOPPING FOR TELEVISION By S.KRISHNA MOORTHY (Reg No: 41502621025) Of SRM Engineering College A PROJECT REPORT Submitted to the FACULTY OF INFORMATION TECHNOLOGY AND COMMUNICATION ENGINEERING In partial fulfillment of the requirements for the award of the degree of MASTER OF COMPUTER APPLICATION JUNE 2005

Online Shopping for Television

Embed Size (px)

Citation preview

Page 1: Online Shopping for Television

ONLINE SHOPPING FOR TELEVISION

By

S.KRISHNA MOORTHY (Reg No: 41502621025)

Of

SRM Engineering College

A PROJECT REPORT Submitted to the

FACULTY OF INFORMATION TECHNOLOGY AND

COMMUNICATION ENGINEERING

In partial fulfillment of the requirements

for the award of the degree

of

MASTER OF COMPUTER APPLICATION

JUNE 2005

Page 2: Online Shopping for Television

BONAFIDE CERTIFICATE

Certified that this project report titled Online Shopping For Television is

the bonafide work of Mr. S.KRISHNA MOORTHY who carried out the research under

my supervision. Certified further, that to the best of my knowledge the work reported

herein does not form part of any other project report or dissertation on the basis of which a

degree or award was conferred on an earlier occasion on this or any other candidate.

Internal Guide Head of the Department Mr. A.Vijay Bharath M.C.A., MPhil., Prof.S. Sagayaraj, M.C.A., M.Phil, Lecturer, Head of the Department, Department of Computer Application, Department of Computer Application, SRM Engineering College, SRM Engineering College, S.R.M. Nagar, Kattankulathur, S.R.M. Nagar, Kattankulathur, Kancheepuram District. Kancheepuram District.

ABSTRACT

“Online Shopping for Television”, Inc. is a new web-based startup Television &

Player company. They would like to setup an online Television & Player show room on the

web which will serve as a virtual showcase for everything that is related to the product. The

site would provide information on Television & Player brands along with the latest

technologies.

Key features of Online Shopping for Television include:

• The user should have a preview of the Television & Player before buying it.

• Users on the site should be able to search for Television & Player models on multiple

keywords like brand name, size, price range, warranty, features.

• Daily updating of information on the site.

• Consumption of time

Page 3: Online Shopping for Television

Television & Player, Inc. has also setup a web site maintenance team that will update

the site every day based on the Television & Player model introduced in the market. Regular

updates will ensure that the visitors to the site have up-to-date information on all Television

& Player models.

ACKNOWLEDGMENT

If words are considered as symbols of approval and tokens of acknowledgment, then

let the words play the heralding role of expressing my gratitude to all who have me directly

or indirectly during my project work.

I feel it a great pleasure to thanks, Thiru. T.R. Pachamuthu Chairman and

Founder of S.R.M. Group, Chennai for providing me excellent facilities.

I owe my gratitude to our Principal Prof. R.Venkataramani, B.E.,M.Tech.,F.I.E., who

gave me this wonderful opportunity to exhibit my excellence.

I am indebted to Prof. S. Sagayaraj, M.C.A.,M.Phil. Head of Department of

Computer Applications, for his enlightening guidance throughout my project.

I am happy to express my sincere thanks to Mr. A.Vijay Bharath M.C.A., MPhil.,

Project Guide, Lecturer, Department of Computer Applications, for her constant

encouragement and effort taken in directing me all through my project work.

I am thankful to Mr. P.Thangamuthu, Managing Director, Kaveri Infosys

Pvt.Ltd, Thiruvanmiyur, Chennai for rendering me permission to carry out my project

work in the organization. I am very thankful to my external guide Mr. A.Saminathan,

Team Leader for his guidance morally and technically.

I am equally thankful to all employees of the Kaveri Infosys, for their support

through out the project period.

I express my profound gratitude to my parents and other family members for their

moral support and above all I thank the Almighty for his grace through out my endeavors.

Page 4: Online Shopping for Television

TABLE OF CONTENTS

CHAPTER NO TITLE PAGE NO

ABSTRACT iii

LIST OF TABLES vi

LIST OF FIGURES vii

1. INTRODUCTION

1.1 ABOUT THE PROJECT 1

1.2 ORGANIZATION PROFILE 3

2. WORKING ENVIRONMENT

2.1 HARDWARE SPECIFICATION 4

2.2 SOFTWARE SPECIFICATION 4

3. ABOUT THE SOFTWARE 5

4. PROBLEM DESCRIPTION AND DEFINITION

4.1 PROBLEM DEFINITION 11

4.2 PROBLEM DESCRIPTION 11

5. SYSTEM ANALYSIS

5.1 EXISTING SYSTEM 13

5.2 PROPOSED SYSTEM 13

5.3 FEASIBILITY STUDY 13

6. SYSTEM DESIGN

6.1. DATA FLOW DIAGRAM 14

6.2 DATABASE DESIGN 16

6.3 E-R DIAGRAM 18

7. SYSTEM IMPLEMENTATION 22

8. SYSTEM TESTING

8.1 TESTING PROCEDURE 23

9. CONCLUSION 27

APPENDICES

SCREEN LAYOUTS 28

REFERENCES 46

Page 5: Online Shopping for Television

LIST OF TABLES

TABLE NO TABLES PAGE NO

6.2.1 Customer Master Table 16

6.2.2 Product Master Table 17

6.2.3 Company Master Table 17

6.2.4 Invoice Master Table 17

6.2.5 Invoice Child Table 17

6.2.6 Credit Card Detail Table 18

6.2.7 Feed Back Table 18

Page 6: Online Shopping for Television

LIST OF FIGURES

FIG NO FIGURE PAGE NO

6.1.1 Overall Process in Project 14

6.1.2 Modules Flow 15

6.3.1 Company Profile Module Flow 19

6.3.2 Service Center Module Flow 20

6.3.3 Office Module Flow 20

6.3.4 Feed Back Module Flow 21

A.1 Login Form 28

A.2 Registration Form 29

A.3 Change Password Form 30

A.4 Forgot Password Form 31

A.5 Home Page 32

A.6 About Us 33

A.7 Service Center Form 34

A.8 Office Form 35

A.9 Feedback 36

A.10 TV Shows 37

A.11 TV Diagonal Screen Size (40-49) 38

A.12 TV Manufacturers (Sony) 39

A.13 CD Players 40

A.14 Product Description 41

A.15 Buy Now 42

A.16 Bill Statement 43

A.17 Card Validation 44

A.18 Checking the Amount 45

Page 7: Online Shopping for Television

CHAPTER 1

INTRODUCTION

1.1 ABOUT THE PROJECT

Television & Player, Inc. is a new web-based startup Television & Player company.

They would like to setup an online Television & Player show room on the web which will

serve as a virtual showcase for everything that is related to the product. The site would

provide information on Television & Player brands along with the latest technologies.

Based on a market survey done for them by a renowned market research firm, there

are certain essential features that are required to be incorporated on the site. If followed,

these recommendations will ensure popularity of the site and ensure that there is a regular

flow of traffic to the site.

The recommendations are:

⇒ The information on the site can be updated daily.

⇒ User on the site should be able to search the range of products based on multiple

keywords like brand name, size, price range, warranty, features, and service centers.

⇒ The site should allow messages to be sent to each individual user with a personalized

touch.

⇒ Users should be greeted with a welcome message when they login and later on, send

a mail to the user mailbox regarding any queries.

⇒ The user should have a part in choosing the Television & Player models that will be

displayed on the site.

⇒ The user should have a preview of the Television & Player before buying it.

Page 8: Online Shopping for Television

Requirements

Television & Player, Inc. has hired a team of developers to assist them in

creating the site and implementing the recommendations. It is up to the team of

developers headed by their project manager Saminathan to translate the requirements to

features on the live site.

Along with the team of developers for the site, Television & Player, Inc. has also

setup a web site maintenance team that will update the site every day based on the

Television & Player model introduced in the market. Regular updates will ensure that the

visitors to the site have up-to-date information on all Television & Player models.

Saminathan has done a thorough analysis of the system and has interviewed the

different roles that will interact with the system and has drawn-up a two phase

implementation plan for the site.

In the first phase, they will focus on the following requirements:

⇒ Daily updating of information on the site.

⇒ Users on the site should be able to search for Television & Player models on

multiple keywords like brand name, size, price range, warranty, features.

⇒ The site should allow messages to be sent to each individual users with a

personalized touch.

⇒ The user should have a part in choosing the Television & Player models that will

be displayed on the site.

In the second phase of the project implementation, the development team will

focus on:

⇒ The site will have to be personalized to the user’s taste.

⇒ The user should have a preview of the Television & Player before buying it.

Page 9: Online Shopping for Television

1.2 ORGANIZATION PROFILE

Kaveri Infosys, an ISO 9001:2000 certified company and a 100% EOU registered with

Software Technology Parks of India, is the Indian strategic partner of the Infosys, Inc.

Chicago. IL. U.S.A. Kaveri Infosys is one of the leading providers of Windows-based

software solutions for the healthcare continuum.

Incorporated in November 1995, Kaveri Infosys Pvt. Ltd has been totally focused

on software development for the healthcare industry. It has all along been a leading provider

of integrated software system for healthcare automation services. We at Kaveri Infosys are

committed to provide error free software through continual improvement. We maintain

highly competent human resources so that the customer's requirements are always met.

Mission

To improve the relationship among Patients, Provider and insurers by delivering quality

products and services to managed healthcare services continuum and enabling them to

expedite the availability of high quality, cost-effective and on time medical services.

To create a work environment in which employees can take pride and find enjoyment,

opportunity and satisfaction.

To lead the industry in meeting the needs of our markets in three areas- Customer

Satisfaction, Quality and Innovation.

CHAPTER 2

WORKING ENVIRONMENT

2.1 HARDWARE SPECIFICATION

All the hard physical materials used in any system are called Hardware. These are the

devices, which are made to perform specific function and can do only those work as

instructed. They can be both electronic devices and mechanical systems.

Page 10: Online Shopping for Television

System : HCL

Processor : Intel Pentium IV

Speed : 2.0 MHz

RAM : 256 MB

Hard Disk : 20 GB

Monitor : SVGA Color

Keyboard : 104 Keys

Mouse : Scroll Mouse

2.2 SOFTWARE SPECIFICATION

Software is a set of instructions which are used to command any system to perform

any operation. Software has the advantage to make decisions and to deliver sensible results

and is useful in handling complex situations.

Front end : HTML

Client side script : Java script

Back end : Oracle 8i

Server side control : Servlet

Server : Tomcat

Operating System : Windows 2000

CHAPTER 3

ABOUT THE SOFTWARE

ABOUT FRONT-END

Front End Design (HTML):

The Hypertext Markup Language (HTML) is a subset of the Standard Generalized

Markup Language (SGML).HTML describes the layout and content of a wed page so that it

can be understood by a wide variety of user agents; these various user agents are permitted

to interpret the HTML markup in different way. Today, HTML is moving in the direction of

Page 11: Online Shopping for Television

giving total power to the wed designer over a page’s appearance and interpretation.HTML

provides the basic framework within which content is included; it also gives control over the

appearance and functionality of the various elements that comprise a wed page. The

hypertext link is the heart of the Hypertext Markup Language, the one element without

which it would simply be another standalone page-layout system. Tags are the factors that

define the elements in a web page. Some elements require start and end tags, some have

optional end tags, and others have no end tags at all. Every element has attributes, some of

which are particular to it and others that are common to all elements. The web page is the

fundamental element of HTML, and it encapsulates all the other elements.

Front End Control (Java Script):

Scripting languages are not new to the World Wide Web. Form the first days of the

web and CGI, scripting languages such as Perl have helped developers create CGI

applications or have aided webmasters in processing forms.

Java script is supported across multiple browsers; it’s an excellent choice or client-

side scripting. It can be used to customize web pages for individual users. It can be used by

webmasters to gather user data through cookies. It can also be used to generate and validate

forms. Java script brings powerful, flexible scripting from the web server to the web client.

Why an object-oriented scripting language? An object-oriented scripting language for

the web also makes sense, because many of the HTML elements you use to create web pages

can easily be thought of in an objects model. By utilizing an object –oriented language such

as java script to manipulate HTML objects, the coding becomes much simpler and easier to

support for multiple platforms. These are a few of the reasons why both Netscape and

Microsoft support Java script for development in the Netscape Communicator and

Microsoft Internet Explorer browsers.

About Operating System

Microsoft Windows 2000 Professional is the most reliable desktop operating system

for business. Building on the power of Windows NT and the ease of using Windows 98,

Windows 2000 is the best choice for work environments - big and small. Windows 2000

Page 12: Online Shopping for Television

Professional offers the launching pad businesses need to benefit from the productivity and

Internet applications that they use most.

When combined with Windows 2000 Server, Windows 2000 Professional is the

foundation for the distributed platform that will optimize your business for today’s dynamic

work environment. It’s more reliable, secure, and manageable than Windows NT

Workstation because of its new file encryption system and application management tools.

Windows 2000 Professional was designed for business solutions and is not intended to

replace Windows 95 or 98 for entertainment, gaming, or typical home use. With its

responsive user interface and improved reliability, Windows 2000 Professional is truly the

most appealing version yet of Microsoft’s operating system. Provided you have the hardware

to run it (at least 64 MB of RAM is required), you won’t find a better, more serious OS for

business computing.

If you are upgrading from previous editions, the Windows 2000 wizards are

particularly useful; they'll detect all your software and possible compatibility problems before

you make the switch. In testing, our upgrade for a laptop was smooth and sure, and all

previously installed software was automatically brought onboard to the new version

Windows 2000, however, allows most recent laptops to take advantage of power-

management features, plug-and-play standard, plus recent hardware advances, such as the

Universal Serial Bus (USB), IrDA for infrared devices, and FireWire. All these improvements

mean that Windows 2000 will run on a greater array of systems.

There are some unexpected additions, too. You can also "hibernate" your Windows

2000 notebook to save and restore your work quickly as you go out on the road. In addition,

this new OS adds more support for working offline with data saved from the Internet. (The

Windows 2000 version of Internet Explorer 5.0 and Active Desktop, which allows you to

access Web content from the desktop, are bundled here too.)

Besides support for mobile users, Windows 2000 beefs up reliability and greatly

reduces the need to reboot as you update drivers, settings, and the like. Although you can

still expect your Linux friends to brag that their favorite OS is even more reliable, the ease of

configuration in Windows 2000 and its new-and-improved reliability make for an excellent

choice for any serious computer user. Of course, if your business is using Windows 2000

Server on the back end, you will also benefit from easier installation and configuring of

software, since remote administrators can now automate these tasks.

Page 13: Online Shopping for Television

In all, Windows 2000 is a great-looking operating system, with a slick visual style, a

responsive user interface, and plenty of power beneath the hood. For desktop and mobile

users, it's a state-of-the-art choice for running today's Windows applications and for getting

to the Internet.

ABOUT BACK-END

Server Control (Servlet): Servlet are Java technology's answer to CGI programming. They are programs that

run on a Web server and build Web pages. Building Web pages on the fly is useful (and

commonly done) for a number of reasons:

• The Web page is based on data submitted by the user.

• The data changes frequently.

• The Web page uses information from corporate databases or other such sources.

Java servlets are more efficient, easier to use, more powerful, more portable, and

cheaper than traditional CGI and than many alternative CGI-like technologies. (More

importantly, servlets developers get paid more than Perl programmers :-

• Efficient. With traditional CGI, a new process is started for each HTTP request. If

the CGI program does a relatively fast operation, the overhead of starting the

process can dominate the execution time. With servlets, the Java Virtual Machine

stays up, and each request is handled by a lightweight Java thread, not a heavyweight

operating system process. Similarly, in traditional CGI, if there are N simultaneous

request to the same CGI program, then the code for the CGI program is loaded into

memory N times. With servlets, however, there are N threads but only a single copy

of the servlets class. Servlets also have more alternatives than do regular CGI

programs for optimizations such as caching previous computations, keeping

database connections open, and the like.

• Convenient. Hey, you already know Java. Why learn Perl too? Besides the

convenience of being able to use a familiar language, servlets have an extensive

infrastructure for automatically parsing and decoding HTML form data, reading and

Page 14: Online Shopping for Television

setting HTTP headers, handling cookies, tracking sessions, and many other such

utilities.

• Powerful. Java servlets let you easily do several things that are difficult or impossible

with regular CGI. For one thing, servlets can talk directly to the Web server (regular

CGI programs can't). This simplifies operations that need to look up images and

other data stored in standard places. Servlets can also share data among each other,

making useful thing like database connection pools easy to implement. They can also

maintain information from request to request, simplifying things like session tracking

and caching of previous computations.

• Portable. Servlets are written in Java and follow a well-standardized API.

Consequently, servlets written for, say I-Planet Enterprise Server can run virtually

unchanged on Apache, Microsoft IIS, or Web Star. Servlets are supported directly or

via a plug-in on almost every major Web server.

• Inexpensive. There are a number of free or very inexpensive Web servers available

that are good for "personal" use or low-volume Web sites. However, with the major

exception of Apache, which is free, most commercial-quality Web servers are

relatively expensive. Nevertheless, once you have a Web server, no matter the cost of

that server, adding servlet support to it (if it doesn't come preconfigured to support

servlets) is generally free or cheap.

Data Base (Oracle8i):

SQL stands for structured query language, which is used to communicate with the

relational database, which is intern, a set of related information stored in the form of tables.

SQL is a non-procedural language because it processes sets of records rather than just one

data at a time and also provides automatic navigation to the data. Here one can manipulate

set of rows rather than one at a time. SQL commands accept sets or rows as input and

returns sets as output.

Oracle databases have been around for quite a while now. Oracle released their 9i

(9.0.1) version about a year ago. Many companies are still using the 8i (8.1.x), 8 (8.0.x) and

Page 15: Online Shopping for Television

7.x database versions. For the most part, everything that is available in a lower version will

be available in a higher version as well. There are a few minor exceptions, but the Oracle

databases tend to be backwards compatible. When Oracle releases a new version, their

documentation contains a list of all the features new to that version. So it is worthwhile for

the DBA to read this documentation to discover what is new in the database. To give you an

idea of what is "new" consider this...Oracle 8i introduced many new features for the

developer. With 8i, you could run Java in the database, you had expanded tools to help with

object-oriented development and 8i introduced some enhancements to support larger

databases (Materialized Views, additions to partitioning). Oracle 9i introduced many new

features to help the DBA such as the ability to change database configuration "on the fly",

enhanced availability and enhanced manageability. The advantage of a higher version is that

you have more features and better capabilities. You also stay current with the latest

"supported" versions. The disadvantage of these new systems is that you have to convert

your older databases to the newer versions. This can sometimes cause application changes as

well. The advantage of staying at a lower version is that you know it works and you don't

have to change a thing. The disadvantage is that you can't use any of the latest and greatest

features and that you may lose support.

JAVA DataBase Connectivity

JDBC provides a standard library for accessing relational databases. Using the JDBC

API, we can access a wide variety of different SQL databases with exactly the same Java

syntax. It is important to note that although JDBC standardizes the mechanism for

connecting to databases, the syntax for sending queries and committing transactions, and the

data structure representing the result; it does not attempt to standardize the SQL syntax.

Since most queries follow standard SQL syntax, using JDBC we change database hosts,

ports, and even database vendors with minimal changes in our code.

Page 16: Online Shopping for Television

CHAPTER 4

PROBLEM DESCRIPTION AND DEFINITION

4.1 PROBLEM DEFINITION

“Online Shopping for Television And Player” is a user friendly, Web-based system

that provides information about television and player. Using this, customer can view the

various products according to their requirements, by using the search button the customer

can view the products quickly and purchase the products through online using their credit

cards.

4.2 PROBLEM DESCRIPTION

Project Description

The Online Shopping of TVs and Players is used to infer information about the

latest technology introduced in the world. It is easy to identify the particular models that

will be displayed on the site. The main functions include in this project are

• Online Purchase

• Finding the Service centers

• Finding the Branch or Corporate Office

• Search for a TVs or Players

• To know the full details of each products

Online Purchase The customer how are having the user id in our site can easily purchase our products

through online. The customer must have the cards to purchase our products.

Service Centers The customer can find the authorized service center for his products through online

by giving their current location like product name, city and country.

Page 17: Online Shopping for Television

Branch Office Branch Office is similar to service center, if the customer give the manufacturing

name, city and country report will be displayed with the address and phone number.

Description about products

Description about each product will be maintained in database with their product

ID. Daily updating of product information on the site will be made easily.

Searching the product The customer can search the product on multiple keywords like brand name, size,

price range, warranty, features.

CHAPTER 5

SYSTEM ANALYSIS

System Analysis is a detailed study of the various operations performed by a system

and their relationships within and outside of the system. One aspect of analysis is defining

the boundaries of the system and determining whether or not the candidate system should

consider other related systems.

5.1 EXISTING SYSTEM

About existing system • No option for the service centers for the product.

• Updating of the product details will be difficult.

• No option for the branch or corporate office for the product.

5.2 PROPOSED SYSTEM

• Updating of the product will be done easily.

• There is an option for searching an address of the authorized service center.

• Users are given full freedom to send their feedback.

Page 18: Online Shopping for Television

• User has rights to search an address of the corporate or branch office.

• Consumption of time

5.3 FEASIBILITY STUDY

Feasibility Study is the determination that the system requested is feasible after all the

preliminary investigation has been completed. After the problem is clearly understood and

solutions are proposed, the next step is to conduct the feasibility study, which is a part of the

system analysis as well as system design process. The main objective of this study is to

determine whether the proposed system is feasible or not. And feasibility is the

measurement of how suitable the development of a system will be to the organization.

CHAPTER 6

SYSTEM DESIGN

System design is a transition, which goes through logical and physical design with

emphasis on preparing input output specifications, specify implementation plan, preparing

logical design before implementation. A structural design method is followed in the design

system. Structure design partition the programs into small modules that are independent.

The step in design process are review of current physical system, prepare output

specification and preparing an input specification.

6.1. DATA FLOW DIAGRAM

Data Flow Diagram (DFD) is the graphic representation of data movement,

processes, and files (data stores) used in support of information systems. DFD can be used

to represent a system or software at any level of abstraction with graphic network of symbols

showing data flows, data stores, data processes, and data sources/destinations.

Page 19: Online Shopping for Television

Invalid Rejections

Valid Query

Output

Fig 6.1.1 Overall Process in project

Fig 6.1.2 Modules Flow

User Entry

Validate User

Online Customer Service

TV Details Branch Details Service Center Details

Operations

Online Purchase

Company Profile

& Contact

Service Center

Branch Office

Feed Back

Corporate Office Branch Office

Page 20: Online Shopping for Television

6.2 DATABASE DESIGN

The general theme behind the database is to handle information as an integrated

whole. A database is a collection of inter-related data stored with minimum redundancy to

serve many users quickly and efficiently. The general objective is to make information

access easy, quick, inexpensive and flexible for the user.

Basic Concepts of DBMS

Database management system (DBMS) is a collection of interrelated data and a set of

programs to access data. The collection of data is referred to as database. The primary

objective of a DBMS is to provide an environment that is both convenient and efficient to

use in retrieving information from and storing information into the database.

Objectives of DBMS

1. Redundancy can be reduced

2. Inconsistency can be avoided to some extent

3. Conflicting requirements can be balanced

4. Data independence

6.2.1 Customer Master Table

FIELD NAME DATA TYPE SIZE Customer ID Varchar2 20 Password Varchar2 20 First Name Varchar2 20 Last Name Varchar2 20 E mailed Varchar2 20 Date Of Birth Varchar2 10 Address Varchar2 100 City Varchar2 20 Country Varchar2 20 Pin Code Number 10 Phone No Number 10

Page 21: Online Shopping for Television

6.2.2 Product Master Table

FIELD NAME DATA TYPE SIZE Product ID Varchar2 20 Product Name Varchar2 30 Model Varchar2 25 Size Number 3 Warranty Varchar2 20 Watts Varchar2 20 Price Number 10

6.2.3 Company Master Table

FIELD NAME DATA TYPE SIZE

Company Name Varchar2 20 Company Status Varchar2 20 E MailID Varchar2 20 Address Varchar2 100 City Varchar2 20 Country Varchar2 25 Phone No Number 10 Fax No Varchar2 15

6.2.4 Invoice Master Table

FIELD NAME DATA TYPE SIZE Bill No Number 5

Bill Date Varchar2 10 Customer ID Varchar2 10

6.2.5 Invoice Child Table

FIELD NAME DATA TYPE SIZE Bill No Number 5

Product ID Varchar2 20 Product Name Varchar2 30

Quantity Number 3 Amount Number 10

Page 22: Online Shopping for Television

6.2.6 Credit Card Detail Table

FIELD NAME DATA TYPE SIZE

Card No Number 10 Valid Up to Date 10 Card Type Varchar2 20

Credit Limit Number 8 Credit Balance Number 8

6.2.7 Feed Back Table

FIELD NAME DATA TYPE SIZE User Name Varchar2 20 Email ID Varchar2 20 Feed Back Varchar2 80

6.3 E-R DIAGRAM

An Entity-Relationship (ER) diagram is a specialized graphic that illustrates the

interrelationships between entities in a database.

An E-R Diagram can express the overall logical structure of a database graphically.

The relative simplicity and pictorial clarity of this diagramming technique may well account

in large or the widespread use of the E-R model.

Entity set

An entity is a “thing” or “object” in the real world that is distinguishable from all

other objects. An entity is represented by a set of attributes. An entity set is a set of entities

of the same type that can share the same properties, or attributes.

An entity is a rectangle that contains its name. It touches at least one relationship-

entity and optionally some attribute-entity connectors. It is linked with at least one diamond.

Page 23: Online Shopping for Television

Relationship set

A relationship is an association among several entities. A relationship set is a set of

relationship of the type.

A relationship is a diamond that contains its name. It touches one relationship-entity

and optionally some attribute-entity connectors. It links two entities.

Attributes

An attribute is a circle that contains its name. It touches one attribute-entity

connector and is linked with an entity.

Company Profile Development Center Contact Us Employee Opportunities Service Center

Fig 6.3.1 Company Profile Module Flow

Company Profile

Page 24: Online Shopping for Television

Branch Office TV Manufactures City Country Types of TVs All Over the World Address Phone no

Fig 6.3.2 Service Center Module Flow TV Manufactures Feed Back Office Status Types of TVs Corporate Office Branch Office City Country

Fig 6.3.3 Office Module Flow

Service Center

Office

Page 25: Online Shopping for Television

Name Email Feed Back

Fig 6.3.4 Feed Back Module Flow

CHAPTER 7

SYSTEM IMPLEMENTATION

Implementation means converting a new system design into effective operation. This

involves creating compatible files, training the operating staff before the system is up and

running. The major factor is not disturbing function organization.

Implementation phase of software development is also concerning with translating

specification into source. Source code internal documentation verified, so that debugging

testing and modification are easy. So that implementation should have well defined set of

software requirements, architecture designs specification and detailed description.

Implementation is the one of the most important tasks in project implementation is

the phase in which one has to be cautious, because all the efforts undertaking during the

project will be fruitful only if the software is properly implemented according to the plans

made.

The implementation phase is less creative than system design. It is primarily

concerned with user – training, site – preparation and file conversion. When the manager’s

system is linked to terminals on remote sites, the tests of the network along with the system

are also included under implementation.

Depending on the nature of the system, extensive user training may be required.

Programming is itself a design works. The initial parameters of the management information

Feed Back Form

Page 26: Online Shopping for Television

system should be modified as a result of programming efforts. Programming provides a

reality test for the assumption made by the analyst.

System testing checks the readiness and accuracy of the system to access update and

retrieve data from the new files. Once the program becomes become available the test data

are read into the computer and processed. In most conventions parallel run was conducted to

establish the efficiency of the system.

CHAPTER 8

SYSTEM TESTING

8.1 TESTING PROCEDURE

Testing is a process of executing a program with the intent of finding an error. If

testing is conducted successfully, it will uncover errors in the software. Testing

demonstrates that software functions are working according to specifications, and

performance requirements have been met.

8.1.1 White Box Testing (Glass-Box Testing)

White box testing is a test case design method that uses the control structure of the

procedural design to derive test cases. Using White box testing methods, the test causes

should guarantee that all independent paths within a module have been exercised at least

once.

1 Exercise internal data structures to ensure their validity.

2 Exercise all logical decisions on their true and false values.

3 Exercise all loops at their boundaries and within their operational bounds.

In this project control structure testing is performed extensively as most of the

coding are in a control structure. To ensure the logical errors in this control structure, all the

independent paths are tested using data flow testing method and loop testing technique.

8.1.2 Black Box Testing

Page 27: Online Shopping for Television

Black box testing method enables the test case designer to derive a logical

complexity measure of a procedural design and use this measure as a guide for defining a

basis set of execution paths. Although basis path testing is simple and highly effective, it is

not sufficient in itself.

Black box testing, also called as behavioral testing, focuses on the functional

requirements of the software. This testing alludes to tests that are conducted at the software

interfaces. Integrity of the external information is done by this method.

8.1.3 Unit Testing

Each module is individually tested and finally integrated to form the overall system

Unit testing focuses on verification efforts on the smallest unit of software design in the

module. This is also known as module testing. The modules of the system are tested

separately. This testing is carried out during programming stages. In this step each module

is found to work well and gives expected output from the module.

8.1.4 Integration Testing

Integration testing is the systematic technique for constructing the program structure

while conducting tests to uncover errors associated with interfacing. After the unit test, each

module is gradually integrated to form one final system.

All the modules are unit tested. But, after interfacing the data can be lost across an

interface; One module can have an inadvertent, adverse effort on another, sub functions,

when combined, may not produce the desired major functions; global data structures can

cause problems, etc.

Hence, the objective of integration is to take unit tested modules and build a final

program structure. In PMO Dashboard, the modules are combined to find the overall

performance of the system. This testing is done with sample data, to check whether the

specified function is working properly or not.

8.1.5 System Testing

Page 28: Online Shopping for Television

After every module is integrated, the system test is performed. System testing does

not test the software but it integrates each module in the system. It also tests to find

discrepancies between the system documentation.

The primary concern is the compatibility of the individual modules. Finally after the

completion of all the modifications the end user must satisfy the project.

8.1.6 Recovery Testing

Many computer-based systems must recover from faults and resume processing

within a pre-specified time. In some cases, the system must be fault tolerant; that is, failures

must be corrected within a specified period of time otherwise severe economic damage may

occur.

Recovery testing is a system test that forces the software to fail in a variety of and

verifies that recovery is properly performed or not. If recovery is automatic, then re-

initialization, checkpoint mechanisms and data recovery are each evaluated for correctness.

If recovery requires human intervention, the mean time to repair is evaluated to determine

whether it is within acceptable limits.

In PMO Dashboard, backup of the system is maintained as a softcopy, so if crash

occurs the soft copy can be used or loaded from the server.

8.1.7 Security Testing

Security testing attempts to verify that protection mechanisms built into a system will

protect it from improper penetration.

During Security testing, the tester plays the role of the individual who desires to

penetrate the system. The tester may attempt to acquire passwords through external clerical

means, may attack the system with custom software designed to break down any defense

that have been constructed; may overwhelm, thereby denying services to others; may

purposely cause system errors, hoping to penetrate during recovery; may browse through

insecure data, hoping to find the key to system entry; and so on.

8.1.8 Stress Testing

Page 29: Online Shopping for Television

Stress tests are designed to confront programs with abnormal situations. Stress

testing executes a system in a manner that demands resources in abnormal quantity.

This testing is done in the system by giving enormous amount of data and verified

whether all data are working properly with out any crash and deadlocks.

8.1.9 Verification and Validation Testing

Software testing is often referred to as verification and validation (V&V).

Verification refers to the set of activities that verifies whether a function is implemented

correctly.

Validation is the process of executing the system in a live environment in order to

find faults with the system, if any. The system was tested using both rough data and real

data.

8.1.10 Output Testing

After performing validation test the next phase is output of the system, since no

system could be useful if it does not produce the desired output.

CHAPTER 9

CONCLUSION

The “Online Shopping” has been implemented successfully. It is user friendly and

menu driven system, which gives the user every support at each and every step. The

development of the above system required the knowledge of Data Base concept and its

connectivity.

SCOPE

The system was tested and found to be work satisfactorily. The input and output

format generated found to be accordance with the requirement and specifications of the

departments.

Page 30: Online Shopping for Television

FUTURE SCOPE

Further enhancements can be made to the system as follows:

1. The GUI fro system can be further improved.

2. As the new requirements arise, new elements can be added to the system by defining

the functionality for the element.

APPENDICES

SCREEN LAYOUTS

A.1 Login Form

Fig A.1 Login Form

Page 31: Online Shopping for Television

A.2 Registration Form

Fig A.2 Registration Form

Page 32: Online Shopping for Television

A.3 Change Password Form

Fig A.3 Change Password Form

Page 33: Online Shopping for Television

A.4 Forgot Password Form

Fig A.4 Forgot Password Form

Page 34: Online Shopping for Television

A.5 Home Page

Fig A.5 Home Page

Page 35: Online Shopping for Television

A.6 About Us

Fig A.6 About Us

Page 36: Online Shopping for Television

A.7 Service Center Form

Fig A.7 Service Center Form

Page 37: Online Shopping for Television

A.8 Office Form

Fig A.8 Office Form

Page 38: Online Shopping for Television

A.9 Feedback

Fig A.9 Feedback

Page 39: Online Shopping for Television

A.10 TVs (DLP TV)

Fig A.10 TVs (DLP TV)

Page 40: Online Shopping for Television

A.11 TV Diagonal Screen Size (40-49)

Fig A.11 TV Diagonal Screen Size (40-49)

Page 41: Online Shopping for Television

A.12 TV Manufacturers (Sony)

Fig A.12 TV Manufacturers (Sony)

Page 42: Online Shopping for Television

A.13 CD Players

Fig A.13 CD Players

Page 43: Online Shopping for Television

A.14 Product Description

Fig A.14 Product Description

Page 44: Online Shopping for Television

A.15 Buy now

Fig A.15 Buy now

Page 45: Online Shopping for Television

A.16 Bill Statement

Fig A.16 Bill Statement

Page 46: Online Shopping for Television

A.17 Card Validation

Fig A.17 Card Validation

Page 47: Online Shopping for Television

A.18 Checking the Amount

Fig A.18 Checking the Amount

Page 48: Online Shopping for Television

REFERENCES

Reference Book

1. The Complete Reference Java2 Fourth Edition Herbert Schildt

2. Beginning Java2-JDK 1.3 Edition Ivor Horton

3. Dynamic Web Publishing Second Edition Shelley Powers, et al

4. SSI Limited, “Java Server Pages with Oracle“

5. SSI Limited, “Oracle-8i“.

Web Sites

• www.javaworld.com

• www.google.com

• www.java.sun.com

• www.apache.org

• www.serverside.com