+ All Categories
Home > Documents > OnLine Shopping Project

OnLine Shopping Project

Date post: 21-Dec-2015
Category:
Upload: apoorv-saraf
View: 73 times
Download: 2 times
Share this document with a friend
Description:
OnLine Shopping Project for Final term Engineering Students:-)
Popular Tags:
97
GHAZIABAD A PROJECT REPORT ON Submitted in partial fulfillment of Award of the Degree of MASTER IN COMPUTER APPLICATIONSession - (2003-06) UNDER THE SUPERVISION OF: SUBMITTED BY: MR:- PARAG SAXEN KRISHNA KUMAR SINGH ROLL NO:-0303014039
Transcript
Page 1: OnLine Shopping Project

GHAZIABADA PROJECT REPORT ON

Submitted in partial fulfillment ofAward of the Degree of

“MASTER IN COMPUTER APPLICATION”Session - (2003-06)

UNDER THE SUPERVISION OF: SUBMITTED BY: MR:- PARAG SAXEN KRISHNA KUMAR SINGH ROLL NO:-0303014039

Page 2: OnLine Shopping Project

INDEX - ON LINE SHOPPING

Chapter Scheme :-1. Acknowledgement2. Certificate of Originality3. Brief about the organization – R.M Infotech(P) Ltd.4.Introduction to the Problem5.Introduction to Project.6. Purpose.7. Objective.8. Contribution of Project9 Hardware Software Used. About Java.. About Oracle.10. Analysis.. My Role. Module Description. Methology. Table Description.. Flow Diagram.11. Problem Definition. Exiting system. Proposed system. Feasibility Study. Request Approval. Optimization. Validation Checks. Object of the proposed 12. Bibliography 13. Screens 14. Demo Code.

Page 3: OnLine Shopping Project

ACKNOWLEDGEMENT

I EXPRESS MY DEEP SENSE OF GRATITUDE TO MY PROJECT SUPERVISOR MR. ANURAG MEHROTRA FOR HIS EXPERT GUIDANCE, STIMULATING DISCUSSIONS AS WELL AS CONTINUED IMPETUS THROUGHOUT THE PERIOD OF THIS PROJECT.

I ALSO EXPRESS MY SINCERE THANKS TO MR. PARAG SAXENA & MR. VENKATESH PROJECT LEADERS OF R.M INFOTECHFOR THEIR ENCOURAGING SOLICITED ADVICE AND ALL KIND OF HELP EXTENDED DURING THE PERIOD OF THIS PROJECT.

I ALSO EXPRESS MY INTIMATE THANKS TO MY FRIENDS FOR PROVIDING ENOUGH ZEALOUS AND A GOOD DEAL OF HELP.

LAST BUT NOT THE LEAST, I AM THANKFUL TO MY ALL OTHER WELL WISHERS FOR THEIR VALUABLE AND PRECIOUS HELP DURING THIS PROJECT.

FINALLY I AM THANKFUL TO ALL THOSE PEOPLE WHO ARE DERECTLY OR INDIRECTLY RELATED WITH THIS PROJECT.

Page 4: OnLine Shopping Project

PROJECT

ON LINE SHOPPING

BY :

KRISHNA KUMAR SINGH

Page 5: OnLine Shopping Project

PLATFORM USED:-

WINDOWS NT.

FRONT END:- HTML, DHTML, FRONT PAGE 98

BACK END:- ORACLE 8i ENTERPRISE EDITION

MIDDLE WARE :-

EJB, JAVA SERVLETS, JDBC, RMI.

SERVER :-

JAVA WEB SERVER 2.0/ WEBLOGIC5.0

Page 6: OnLine Shopping Project

COMPANY PROFILE A QUALITY SOLUTION COMPANY

This is the era of Information Technology. Its significance is vital in our lives because it presents infinite opportunities for growth and development, all this through Internet. A key ingredient for the Internet to be successful is state-of-art net infrastructure to converge different media and sources with integral knowledge and clear concept is very essential. This has been the main motivation for our launching R.M INFOTECH as an intensive unit of Training and Development center.

About R.M Infotech(P) Ltd.

R.M INFOTECHPVT. LTD. is a leading company in providing quality solutions in the IT industry. It is an information, training and complete solution providing company bringing high quality services to the clientele. It is proud to have a satisfied clientele of leading Corporate business houses.

We are professionally managed company with a vision and mission to provide completes IT solutions to the entrepreneurs. A harmonious combination of man and machine in which man gets precedence over the machine.

DEVELOPMENT-CENTER:

R.M Infotech aims at providing complete and Quality Solution to its clients in all spheres of IT activities. Strategic tie-ups with IBM, Compaq, Hewlett-Packard, SUN Microsystems, HCL, Acer, MICROSOFT, Computer Associates, Cisco, 3Com, Nortal Networks, AMP, Mod-Tap and AT&T with a team of highly qualified professionals are the strong points of the organization. Quality being the hallmark of the organization, R.M Infotech provides tailored solution and takes on turnkey projects.

Page 7: OnLine Shopping Project

OUR CREDENTIALS AS A TRAINING CENTER:

R.M Infotech with its standard facility at NOIDA with air-conditioned premises of 300 sq. ft., is custom designed with essential infrastructure to accommodate six batches prospectively with twelve students in each batch per day i.e. seventy students per day subsequently.

The organization enables trainees to use the potential of technology through experienced IT professionals. We have a staff strength of six senior developers with BE & MCA background and having experience in development of minimum two years.

The Lab-Room is equipped with heavily configured ten P.C. connected through network and loaded with all latest software like c# (sharp), EJB and Oracle 8i. The center is also equipped with backup facility in case of electricity failure.

OUR VISION :

We shall define ourselves in the cutting edge technology in the coming era. We shall create honest working environment with see-through-glass planning.

OUR MISSION :

To create opportunity for growth & self actualization to trainees and provide An environment of highly conducive works culture.

TECHNICAL STRUCTURE :

For Web Site :

Front End Middle Tier RDBMS Server

HTML. JSDK 2.0 Oracle8i JWS 2.0

DHTML JSP Tom Cat.Flash EJB Weblogic5.0Photoshop

Page 8: OnLine Shopping Project

Java Script

Added features :

a) Connectivity through JDBC - Thin Driver i.e. Oracle Driver.b) Chat Server - Applet & Servlet communication with RMI.c) Java Mail Server.d) Java Search Engine.e) Uploadation using File Transfer Protocol (FTP).

For Application :

Front End RDBMS Operating System

VC++ Oracle8i Window’s NTVisual Basic

Introduction to Project

Title of Project : On Line Shopping.U.R.L : www.microdataproduct.comClient : Micro Data Product (P) Ltd.

Banglore, India.Status : Uploadtion and Maintenance in processTeam Size : Four Team Member.Duration : 500 –600 hrs project.

Promotion of the site : Site will be promoted through various means-(1) Through personal approach by marketing division(2) Through telemarketing (3) Through advertisement in various newspaper

Maintenance : The site will be maintained by R.M Infotechusing FTP Protocol.

Page 9: OnLine Shopping Project

Brief Description :

This site is acting as a middle men connecting Seller and Buyer. Both has to register themselves by paying a minimum amount of Rs. 500/- which will remain valid for one year. After registration a seller has to register its product. Similarly Buyer can log on to site and search for a product and can do shopping.

Project Category

This project is a Business to Consumer , E-Commerce web-site.There is difference between Web-site and a Portal. Example of Portal is like Yahoo, Rediff and Indiatimes where as examples of Web-site is like bazee, delhihotels, jobsahead etc. Portal is general in nature and has many objectives to accomplish where as Web-site is specific in nature and has only one objective to accomplish hence our project is a website and not a portal.

Second feature of this project is that it is a B2C E- Commerce site which means that on line money transaction is taking place between consumer and Business house.

This is an On Line Shopping Web Site on which person can log in and can register himself and can search for products.

Objective of this project is complete automation and globalization of Placement Process. We have used J2EE as Middle Ware Logic and Oracle as a backend database.

This is a era of Information Technology where getting information is the base of each and every thing. Success of any business depends upon its popularity and goodwill. Today market has been expanded and you have to be a global player , today client want to access most of the information from his residence and then do transaction.

World Wide Web i.e. Internet technology is the fastest medium to access the information today. You can access any kind of information from this technology. By registering a URL in World Wide Web you make your self Global i.e. then any person from any part of world can have access to your information.

To summarize over all we can say that Category of this project is :-

Web-Site.E-Com i.e transaction on net.Business to Consumer.Virtual Auction site.

Page 10: OnLine Shopping Project

Both users can use search engine to search for a product

PURPOSE: -

Computerized On Line Shopping system is developed to facilitate the general administration system to manage the various information and the processes so, that organization can access accurate information quickly and easily as and when required, thereby improving its operational efficiency & effectiveness.

Why is the topic chosen: -

In today’s competitive environment, where everybody wants to be on the top, Information plays very crucial role. As fast as information is accessed and processed, it can give good results.

Internet help to fulfill these goals. It will help in easy storage and access of all information, in short period of time.

Objective :-

Computerized Shopping System is developed to facilitate the general administration system to manage the various information of the Product sale and purchase and the processes involved in a Shopping. So, that organization can access accurate information quickly and easily as and when required, thereby improving its operational efficiency & effectiveness

In today’s competitive environment, where everybody wants to be on the top, Information plays very crucial role. As fast as information is accessed and processed, it can give good results. Today Internet is the fast way of transferring Data and Information over wide area, hence I have used internet as a way for exchanging information.

Computerized system help to fulfill these goals. Computerization of the official works will help in doing lot of manual work quickly. It will help in easy storage and access of all information, in short period of time. On Line Shopping System is developed to facilitate the general

administration system to manage the various information of the Seller , Buyer and the processes involved in a Shopping. So, that organization can access accurate information quickly and easily as and when required, thereby improving its operational efficiency & effectiveness.

Page 11: OnLine Shopping Project

Objective of the site:

(i) The objective of the Shopping site is to capture the Global market.

(ii) The objective of the Shopping site is to provide automated information in a globalize form.

(iii) Make Product Information available to all.

(iv) Assure Reasonable Price for product.

(v) Quality Product at reasonable price.

(vi) Easier Transaction with transparency.

(vii) Increase Business on Net.

Features of the site:

(i) It has the features of providing all the information online (through the net). About the product for Shopping.

(ii) The Shopping site is a special purpose site.

(iii) The site includes the Chat Messenger which provides the users to interact with each other online.

(iv) The site includes the search engine and advance search engine which gives the user easy way to find the product which he/she can purchase.

(v) The site also includes the electronic mail facility for the users who have registered themselves.

(vi) The site has the registration fee Rs. 500 which prevents the unregistered user to bid a product.

(vii) The site acts as a middle-ware for the seller and the buyer.

(viii) The site has the facility to inform the seller and buyer about the final sale.

Page 12: OnLine Shopping Project

What contribution would the Project make: -

The project would help in effective and systematic record keeping that is storing and retrieving of useful data. Project will be able to give the report so that management can make decisions on the basis of those reports.

Scope of the study: - The main Scope of study: -

It should contain all the information of Seller who is registering his product. It should contain all the information of Product like Product id, Category, Sale

Price etc. It should process and evaluate purchase made by buyers. It should contain information of Sale Price etc. It should contain information related to Product expiry or re registration. It should inform both buyer and Seller when the product is sold. It should maintain proper financial records. It should have Administrator for scheduling administrative work of site. It should contain all the information of company. It should contain all the information of the products, which is produced by

the company with their quality. It should contain all the information of the money transactions. It should contain the facility of ordering the products through e-mail or Fax. It should contain facility of on line shopping either through credit card or through

bank.

Page 13: OnLine Shopping Project

ONLINE SHOPPING

Order

E-R Diagram for Shopping

User InfoUser

1

UserDetails

U_registration2

Product Details

DATA FLOW DIAGRAM

User Info

Product Info

4

Order Info

Order Details

Product Tables

Product Tables

Order Details

Status Info

Product Info

3

Order

Page 14: OnLine Shopping Project

User ID/CompanyID

Name

Address

Phone No.

User/Company

Category ID

Product

Product ID

Product Category

Product Name

Product Price

Stock

Shopping

Transaction

Register

Product Name

Product ID

Quantity

Price

Manufacturer’s Name

OrderStatus

Stock Sale

Product ID

Page 15: OnLine Shopping Project

Client’s Name :-

The company “Micro Data Product (P) Ltd.” is one of the leading manufacturers and exporters of Micro Processors , Modem , Sound Card, Fax Machine etc.. It supplies these items to Middle-East countries, Singapore and other Western countries.

This site is made to globalize product and to increase both buyers and sellers hence increasing the business of client. There requirement was to prepare a web site which can do manual things i.e. computerization of manual job. Some of the client’s requirements are: -

Clients Requirement’s :-

According to the Objectives we can specifically analyze the client’s requirements which are as under :

(a) To make Indian Product global,(b) To Globalize Indian market.(c) To have competitive price of product.(d) To assure good price of a product.(e) To act as middle man and connect two parties i.e. Buyer and Seller.(f) To help in making effective transaction.(g) To increase his own business.(h) To generate revenue by transaction.

About the System: - The whole system is divided into different module:-

Module 1: Registration module, which is further sub-divided into two sub- sections: -1) Company Registration 2) User Registration.

Page 16: OnLine Shopping Project

Module 2: Administration section, which is further sub-divided into three sub- sections: -1) Login2) Forget Password3) Change Password

Module 3: Maintaining Company section, which is further sub-divided into three sub-sections: -

1) Product Registration.2) Product Updation.3) Company Status.

Module 4: Maintaining User section, which is further sub-divided into three sub-sections: - 1) Search Engine.

2) Order Registration.3) Order Updation.4) User Status.

Site Working :-

1. Person can register as a Seller or Buyer but if one person wants to be both Seller and Buyer he has to register him self twice first as a seller and then as a Buyer with two user id.

2. This is a Paid Site where person has to pay registration amount . Registration will remain valid for one year.

3. At the time of log in his status will be checked i.e. He is log in as Seller or Buyer.

Case – A He is Log in as a Seller.

4. If person is Seller he can register his product , or update his product or can check the status of his product i.e. How many purchases have been made, what is the total sale price etc.

5. At the time of Product Registration Seller has to specify Market price and other information of product.

6. If the product is already sold then Seller can not update his product.

7. At the Time of Product Registration Seller has to pay 2% of market price as a security.

Page 17: OnLine Shopping Project

Case – B He is Log in as Buyer.

8. If he is buyer he can search for product of his choice, search engine will display product information of the product; Buyer can choose the product of his choice and make a bid.

9. After choosing products his shopping cart will be displayed showing total number of purchases. He can make updation to his shopping cart.

10. If he makes order his order will be booked and an order id will be generated.

11. Buyer can update his Order.

12. Buyer can check status of his purchase.

Page 18: OnLine Shopping Project
Page 19: OnLine Shopping Project

Flow Diagram - Logical

Login---AEnter UserId

Enter Password

New Company Sign up ---- BNew User Sign up ------ CForget Password ------ DChange Password ---- E Submit

B

CompRegist.Form.

CheckUserId

If Exist in D.B.

Back to Comp. Regis. Form

If doesnot Exist in D.B.

Bank Form(cr-card infor)

Message:you are registered

Page 20: OnLine Shopping Project

* Note :- Same Architecture is adopted for User Sign up ---- C

D

Forgetpass1

UserId

CheckUserId

If Member

SelectSecret Ques

ForgetPass-2Your Secret Ques is ……….Enter Secret Ans

Check Secret Ans

If Correct Ans.

Message : your password is……..

If Not Member

If Not Correct Ans.

E

Change Password Form

Enter Old UserId

Enter Old Password

Enter New Password

Check Old Password and New Password.,

If Match

Else

Check Old UserId and Password from D.B.

If there in D.B.

Message : Your Password has been changed to………

Else

Page 21: OnLine Shopping Project

A

CheckMember

If Not Member

If Member

CheckStatus

Case-FCompany.

Case-GUser

F

Company Intro Form

<Register Product>

<Update Product>

<My Status>

Product Registration Form….

Bank Form

Update Product Form

Message : Product registered….

Message : Product Updated…

Company Status Form

Receives all information about registered products...

Page 22: OnLine Shopping Project

G

User Introduction Form

<Search Product>

<Update Order>

<My Status>

Search Engine

Product Order Form

Bank Form

Message : Order Recived

Update Order Form

Message :Order Updated…

User Status Form : Recives all information regarding order placed by user…

Page 23: OnLine Shopping Project

Tables Structure:

1. Company Registration Table

Field Name Type Comp_id Primary Key varchar2(25)Comp_name varchar2(25)Comp_pwd varchar2(10)Comp_category varchar2(10)Comp_address varchar2(10)Telp_no number(10)E-Mail varchar2(10)

2. User Registration Table.

Field name Type user_id Primary Key varchar2(25)password varchar2(25)First name varchar2(25)Last Name varchar2(25)Street_add varchar2(250)State varchar2(25)Country varchar2(25)Zip varchar2(25) fax varchar2(25)Tel varchar2(25)E_mail varchar2(25)Sec_q varchar2(25)Sec_a varchar2(25)Date_of_reg datePay_mode varchar2(25)Status varchar2(25)

3. Product Master Table

Field name Type Product_id Primary Key varchar2(25)Product_Category varchar2(10)

Page 24: OnLine Shopping Project

4.Automobile

Field Name Type Item_id Primary Key number(25)Product_id Foreign Key number(10)Item_name varchar2(30)User_id Foreign Key varchar2(25)Market_price varchar2(25)First_sec_hand varchar2(15)Location varchar2(30)Description varchar2(125)Vehicle_type varchar2(20)Brand_name varchar2(20)Vechicle_no varchar2(20)Reg_no varchar2(20)Average varchar2(10)Colour varchar2(20)Model varchar2(20)Fuel_type varchar2(15)

5.Arts_antiques

Field Name Type Item_id Primary Key number(25)Product_id Foreign Key number(10)Item_name varchar2(30)User_id Foreign Key varchar2(25)Market_price varchar2(25)First_sec_hand varchar2(15)Location varchar2(30)Year varchar2(10)Description varchar2(125)

Page 25: OnLine Shopping Project

6. Books

Field Name Type Item_id Primary Key varchar2(25)User_id Foreign Key varchar2(25)Product_id Foreign Key number(10)Market_price varchar2(25)First_sec_hand varchar2(15)Location varchar2(30)Description varchar2(125)Category varchar2(25)Author varchar2(25)Title varchar2(35)Publisher varchar2(30)Language varchar2(20)Qty varchar2(25)

7. Computer

Field Name Type Item_id Primary Key number(25)Item_name varchar2(30)Product_id Foreign Key number(10)User_id Foreign Key varchar2(25)Market_price varchar2(25)First_sec_hand varchar2(15)Location varchar2(30)Description varchar2(125)Category varchar2(30)Brand_name varchar2(30)config varchar2(50)Qty varchar2(25)

Page 26: OnLine Shopping Project

8. electronics

Field Name Type Item_id Primary Key number(25)Item_name varchar(30)User_id Foreign Key varchar2(25)Product_id Foreign Key number(10)Market_price varchar2(25)First_sec_hand varchar2(15)Location varchar2(30)Description varchar2(125)Category varchar2(30)Brand_name varchar2(30)Qty varchar2(25)

9 Furniture

Field name Type Item_id Primary Key varchar(25)Product_id Foreign Key number(10)Item_name varchar2(30)User_id Foreign Key varchar2(25)Market_price varchar2(25)First_sec_hand varchar2(15)Location varchar2(30)Description varchar2(125)Type varchar2(35)Brand_name varchar2(35)Quantity varchar2(20)

Page 27: OnLine Shopping Project

10 property_tab

Field name Type Item_id Primary Key number(25)Product_id Foreign Key number(10)Market_price varchar2(25)First_sec_hand varchar2(25)User_id Foreign Key varchar2(25)Description varchar2(25)Location varchar2(25)Type varchar2(25)Area varchar2(25)Comm_noncomm varchar2(25)Security varchar2(25)

11 garments_ tab

Field name Type Item_id Primary Key number(25)Product_id Foreign Key number(10)Market_price varchar2(25)First_sec_hand varchar2(25)User_id Foreign Key varchar2(25)Description varchar2(25)Location varchar2(25)Type varchar2(25)Cloth_type varchar2(25)Garment_size varchar2(25)Brand_name varchar2(25)Color varchar2(25)Design_nondesign varchar2(25)Quantity varchar2(25)

12 buyer

Field name Type user_id Primary Key varchar2(25)Comp_id Foreign Key varchar2(25)Item_id Foreign Key varchar2(25)Product_id Foreign Key number(10)Item_name varchar2(25)Description varchar2(25)Market_price varchar2(25)

Page 28: OnLine Shopping Project

Forms to be Generated:1. Company Registration Form.2. User Registration Form.3. Login Form.4. Change Password Form.5. Forget Password Form.6. Product Registration Form.7. Product Updation Form.8. Company Status Form.9. Product Search Form.10. Add To Cart Form.11. Product Order Form.12. Order Update Form.13. User Status.14. arts.html15. autombl.html16. books.html17. category_from.html18. ch_pwd.html19. computer.html20. c_items.html21. electronics.html22. forg.html23. furniture.html24. garments.html25. indprod.html26. property.html27. search1.html28. update_prd.html

Page 29: OnLine Shopping Project

Servlets to be used:1. adv_search.java2. aml_serv.java3. animal_up.java4. antiques.java5. antiques_up.java6. auto_serv.java7. auto_up.java8. bid.java9. bookfrm.java10. books_up.java11. b_status.java12. celeb_up.java13. cel_serv.java14. change.java15. chg_status.java16. comp.java17. compu_up.java18. elect_up.java19. elec_serv.java20. forget.java21. furniture_up.java22. fur_serv.java23. garfrm.java24. gar_up.java25. indfrm.java26. ind_up.java27. jewels.java28. jewel_up.java29. login.java30. option.java31. propfrm.java32. prop_up.java33. search.java34. servreg.java35. update_prod.java36. v_status.java

Page 30: OnLine Shopping Project

Project Category:-

Category of this project is RDBMS based MVC model 2 , N-tier architecture, Distributed Environment based project with server side component.

Project can be categorized in two ways :-

1. Local area network projects.

2. Distributed Projects.

Local Area Network projects are those projects where application has to be incorporated in the Local area network of the client i.e within its premises only. In LAN case server is not remotely located and client access this application through this network. Here the question of platform independence does not arise and we use technologies like : Visual Basic , Fox pro , D2k or C,C++.

Distributed projects are those projects where application is remotely situated. In these kinds of projects application is remotely situated on to the remote server from where client machine access this application. WAN and an Internet is a kind of distributed application where client machine connects to the remote server and application is downloaded on to client machine. Here the question of platform independence arises and we use technologies like Java Servlets , Java Server Pages , EJB , RMI etc.

Project Models :

There are three kind of Project models :-1. Single tier architecture.2. Two tier architecture.3. N- tier architecture.

Page 31: OnLine Shopping Project

Single tier Architecture: - In this kind of architecture Database and Client Application remains on One machine i.e. there is no client server technology, there is no centralization of database and basically it is a stand alone system.

Two tier Architecture: - In this Kind of architecture Database and client application is on two different machine i.e. Database on one machine and Application on another machine. In this type of architecture there is client server technology and centralization of data base is there, but it has two demerits:-

1. Security is not there,2. Multiple Client access is not there.

N- tier Architecture :- In this kind of architecture there is a middle ware in between client and database. Middle ware checks the validity of the client i.e. weather client can access the database or not. Hence there is security in it as well as middle ware allows multiple client access.

What is Middle Ware?

Middle Ware is a concept, Middle Ware provides centralization of business logic i.e. instead of putting logic on each and every client machine we put logic on a centralized server hence middle ware is nothing but a server side program where all your business logic and business methods reside. It remains on server side and it has all the logical building. Middle ware provides:-

1. Multiple Client access.2. Centralized business logic in case of distributed application.

MVC Model II

In MVC model project is divided into three layers :-

a) View – which is an client interface to interact with client and generate dynamic information. We can use both Swings and Servlet to design client application code.

Page 32: OnLine Shopping Project

Client Side Interface :-

In client side interface we are using :-

Swings – In WAN Application. Servlet / JSP – In Internet Based Application.

Swings components are platform independent components and we are designing client side forms using Swings and we are calling EJB (Server side business logic) on event.

Servlets / JSP are middleware technologies which are used in web based projects because they use :-1. HTTP Protocol to handle Request and Response.2. They are invoked through Browser.3. They give out put in HTML format.4. They need Browser Support.

We have designed web based forms using servlets and servlets call EJB in which we have defined business logic.

b) Controller - Controller contain business logic, we have used Enterprise Java Beans 1.2 to design sever side component which can be called from both Desk top application and Web based application.

EJB: - EJB is a server side component in which we define business logic which is reusable.

Features of EJB are:-

1. Wider Scope i.e. it can be used in both application based projects and web based projects.

2. Reusability.3. Economical and efficient.4. Connection Pool.5. Transaction and Persistency.6. Security.7. Multi threading.

c) Model – Model is a storage device in which we store data we have used Oracle 8i as Model.

Page 33: OnLine Shopping Project

Data base is the most important thing in this universe as data base gives identity to a thing without data base existence of a thing is impossible.While working on a project first step is to design a database.

What is data base ?

Data Base is a collection of tables and table is a collection of records in a tabular form i.e. in row and columns.

Data Base can be divided into two parts :-

1. RDBMS.

2. DBMS.

We will be using RDBMS (Relational Database Management System) in our project i.e. oracle 8i Enterprise edition.

Why we are using Oracle (RDBMS)?

Some of the merits of using Oracle (RDBMS) is as under :-

Centralization of database. Client Server Technology. Security. Normalization of Data Base. Relationship. Transaction Processor. It gives some internet related features.

Hence because of these features we are using Oracle as a back end technology.

Page 34: OnLine Shopping Project

TOOLS/PLATFORMS LANGUAGES USED FOR THE DEVELOPMENT OF THE PROJECT

(A) Java 2.0 - ENTERPRISE EDITION (Business Logic)

The Enterprise edition allows professionals to create robust distributed applications in a

team setting.

Introduction to Java

Java is a high level, third-generation programming language, like C, Fortran, Pearl and many others. It is a platform for distributed computing – a development and run-time environment that contains built-in support for the World Wide Web.

History of Java

Java development began at Sun Microsystems in 1991, the same year the World Wide Web was conceived. Java’s creator, James Gosling did not design java for the Internet. His Objective was to create a common development environment for consumer electronic devices which was easily portable from one device to another. This effort evolved into a language , code named Oak and later renamed Java that retains much of the syntax and power of c++ , but is simpler and more platform independent.

Java Features

Some of the important features of Java are as follows:

Simplicity Orientation Platform Independence Security High Performance Multi Threading Dynamic linking. Garbage Collection.

One of the most important feature of Java is Platform Independence which makes it famous and suitable language for World Wide Web.

Why java is Platform Independent ?

Java is Platform Independent because of Java Virtual Machine (JVM).

Page 35: OnLine Shopping Project

Java Virtual Machine (JVM)

The client application or operating system must have a java byte-code interpreter to execute byte-code instructions. The interpreter is a part of a lager program called the JVM. The JVM interprets the byte code into native code and is available on platforms that supports java.

When the user runs a Java program, it is upto the JVM to load , possibly verify, and then execute it. The JVM can perform this function from within a browser or any other container program or directly on top of the operating system.

When a browser invokes the JVM to run a Java program, the JVM does a number of things :

1. It validates the requested byte-codes, verifying that they pass various formatting and security checks.

2. It allocates memory for the in coming java class files and guarantees that the security of JVM is not violated. This is known as the class loader.

3. it interprets the byte code instructions found in the class files to execute the program.

Connectivity using JDBC :-

There are four kind of drivers available in Jdbc :-

1. JdbcOdbc Bridge Driver.2. Partly Java Driver.3. Pure Java Driver.4. Native Driver.

JdbcOdbcDriver : This provides Jdbc access via Odbc drivers. Note that Odbc binary code , and in many case database client code, must be loaded an each client machine that uses this driver. As a result this kind of driver is most appropriate on a corporate network where client installations are not a major problem.

Partly Java Driver : This Driver translates Jdbc calls into a Net Protocol which is then translated to a RDBMS protocolby a server.In this kind of driver part of the binary code should be on client machine and part should be on server, hence this kind of driver has same problem that was with JdbcOdbc driver and it is mostly used in Intranet.

Page 36: OnLine Shopping Project

Pure Java Driver : This is a platform independent driver as this kind of driver remains on server. This kind of driver is provided by third party vendor. This net server middle ware is able to connect its pure java clients to many different databases.

Native Driver : This kind of driver converts JDBC calls into the network protocol used by Dbms directly. This allows a direct call from client machine to the DBMS server and is a practical solution for Intranet access.

Note :- We are using 3rd Type of driver i.e. Thin Driver in our project.

(b) Oracle 8i (Back End )

ABOUT ORACLE 8.0

Oracle 8.0 contains all the features of previous version. It also supports some new features & enhancement to some existing features. Oracle servers provides deficient & effective solution for the major features.

Large Database & Space Management Control

Oracle supports the largest database potential hundreds of Giga Bytes in size. To make efficient use of expensive devices , it allows full control of space usage.

Many Concurrent Database Performances

It supports large no of concurrent users executing a variety of database Applications operation on the same data. It minimizes data connection & guarantees data concurrency.

High Transaction Processing Performance

Oracle maintains the processing features with a high degree of overall system performance. Database user doesn’t suffer from slow processing performance.

High Availability

At some sets Oracle works 24 Hours per day with no downtime or limit database throughput. Normal system operation such as database backup & partial completion system failure don’t interrupt database use.

Controlled Availability

Oracle can selectively control the availability of data at the database level & sub Database level. e.g. an administrator can disallow use of a specific application .Data can be reloaded without affecting other application.

Page 37: OnLine Shopping Project

Industry Accepted Standards

Oracle adheres to industry accepted standards for the data access language operating system, user interface & network communication protocols . It is open system that protocols a customer invention.

Manageable Security

To protect against unauthorized database aspects & users .Oracle provides failsafe security features to limit & monitor the data area. The system make it easy to manage even the most completed designs for data assets.

Database Enforced Integrity

Oracle enforces data integrity “Business rules” that dictates the standards for applicable data. As result the cost of coding & managing checks in many database applications are eliminated.

Distributed Database System

For community environment that are connected via networks. Oracle combines the data physically located on the different computers in one logical database that can be accessed by all the network users. Distributed systems have same degree of user transparency & data consistency as non-distributed systems. Yet receives the advantages of local database management.

Portability

Oracle software is compatible to work under different operating system & same on all system. Application developed on Oracle can be used on virtually any system with little or no more modification.

Compatibility

Oracle software is compatible with industry standards, including most industry standards operating systems. Application developed on Oracle can be used on virtually any system with little or no modification.

Connectivity

Oracle software allows different types of computers & operating system to share information networks.

NEW FEATURES OF ORACLE 8.0

Page 38: OnLine Shopping Project

Improved Scalability

The maximum size of an Oracle database has been increased to support hundreds of terabytes depending on the operating system on which it resides.

Improved Security

Oracle 8.0 server now includes password management so that a password has a limited lifetime & must meet certain complexity such as minimum length. An account can be locked after a specified no of failed login attempts.

Improved Performance Via Partition

A table of index can divided into smaller pieces called patrons, based on the value of one or more columns. A table patron can be individually managed so that operation in one partition do not affect the availability of data on the other partitions. Also Insert ,Update ,Delete operation against a partitioned table can be processed partially.In other words, the Oracle 8 server can assign a portion of the work to execute a single DML statement to multiple processes , which may then be allocated to multiple processes by the server operating system. As a result ,the parallel DML operation is completed more quickly.

Enhanced Support for Database Replication

The performance & manageability of database replication have been significantly improved.

Capability To Handle a Much Larger Number Of Concurrent Users

By pooling database connection, the Oracle 8 server is able t9o service a much larger number of concurrent users up to 3000, depending on the server operating system & server hardware resources.

New & Improved Data Types

Some existing data types have been enhanced & new data types have been introduced.

Improved Select Statement

A new feature of the select statement allows a sub query to be used in place of a table in a from clause.Tools/Environment used :

Tools and Environment used in this project are as under: -

Page 39: OnLine Shopping Project

Software requirements

Windows NT operating system. Front End : Servlets, JSP. Middle Ware : EJB. Back End : Oracle 8i. Connectivity : JDBC – Thin Driver. Application Server : Weblogic Server 5.0.1

Hardware Requirements

Cyrix 333 mzhs or Pentium iv Processer. 128 MB SD RAM. Net Work with client server technology.

Feasibility Study :

A feasibility study is conducted to select the best system that meets performance requirement. This entails an identification description, an evaluation of candidate system and the selection of best system for he job. The system required performance is defined by a statement of constraints, the identification of specific system objective and a description of outputs.

The key consideration in feasibility analysis are :

1. Economic Feasibility :

2. Technical Feasibility :

Hardware :

(a) Server - Windows NT(b) Server space - 20 MB(c) Ram - 128 MB

Software :(a) Backend - Oracle 8I(b) Middleware - EJB(c) Front-end - SERVLET(d) Operating System - Windows NT

Economical:- The proposed system is economically feasible because the cost involved in purchasing the hardware and the software are within approachable. The

Page 40: OnLine Shopping Project

personal cost like salaries of employees hired are also nominal, because working in this system need not required a highly qualified professional. The operating-environment costs are marginal. The less time involved also helped in its economical feasibility.

Software Costing :-

IntroductionSoftware Industry, an industry which sells logical things. The advantage of buying a software is automation, better analyzing of business, thus making life easier. As we are into logical selling, it makes difficult to come with a costing to an accurate level. Customer can see the benefits of buying only when he uses the software for quiet a period of time and then says 'Aah its worth of it'. When customer sees accountants performing better, invoices been made with least errors etc., customer gets convinced. So to convince the customer at the primary stage is really a big nut to crack. If you give more quote you lose the project, if you give less quote you will end up doing social service to clients and probably also loss. Software Industry, an industry which sells logical things. The advantage of buying a software is automation, better analyzing of business, thus making life easier. As we are into logical selling, it makes difficult to come with a costing to an accurate level. Customer can see the benefits of buying only when he uses the software for quiet a period of time and then says 'Aah its worth of it'. When customer sees accountants performing better, invoices been made with least errors etc., customer gets convinced. So to convince the customer at the primary stage is really a big nut to crack. If you give more quote you lose the project, if you give less quote you will end up doing social service to clients and probably also loss.

TheoryIf said to analyze cost of any physical product, example a simple pen, I can pin point to a good extent the cap's cost, the ink cost etc., and come out with a rough estimation. Even the customer is equally convinced as he can see those physical products. Software industry also has practices of evaluating cost, the following are 2 major ones:

1. Lines of code. 2. Function points (FP).

I personally do not believe in lines of code. In this software world of reusability, 1000 lines of code can become 200 lines, thus leading to complete misjudgment. Just wondering during design phase how can you know the total lines of code. For some reason, I feel Lines of Code favor the software company more than its clients. Just imagine i want to make simple window based customer GUI in C language and the same in Visual basic. The Lines of code will differ a lot and hence the costing. In short lines of code are programming language dependent." Lines of code would have been fair if there was one programming language in the world". Just my 2 cents Programmers output is not Quantity (Lines of code) but the logic what he has written. If you want to evaluate a house cost do we ever measure the bricks and nails. Well i stop here talking about LOC or else the whole tutorial will look like i am against LOC.

Page 41: OnLine Shopping Project

But with FP, I see the quote coming out fair for both customer as well as the software company and is language independent to a very good extent Note not completely independent). I was very convinced with FP in one of my clients' place where the client handed us a huge book of use case and said to come out with estimation. We where a team of 4 people. We divided in team of 2 and said let's come out with some quote and then tally our results. After 2 days continuously counting every element, we saw both teams coming to the same value of "Function Points", that means consistency even after different people sitting on it.

Definition of Function Point and HistoryThey are units of software measurement, like for distance we have kilometer. There's a favorite saying - You can't control what you can't measure. Breaking the system into smaller systems, and analyzing them and coming out with cost for every unit. Finally, we total all the smaller units to come out with final total. Function points measure system from functionality perspective and are independent of technology.

Software Cost :

J2EE : 25000/-Ms-Office : 15000/-Oracle : 20000/-

Manpower Cost :

Team cost : 15000/- System Cost : 20,000/-

Total Cost : 95000/-

Technical:- Hardware’s used in this project are- p3 processor 733 MHz, 64 MB RAM, 10 GB hard disk, floppy drive. These hardware were already available on the existing computer system. The software like MS-ACCESS,VB .net,MS -WORD and operating system WINDOWS-XP’ used were already installed On the existing computer system. So no additional hardware and software were required to purchase and it is technically feasible.

Tools Used :1) J2EE API 2.1

Page 42: OnLine Shopping Project

2) Weblogic Server 6.0

3) Data Report

4) JDK 1.3

Duration of Project :-

For study- 15days, For designing- 45days, For development- 60 days, For Testing- 15days, Total time- 135 days.

Methodology: -

The following approach is used to design this system, which is called “classic life cycle” or “waterfall model”. This linear sequential model suggests a systematic, sequential approach to software development that begins at the system level and progress through analysis, design, coding, testing and maintenance. The linear sequential model encompasses the following activities:-

1. System / information engineering and modeling.2. Software requirement analysis.3. Design.4. Code generation.5. Testing.6. Maintenance.

System

Page 43: OnLine Shopping Project

Analysis :-

MY ROLE :-

Analysis

Design

Code

Testing

Maintenance

Page 44: OnLine Shopping Project

My role in this project was to do Analyzing, designing and coding. I was involved in development of :-

1.

module of this project. The project is Divided into different modules as above discussed: -

Module Description and Design :-

Program Structure :

Title of this project is On line Shopping Web Site , Objective of this project is to do on line sale and purchase of the registered products. Basically this site is acting as a middlemen connecting two different people i.e. Seller and Buyer. Seller is the person who wants to sell off his product where as Buyer is a person who is making bid on a product. Both Seller and Buyer has to register them selves by paying an annual subscription amount. Seller has to register his product also by paying the 2% security of market price. Buyer will be using search engine to search for the registered products and then after that can make purchase on the selected product of his choice We have used Java Language and Oracle as a backend Data Base.

My role in this project was to do Analyzing , designing and coding. I was involved in every sphere of this project. The project is Divided into different modules some of the forms are as under :-

Login Verification.

Change Password

Forget Password

Company Registration

User Registration

Company Bank Form.

User Bank

Company Introduction Form

User Introduction Form

Network Chat

Page 45: OnLine Shopping Project

Mail Server.

Some of the modules is divided into different Sub Modules. Now I am explaining each module in detail.

Login verification :- In this module we are checking the authenticity of the person who is using this application . Person who is using this application should enter correct userid and password to authenticate him self.

Hence first form that opens up is a verification form, we are taking input from the user of this software i.e. user id and password then we are checking this input from our database if it is correct then we are opening First form i.e. Introduction form.

Change Password :- By this module user can change his password from old password to new password. He has to enter some information like User Id , old Password, new Password and reconfirm password.

Then we have to first verify that new password and reconfirm password matches, If it does not matches then we have to send user back to change password form else if it matches then we have to check weather he is a member or not.

This is done through verifying User Id and Old password if they matches with our data base then it means he is a member other wise not. If he is not a member then again we are redirecting him back to Change password form with a error message else if he is a member we will change his Old Password to New Password and confirm him the New Password.

Forget Password: By this module user can get his password if he has forgotten his password. For this particular purpose user first has to enter his User Id and we have to verify his ID i.e. weather he is a member or not. If he is not a member then we have to redirect him back to Forget password form else we have to open another form indicating his Secret Question. He has to enter correct Secret Answer to confirm his Password.

If he enters wrong Secret Answer then we have to again redirect him back to Forget Password form else we have display his Password.

Company Registration Form: This is the first form when client i.e. Company visit this site for the first time. As already discussed earlier both Company and User has to register them selves. This is a Company registration form where user has to fill up information like his Company name , address , Email , Tel , Fax , secret question , secret answer etc along with Company user id and password.

Page 46: OnLine Shopping Project

We have to test his user id before registering him, as user id, which he is choosing, should not exist in database. User id is a primary key and should be unique. We have to make connection with the database and check weather userid already exist or not. If it exist in data base then we have to open the same registration again with all the filled up fields like his Company name, address, email, secret question, secret answer etc. else if userid does not exit in data base we have to open Company bank form.Note * - we are not inserting the record into the database we are just redirecting him to Company bank form.

User Registration Form: This is the first form when client i.e. User visit this site for the first time. As already discussed earlier both Company and User has to register them selves. This is a Company registration form where user has to fill up information like his Company name, address, Email, Tel, Fax, secret question, secret answer etc along with Company user id and password.

We have to test his user id before registering him as user id which he is choosing should not exist in data base. User id is a primary key and should be unique. we have to make connection with the database and check weather userid already exist or not. If it exist in data base then we have to open the same registration again with all the filled up fields like his Company name , address, email , secret question , secret answer etc. else if userid does not exit in data base we have to open User Inroduction form.

After successfully logging on our server side program will be checking the status of the person i.e. weather he is logging on as a

a) Companyb) User

Case A :- Let us first assume that he is logging in as a Company.

Company Introduction Form: After successfully logging in the first forms that the company get is Company Registration Form. This form has three hyper links i.e.

Register your Product. Update your Product. My Status.

Register your Product: We have categorized products into different broad categories which are as under :-

Page 47: OnLine Shopping Project

1. Automobiles2. Garments3. Property4. Antique5. Celebrity Item6. Computers7. Consumer Products.8. Books9. Jewelry10. furniture11. Live stock.12. Industrial Scrap.

After logging in the Seller has the options of registering his product , updating his products and he can also check his status.

Let us assume he wants to register his product for that particular thing we will open select category form.

Select Category Form: In this particular form seller has to select from the broad categories as listed above the particular category in which his product falls and he will select that category.

Category Form: After Select Category Form, a particular category form will open. We have made different html forms for different categories like an Automobile form for an Automobile Category or a Garment Form for a Garment category. A particular form of the particular category will open on selection of the category. Company has to fill up these information in the Category form i.e.

Quantity of goods available. Price per item Quality of goods User Id Description of his product.

We are taking user id to ascertain that to whom this product belong to.

Description of the product means that he has to describe his product like if it is a automobile he has to give item name like Bus, Sccoter , Moter cycle etc then he has to give color , average, fuel type, condition etc.

After Registering his product he has to pay 2% security of value of registered price.

Bank Form : After Company is registered he has to pay registration amount through bank. He has to fill up information like Bank ID, Bank Address, Account

Page 48: OnLine Shopping Project

Holders Name, Cheque or DD number. It is through this form that we will be entering records in two tables simultaneously by making two connection objects , first table is the Company Registration table and another table is the Bank table.

Similarly is the procedure for product registration, as our server side program will calculate the 2% security of the value of registered price and insert the records in the database here we will generate the Item ID and display to the seller that his Product has been registered and the Product Id will be generated which he can use for future reference purpose.

Update your Product: Next link is Update your product by going on to this link seller will get Product Updation Form in which he will select the category of the product with Product ID , he will get the Filled up product registration form here he can make changes to his product like change product price or can change description etc.

But server side program is conducting one validation check i.e. weather shopping has already started on this product or not. If the shopping has already started then he cannot make changes to his product but if the shopping has not started then he can make changes to his product.

My Status : Last link in this module is My status. This module will show the status of the Company i.e.

How many products the Company has registered. Product Id of different products registered by the Company. Quantity of goods available User ID. Of person who has purchased the product. Current Status – what is the quantity of goods purchased , who has placed

the order , what is the address , Email , pay mode etc.

Case B :- Let us first assume that he is logging in as a User.

User Introduction Form: After successfully logging in the first forms that the User get is User Introduction Form. This form has three hyper links i.e.

Do Shopping Update Shopping. My Status.

Do Shopping: By going on to this link User will get the Search Engine specific to site which will be searching the registered products from the data base.

Page 49: OnLine Shopping Project

Search Engine : In this search engine User will be selecting the category of the product on which he wants to make a bid and he will also be specifically entering the item name in the search criteria. Take an example he wants to do shopping of a Car. In that particular case he will be selecting the automobile from the broad category and then writing car in the search criteria.

By selecting the broad category we will come to know the name of the table in which he wants to make a search and what he wants to search we’ll get from item name. The search engine will display following information:

Name of the Product. Product Id of the Product. Description of the product. Days left in shopping. Item price. Discount if any.

User can then select the particular product of his choice and a Shop Form will open.

Shop Form: In this module User will be searching for the products and will select the product along with the quantity purchased and will add items to the cart. We will be using the session tracking here. After doing add to cart User will get the total price due. He can update his shopping as well as can also make final order, which will be placed, and shopping id will be generated.Update your Shopping: By this module person can update his previous shopping. It is not necessary that every time User want to make new shopping he has to go to search engine and search for the product he can just go to Update Shopping form and can update his bid.

In update form he has to enter his Shopping id and has to select the category of product, After selecting program will verify that weather he has entered right shopping id or not if the id is wrong then we will display error message else if id is right we will open Shop Now Form where he will get the last order entered by him with the total price. If he is interested he can update his Shop cart i.e. can make more purchases or can reduce the purchases.

My Status: My Status will display the status of the User. Last link in this module is My status. This module will show the status of the User i.e.

How many products have been purchased by the User? Product Id of different products registered by the User.. Date of purchase. Total Price Due

Page 50: OnLine Shopping Project

Current Status – what is the status of product i.e. weather dispatchment has been done or not..

Further details of the project are provided in Attachment.

1. Data Flow Diagram.2. Synopsis3. Data Structure.

Network Chat: This is software which can be incorporated with this project. Objective of making up this software is to enhance my knowledge in the field of Java as in my project I was using only Java Servlets with Jdbc, I was not using the every technology in java. The scope of making this software is that in this particular software I am using technologies like :

Applet. Servlet. AWT. Multi Threading. Event Handling. Exception Handling. Input/Output. Net Working.

By using all these topics I am increasing the scope of my area .The advantages in which this software can be used in my Project is that we can incorporate this software in this site by which different people around the world can communicate with each other using this software. Basically in this software we are Applet Servlet Communication.

Mail Account with in Organization. This is also a software by which we are making mail account of Employees of organization, which they can access. We have used Java Mail Package with SMPT to make up this software.

Software Requirement Specification (According to IEEE Standard no. 830-1984)

Page 51: OnLine Shopping Project

1. Introduction : This website is dedicated to online Auction site. The objective of this site is to provide an opportunity to the potential users(Seller and Buyer ) who are remotely located over a large geographical area. This site also provides automated information in globalised form.

2. Information Description : The website act as a middleman between between Seller and Buyer. In this site the Company registers his jobs and the user searches for job and apply for a job. The website performs necessary condition checking and selects a highest quality human power for a particular product. The website confirms the job and pass the information to the above said users.

3. Functional Description : Basically the website has four modules. Some of the forms are described below :

(A) Login Module : The user enters in this module through home page if user already registered himself on the site. He module checks his/her record and then confirms his authenticity.

(B) Change Password Module : This module is also for existing user. If user wishes to change his password the module interacts with him/her and confirms his authenticity. After confirmation, it writes in the registration table.

(C) Forget Password Module : This module is also for existing user. If the user forgets his/her password, the module interacts with database and flashes secret question, which is entered by the user during registration process and asks for secret answer. The module matches the response with the database and if it is ok the show the password.

(D) New User Signup Module : This module is for new user. The user enters in this module by clicking on the hyperlink on the home page and fills the registration form. After filling the registration form he have to fill a bank form to get him registered.

4. Behavioral Description : The event occurs in this site in two ways. One by the submission of the form by the

user and other by the web page. When the user submits a particular form a particular servlet is called depending upon the nature of the job is to be

perform. The servlet either generates the response or updates the database or both. Following events occur in the modules :

Module: Change Password

Page 52: OnLine Shopping Project

1. Submission of form2. Accessing of database3. Generation of appropriate response.

Module: Forget Password

1. Submission of form2. Accessing of database3. Generation of appropriate response

Module: New User Signup

1. Submission of form2. Updating database3. Generating appropriate response

Module: Login

1. Submission of form 2. Accessing of database3. Generation of appropriate form4. Submission of form5. Updating database

5. Validation Criteria : Each HTML page and it’s hyperlink is examined and the respective servlet is also examined. The connection between form (Front-end ) and database (Backend) is examined keeping in the mind hat no garbage value could be entered. Middleware or processing logic is also examined.

Validations Checks :

Developing project has number of phases, we have to under go each phase in order to successfully complete the whole project. Different steps which we have to follow in order for successfully completion of project are :-

Analyzing.

Making up of Project Synopsis and Documentation –In this phase we do paper work ,write the client requirement and

design database according to the requirement of client. After that we divide the whole project into different modules and assign task to the Project members.

Coding –

Page 53: OnLine Shopping Project

In this phase we actually practically implement paper work and do the front end and back end programming part.

Testing – This is the most important phase of the Project where we practically

check our code in different situations i.e. weather it is working in different conditions or not , weather it is solving the objectives of client. During this phase only we do rectification job.

The most important technique used in Testing is “Trial and Error System”. We will be discussing this in detail later.

Incorporating – Incorporating means loading the application on to the server from

where it will be used by the client machines.

Training – After Incorporating the code on to the client machine we have to

provide training to the employees of the client i.e. how to use this software and if there is any problem they can do verification part.

Here we will be discussing Testing Part i.e. Validation Checks. As already told one of the most important technique of Testing is “ Trial and Error System “ In this system we put our code to different conditions to check that weather it is working properly or not. We also have adopted this technique.

We have done data verification by entering wrong data type in our data base to test weather it is working properly.

We tried to search records from different tables using Primary Key i.e. particular ID and checked weather it is fetching correct record or not.

We have tested weather proper records according to proper fields are inserted to the tables or not.We have also used scripting to verify our code. Scripting are of two types i.e. Client Side Scripting and Server Side Scripting.

Client Side Scripting : We have used Java Script for client side scripting. By client side scripting we do validation part on client side i.e. at front end , before submitting up of form. Examples of Client side scripting it that there are some compulsory fields which has to be filled but are not filled up by the client in that particular case form should not be submitted and an error message should be displayed , similarly like that take an example there are two fields one numeric like “age” and other text like “name” user has to enter numeric in numeric field and text in text field but if does not do so an error message should be displayed stating that he has made wrong entry. This kind of technique where Information is

Page 54: OnLine Shopping Project

tested on client side befor going on to server side program is called Client Side Scripting.

Server Side Scripting : Server side Scripting is done by server side program . There are certain things which has to be tested on server side like Employee ID , Department ID or User Id. For this particular case we have to first make connection with our data base and then test weather User Id actually exist in our database or not if userid exist it means he is a member other wise not. Similarly if we want to check record of employee this will we done by Employee ID i.e. primary key in a database these type of checks will be performed by Our Server Side Program.

In last I am stating that I have performed all the validation checks upto my knowledge and is satisfied that my code is running properly.

SYSTEM TESTING

Page 55: OnLine Shopping Project

Here the system testing involved is the most widely used testing process consists of five stages as shown in the figure. In general, the sequence of testing activities is component testing, integration testing then user testing. However, as defects are discovered at any one stage, they required program modifications to correct them and this may required other stages in the testing process to be repeated.

(component testing) (Integration testing) (user testing)

SYSTEM SECURITY

There are basically two types of security associated with this system:-

1. Physical security:-

Damage due to natural causes like earth tremor, flooding, water logging, fire hazards, atmospheric or environmental conditions etc..For overcoming these difficulties the replica of the data are automatically stored at various networks and for environmental conditions Air conditioning environment is created.

2. Data security:-

Unit testing

Module testing

Acceptance testing

Sub-system testing

System testing

Page 56: OnLine Shopping Project

There are basically two problems associated with data security:-

a). Data not being available to the authorized person at the time of need.

b). Data becoming available to the unauthorized person.

To overcome these difficulties the following access facilities has been provided:-

i) Identification:- Unique Ids for the different users have been provided.

ii) Authentication:-System checks the password under the particular user identification. The computer permits the various resource to the authorized person.

iii) Authorisation:- The access control mechanism to prevent unauthorized logging to the system.

Our Testing Policy

For Us, Primary role of testing is not demonstration of correct performance, but exposure of hidden defects, detecting specification errors and deviations from the specification, establishing confidence that a program does what it is supposed to do and verifying that a system satisfies its specified requirements or identifying the differences between expected and actual results

Our Testing Process

1. Test PlanningDescribing the scope, approach, resources and schedule of intended test activities, also describes the technical and managerial approach to be followed for testing a component or system

2. Test SpecificationSpecifies the test inputs, execution condition and predicted results for an item, unit, integration and system level test cases are designed on the basis of requirements and as per the plan lay down

Page 57: OnLine Shopping Project

3. Test ExecutionTest cases are executed according to the test procedures prepared for each test designed, test procedure describes the purpose, special requirements and the steps to be followed in executing the tests

4. Test Recording.All executed tests have test log. Whenever discrepancies are observed from the expected results, test incidents must be raised. Test Log is a record of all relevant details of execution of tests. Test incident records any event that occurs during testing that requires investigation

5. Test CompletionTest records are checked against test completion criteria. Every test must be completed and there must be no defect logged during execution phase that is not fixed by respective developer and if fixed should not remain untested by testing resource

Adapted Software Test Life Cycle

Test PlanningTest

Planning

Test DesignTest

Design

Test Case DesignTest Case

Design

Test ExecutionTest

Execution

Test CompletionTest

Completion

Test SummaryTest Summary

Page 58: OnLine Shopping Project

Our Testing Techniques and Levels of Testing

Unit TestingTesting logical pieces of work, functions, subroutines or logical units, generally conducted by developer. Our approach towards Unit testing is

a. Document all test cases, and test procedures, review all test casesb. Execute implemented test set on compiled unitc. Modify and revise the code and test as necessaryd. Re-execute the modified tests until test completion criteria re met

Integration Testing.Our main function of integration testing is to test that interfaces between units are correct, after few units are integrated verify that specific requirements have been implemented correctly. Test response time of integrated modules is another aspect that we take care. Our approach towards Integration Testing is

a. Identifying the integration test sets and their executionb. Units are combined one at a time and tested till entire software gets

integratedc. Verifying that data flow between the screens is correctly integratedd. Verifying that all the integrated modules and units are behaving as per

specifications

Regression Testing.Testing of all the effected screen or module due to defect fix or change in the requirement is our aim at regression testing. Tasks that we perform during a regression test are

a. Testing a defect fixb. Testing that a defect fix has not caused some other errorc. Both are done by regression testing by running a set of test cases run

previously

System TestingSystem testing for us is not a process of testing the functions of the complete system which has already been achieved by function testing, but it is a process of attempting to demonstrate how the program does not meet its objectives

a. Test cases derived using black box methodologyb. While functional testing can be taken up in any hardware, the system

testing has to be taken up only with target hardware.c. In addition to functionality, other aspects such as usability, performance,

recovery etc tested.

Acceptance Testing.For us Acceptance testing is conducted to determine whether a software system satisfies its acceptance criteria, this is the reason we conduct acceptance testing on actual environment and data. The final acceptance decision holds with every

Page 59: OnLine Shopping Project

individual client, we verify that the delivered product is adequate and consistent with executable system and the complete system meets the buyer’s requirements. Our acceptance process is

a. Define buyer’s roleb. Define acceptance criteriac. Develop acceptance pland. Execute acceptance plane. Develop acceptance decision

CONCLUSIONS

FINDINGS:-

After implementing the system in the market its advantages were incomparable to the present contemporary systems available in the market. The most admirable feature founded was its simplicity in terms of application to the user but its highly beneficial outputs can’t be ignored. The users will be highly benefited after using the system.

LIMITATIONS:-

Since, every system has some limitations so our proposed system is also not untouchable in this regard. Although it includes every kind of features but it can’t be used in a huge organization where number of networks are very large, because the data base used in this system is an average one. Also it doesn’t have different kind of access feature for different users.

SCOPE FOR FUTURE WORK :-

Since this system has been generated by using Object Oriented programming, there are every chances of reusability of the codes in other environment even in different platforms. Also its present features can be enhanced by some simple modification in the codes so as to reuse it in the changing scenario.

Scope of future application:

We can implement easily this application. Reusability is possible as and when we require in this application. We can update it next version. We can add new features as and when we require. There is flexibility in all the modules.

Page 60: OnLine Shopping Project

SOFTWARE SCOPE

Reusability: Reusability is possible as and when we require in this application. We can update it next version. Reusable software reduces design, coding and testing cost by amortizing effort over several designs. Reducing the amount of code also simplifies understanding, which increases the likelihood that the code is correct. We follow up both types of reusability: Sharing of newly written code within a project and reuse of previously written code on new projects.

Extensibility: This software is extended in ways that its original developers may not expect. The following principles enhance extensibility like Hide data structure, Avoid traversing multiple links or methods, Avoid case statements on object type and distinguish public and private operations.

Robustness: Its method is robust if it does not fail even if it receives improper parameters. There are some facilities like Protect against errors, Optimize after the program runs, validating arguments and Avoid predefined limits.

Understandability: A method is understandable if someone other than the creator of the method can understand the code (as well as the creator after a time lapse). We use the method, which small and coherent helps to accomplish this.

Cost-effectiveness: Its cost is under the budget and make within given time period. It is desirable to aim for a system with a minimum cost subject to the condition that it must satisfy all the requirements.

Scope of this document is to put down the requirements, clearly identifying the information needed by the user, the source of the information and outputs expected from the system.

PERT (Performance Evaluation and Review Technique)

Like Gantt chart PERT also makes use of tasks. It shows achievement. These achievements are however not task achievement. They are terminal achievement called events. Arrow are used to represent tasks and the circle represent the beginning or completion of the task. The PERT chart uses these paths and events to show the interrelationship of project activation.

Page 61: OnLine Shopping Project

Activity Task

1. Design FormsDesign home pageDesign Change Password PageDesign Forget Password Page

Design New User Signup page

2. Design Front EndDesign Login Design Forget Password Design Change PasswordDesign New User Signup

3. Link middle ware With Form

4. Test program and Form

5. Prepare Documentation

Page 62: OnLine Shopping Project

ONLINE SHOPPING

Description:

This is the homepage of Online Shopping Management. If a company is already registered in the site then company can login himself for further processing. Else he have to newly register himself first. A registered company can change his Password.

User can login himself for placing orders of the products. Also a new user can register himself and can change Password.

Page 63: OnLine Shopping Project

Description:

This is the welcome page for the project. One can register product, Update product and can view Product Status.

Page 64: OnLine Shopping Project

Description:

This page is used to register a new Company. He needs to enter his complete details with secret question and secret answer. When company will fill up the form with appropriate values inside the fields he will be registered and the home page will be displayed.

Page 65: OnLine Shopping Project

Description:

This page is used to change the password of the registered Company. If the password is changed successfully home page will be displayed.

Page 66: OnLine Shopping Project

Description:

This web page is used to retrieve the password of the company if he somehow forgot the password.

Page 67: OnLine Shopping Project

Description:

This is user registration form.

Page 68: OnLine Shopping Project

Description :

This page is used to change the password of an existing user.

Page 69: OnLine Shopping Project

Description:

This web page is used when the user forget his password . So he needs to enter the user ID here.

Page 70: OnLine Shopping Project

Description :

This web page is used to select the category of the product like automobile, books, computers etc.

Page 71: OnLine Shopping Project

Description :

This is the product registration form. User needs to enter the details of the product and the product ID is generated and is displayed.

Page 72: OnLine Shopping Project

Description:

Product ID is generated and is displayed.

Page 73: OnLine Shopping Project

CONCLUSION

Our Web site works successfully and companies person really appreciate this Web site.

This Web site is fully documented so that future modification can be made very easily, if

some requirements get change in future.

It is highly cost effective and user friendly.

Moreover it leads to the first Industrial and professional experience in the software.

Page 74: OnLine Shopping Project

REFERENCES:-

BOOKS-

1. OFFICE 2000 By COURTER MARQUIS.

2. JAVA SERVLETS 6.0 By GARRY CORNELL.

3. SYSTEM ANALYSIS AND DESIGN By ELIAS M AWAD.

4. SOFTWARE ENGINEERING By IAN SOMMEVILLE.

5. R.M INFOTECH MATERIALS.

WEBSITES:-

1. GOGGLE.COM.

2. WEBOPEDIA.COM.

3. DDJ.COM


Recommended