This action might not be possible to undo. Are you sure you want to continue?
ONLINE SHOPPING PORTAL
By Nikhil Sharma
Guru Nanak Dev University, Amritsar Roll no-872097 B.TECH-8thsem
INTRODUCTION TO ONLINE SHOPPING
Online shopping is the process whereby consumers directly buy goods or services from a seller in real-time, without an intermediary service, over the Internet. If an intermediary service is present the process is called electronic commerce. An online shop, e-shop, e-store, internet shop, web shop, web store, online store, or virtual store evokes the physical analogy of buying products or services at a bricks-and-mortar retailer or in a shopping mall. The process is called Business-to-Consumer (B2C) online shopping. When a business buys from another business it is called Business-to-Business (B2B) online shopping. Both B2C and B2B online shopping are forms of e-commerce. This application is designed for Business-to-Consumer (B2C) online shopping.
• 3 . • Sellers – These are the people who offer goods and services to buyers. by necessity. a seller as well. The buyers are consumers or businesses. check. Payment can be made by credit or debit card. services or trade. The producer sells the products produced to wholesalers. cash. The range of things that can be sold using e-Commerce is enormous and covers things that are sold today and those that are not practical to sell any other way. small businesses or large corporations. retailers or directly to the consumer. E-commerce is about buying and selling products and services on the World Wide Web. The sellers are individuals. A producer is always. It ranges from small businesses receiving orders via their web site through to automated systems to control the supply chain from the initial customer contact right through to management of suppliers. ELEMENTS OF COMMERCE Buyers – These are people with money who want to purchase a good or service. • Producers – These are the people who create the products and services that sellers offer to buyers.INTRODUCTION TO E-COMMERCE E-commerce is quite simply. Sellers are generally recognized in two different forms: retailers who sell directly to consumers and wholesalers or distributors who sell to retailers and other businesses. money order. any method of using electronic communications and computer technology to conduct business.
DIFFERENT TYPES OF E-COMMERCE SYSTEMS B2B (business to business) systems are designed for businesses to collaborate or sell goods and services to each other. 4. other systems allow businesses to become involved in auctions and on-line brokerage of their shares. Whilst shop fronts are similar to business to consumer system. These are also known as on-line shopping centers or on-line retail shops. 2. albeit with fewer graphics. which are still at the conceptual stage. 5. 3. These types of E-commerce systems are increasingly becoming popular among the business centers who want to approach the consumer World Wide. • BENEFITS OF THE E-COMMERCE SOLUTION 1. will allow businesses to share information and work collaboratively. Newer systems. • B2C (business to consumer) systems are designed to sell the products directly to the consumer. LOWER TRANSACTION COSTS LARGER PURCHASES PER TRANSACTION INTEGRATION INTO THE BUSINESS CYCLE LARGER CATALOGS NEW BUSINESS MODELS 4 .
the retailer and the customer. allowing our clients to sell the same goods at a lower price. It is this level of service that dictates whether a commercial venture will succeed or not in the market. Thus. A very high flexibility is being maintained in the design process so that this project can take the following path: A multiple merchant venue with each merchant having his/her own window which the customer can visit to browse and subsequently buy the products from. Most current systems have a physical foundation that is the root cause to quite a number of problems. we will operate solely from cyber-space. which is the very essence of our online shopping system. itself being an expensive proposition. 5 . our clients’ competitors are at a disadvantage because their costs are significantly higher than our costs. As people become more accustomed to using the internet. To provide a high accessibility of service we will design the online shopping website. Maintaining the deliverable goods as well as services through single or multiple windows is also on the agenda. they view ordering products and services online as a time-saving and cost-saving experience. store prices are forced to rise. This project envisages bridging the gap between the seller. They just need to online to complete their purchases. By maintaining multiple store fronts.Purpose Today the internet and its boom have created a new economic scenario that not only stresses on the classical concept of the “product” but also on the modern concept of “service”. by using our product. Unlike the prevailing “brick and mortar” shops which have physical existence. so that potential customers need not go to a physical shop to buy products or services.
This site is related with the sale of products by a business organization directly to the consumer and also related with the sale of product by a consumer to other consumer. including delivery address and payment method and stores them in the database too. A company or a customer can register to become the member of the site. the server asks for your details.WORKING OF THE PROJECT This e-commerce site consists of several components which works together to allow you purchase and sales of goods and services over the Internet. 6 . When you have finished purchasing and go to the checkout.
The purpose of the home page is to welcome new visitors and provide a menu of links to the other pages. It display the information of that item and calculates a running subtotal. name and description and a pricing cell that displays the product’s current price. Shopping Cart: This page contains information like quantity . Registration Form: This form contains the information of the person who wants to log in. mode of payment. Displaying Products: It display the picture of the products if available and an informational cell containing the product’s item number. item_no .and price of the item. Payment: In this page the user enters the shipping and payment information like delivery address. The home page contains an index of all the contents and links to various pages of the website. It asked from the user to enter the quantity of the product. 7 .MODULES DESCRIPTION Home Page: When a user logs in home page for website is opened.item_name . Here the user has to enter the user_id and password to sign up.
User master Product master New Registere d User Proces s Login Login ok Process purchase Shipmen t process Payment table Order table Delivers product 8 .
DATABASE TABLES ADMINISTRATOR:- In this module the administrator will have an access to manage manufacturers. subcategories and products. It stores the manufacture code. It can only be accessed by the administrator. categories. Field Name Type MCODE MNAME MABOUT MPHOTO Varchar2 Varchar2 Varchar2 Varchar2 Size 50 50 100 Constraints Primary key Not Null Null able Description Indicates the manufactures code Refers manufacturers name Refers manufacturers details Refers manufacturers logo 4000 Null able 9 . name. This module will work at the backend. Field Name Type Username Password Varchar2 Varchar2 Size 50 50 Constraints Primary key Not null Description Indicates the user of the database Refers to the user’s password MANUFACTURERS:- In this module the administrator will manage manufacturers whose products are sold on website. its details and its logo.
category code and name of photo of subcategory. Field Name SUBCODE SUBNAME CCODE SUBPHOTO Type Varchar2 Varchar2 Varchar2 Varchar2 Size 50 50 50 100 Constraints Primary key Not Null Foreign key Nullable Description Indicates the subcategory code Refers subcategory name Indicates the category code Refers subcategory photo 10 . name. It stores the category code . CATEGORY MASTER:- In this module the administrator will manage different categories on website. name and its photo. Field Name Type CCODE CNAME CPHOTO Varchar2 Varchar2 Varchar2 Size 50 50 100 Constraints Primary key Not Null Null able Description Indicates the category code Refers category name Refers category photo SUBCATEGORY MASTER:In this module the administrator will manage different subcategories on website. It stores the subcategory code.
PRODUCT MASTER:In this module the administrator will manage different subcategories on website. Field Name Username password Name Address phone Pincode Email Data Type Number Varchar2 Varchar2 Varchar2 Varchar2 Number Varchar2 Size 20 20 30 100 30 10 20 Constraint PK Not null Not null Not null Nullable Not null Not null Description Name of the user Password given by the user Name of the person Address of the person Phone of the person Pin code of the person Email address of the person 11 . category code and name of photo of subcategory. Field Name PCODE PNAME SUBCODE CPRICE SPRICE MCODE STOCK PPHOTO PDESC Type Varchar2 Varchar2 Varchar2 Number Number Varchar2 Number Varchar2 Varchar2 100 4000 50 Size 50 50 50 50 Constraints Primary key Not Null Foreign key Not null Not null Foreign key Not null Nullable Nullable Description Indicates the product code Refers product name Indicates the subcategory code Refers cost price Refers selling price Refers manufacturers code Refers stock of product Refers photo of product Refers description of product USERS:- This table contains the data of all the registered users. It stores the subcategory code. name.
of the customer Email address of the customer Cheque/DD/etc Total amount of the order DELIEVERY INFO It contains dispatch date. Field Name orderid orderdate customerid Shipping address phone email modeofpayment amount Type Number Date/Time Varchar2 Varchar2 Number Varchar2 Varchar2 Number 100 20 30 30 10 10 Not null Not null Not null Size 9 Constraint PK Not null Foreign key Not null Description Id of the order Date of order User ID of registered user Address where the product is to be shipped Phone no. Field Name orderid Date_of_delievery Type Number Date Size 10 Constraint PK Not null Description Id of the order Date of delivery of the order 12 .Date_of_reg Date/Time Not null Date of registration ORDER TABLE A record will be added to the Order table for each order entered by a customer.
in addition one record is added to the Order Details table for each item requested in that order. ORDER DETAIL Each time an order is placed. Field Name orderid productno quantity totalprice Type Number Number Number Number Size 10 10 20 10 Constraint PK NN NN NN Description Id of the order Number of the product Quantity of the product Total price of the product 13 . one record is added to the Orders table.
which resides on the server. HTML is a cross-platform standard. The name World Wide Web truly means something that encompasses just about every topic in the world.FRONT END TOOLS Technologies used:HTML:No book can be printed without paper and paper can be made only with raw materials. So the same HTML document can be viewed in different browsers. Which specifies the Web Server address and the address Web page. HTTP (Hyper Text Transfer Protocol) which is used to transmit those pages. 2. A Web browser client program to receive the data. URL is a unique address on the Internet. Hypertext document can contain links to other information sources. HTML (Hypertext Markup Language) which is used to write Web pages. Transfer Protocol. interpret it and display the results. Everything which is created in HTML relies on marks or tags. 3. HTML is the authoring tool used to develop web pages. The World Wide Web uses three technologies: 1. URL is divided into four parts : 1. Each HTML document has an Internet address called the Uniform Resource Locators (URL). which adheres to the standards set by ISO. 2. Server name. 14 . It is used to create documents using tags that determine the structure and format. If you are planning to have your website on World Wide Web then you need the raw material called the Hypertext Markup Language (HTML).
easier to use. Efficient: With traditional CGI. and cheaper than traditional CGI and then many alternative CGI-like technologies. Advantage of Servlets: Java Servlets are more efficient. With Servlets. If the CGI program does a relatively fast operation. more powerful. a new process is started for each HTTP request. more portable. the overhead of starting the process can dominate the execution time.3. Java is used by programmers to create new objects and applets Java Script is designed for use by HTML page authors and enterprise application developers to dynamically script the behavior of objects running either on clients or the servers Java Scripts design and concepts represent the next generation of software for the internet and is: • • • • Designed for creating network centric applications Complementary to and integrated with Java Complementary to and integrated with HTML Open and cross platform With Java Script on HTML page might contain a from that processes data on the client side server side Java Script might pull data out of a relation data base and format it in HTML on the fly A page might contain Java Script scripts that run on both the client and server JAVA SERVLETS:Servlets are the programs that run on a Web server and build Web pages. Java Script:Java Script is on easy to use object scripting language designed for creating live on line applications that link together objects and resources on both clients and servers. Directory Path. 4. the Java Virtual 15 . File name.
Servlets can talk directly to the Web server (regular CGI programs can't). which is free. 16 . Servlets have an extensive infrastructure for automatically parsing and decoding HTML form data. Inexpensive: There are a number of free or very inexpensive Web servers available that are good for "personal" use or low-volume Web sites. This simplifies operations that need to look up images and other data stored in standard places. making useful thing like database connection pools easy to implement. Servlets can also share data among each other. not a heavyweight operating system process.Machine stays up. handling cookies. most commercial-quality Web servers are relatively expensive. tracking sessions. Powerful: Java Servlets let you easily do several things that are difficult or impossible with regular CGI. reading and setting HTTP headers. For one thing. Convenient: Besides the convenience of being able to use a familiar language. and many other such utilities. and each request is handled by a lightweight Java thread. with the major exception of Apache. However.
Create Connection The loading of the JDBC database driver does not connect to the database. One of the limitations of the current implementation of JDBC is that a Result Set can only be reviewed in serial order—the cursor cannot move backwards. 17 . When this call is made. creating a Statement object. the Java system searches for the class requested and loads the driver.jdbc. This is usually accomplished using the forName static method of the Class object (which is part of the base Java system). 4 2.forName ("sun.getConnection method to find a specific driver that can create a connection to the URL requested. executing a SQL statement with the Statement object and returning a Result Set.JAVA DATABASE CONNECTIVITY (JDBC) The simple applications demonstrate the basics of JDBC usage: loading a database driver. Database access with JDBC will always represent some variation of these calls and additional calls as needed. but because it is not needed. The call is made as follows: JDBC Tutorial Class. and retrieving rows of data using the Result Set object. Basic JDBC Programming: 1. Before any database-specific SQL statements can be executed. This is accomplished through a call to the DriverManager.JdbcOdbcDriver"). A class descriptor is returned by this method.odbc. Load Driver The first step in using JDBC is to load the JDBC-ODBC bridge driver. it merely creates an environment in the program where this can be done. creating a Connection object. a connection must be established to the database. it is ignored.
Capability to handle a much larger number of concurrent users: By pooling database connection the Oracle 8. If a driver cannot be found. "proip". the getConnection method is invoked with a String containing the URL for the database and two additional String parameters.The DriverManager searches through registered drivers until one is found that can process the database URL that was specified.0 server is able to service a 18 .0 offers the following advantages : Client Server Application : Different tables created in Oracle do not get locked on until the user deliberately attempts to do that . "ip1998")..Power Builder (PB). which connects well with the front– end like Visual Basic (VB) . Oracle 8. In this example. Code that follows this statement can therefore assert that no exception was thrown and a connection has been successfully established. Data can be shared by all users until there is no restriction on the access to the database. getConnection ( url. This is because there is no need for any codes arranging the icons in Oracle which is a serious drawback of other software. one for the user name and one for the user password. an exception is thrown and code execution will not continue for that method. Connection con = DriverManager. Developer 2000 etc . Easier Programming: Oracle is a software that is easy not only for the users but also for the programmer . User Friendly : The package designed in Oracle can be user friendly to the extent that even a layman can operate the computer . The call is made as follows: String url = "jdbc:odbc:msaccessdb". Back End Tools Oracle is a BACK – END tool .
1. more exact: JSPs are translated into a Java Servlet when they are called the first time. so that a password has a limited lifetime and must meet certain criteria such as minimum length .4 4.0 there is no restriction to the number of files that can be opened Improved Security Administration : The Oracle 8. Also it offers perfect security and integrity of data . Servlet/JSP specification. An account can be locked after a specified number of failed login attempts .5. but have the advance that they run with Java and therefore on almost every operating system.0 server includes password management .3/1.31 Servlet/JSP Spec 2. depending on the server operating system and server hardware resource . JSPs are common to Active Server Pages (ASP).0 2. An RDBMS Product : Oracle is the most popular RDBMS products and it is available on many platforms and can work for all popular operating systems . JSPs are related to Java Servlets. Here below an overview of Tomcat version vs. Tomcat version 5. Tomcat:Tomcat is a servlet container and is the reference implementation for the Java Servlet and JaveServer Pages (JSP) technologies.2 19 .0 access the data faster than other available back – end tools such as FoxPro . Faster access to data : Oracle 8. The main difference between Servlets and JSP is:In JSPs you insert dynamic Java code into static HTML In Java Servlets you insert static HTML into Java code.4/2. It does not contain an EJB container. much larger number of component users . Java Server Pages:Java Server Pages (JSP) is a new technology to integrate server-side code into static HTML code. the generated Java Servlet runs the service() method. With every request of a JSP. Large number of files can be opened : In Oracle 8.up to 30000 .
TRAINING Training being taken at Real Infotech. So we use the Tomcat server from the Apache sub-project named Jakarta. Tomcat is a Java based web application container.2/1.3. is open source and entire free to use (Tomcat is released under the Apache software license).3. Tomcat is the official reference implementation for the Servlet 2. Umesh Kalia.3 and JSP 1.2 2. Tomcat is developed by a group of voluntary programmers.2 specification. 20 .1 Apache or any other common web server can’t handle Servlets nor JSP. Amritsar under Mr.
This action might not be possible to undo. Are you sure you want to continue?