Home > Store

Developing e-Commerce Sites: An Integrated Approach

Register your product to gain access to bonus material or receive a coupon.

Developing e-Commerce Sites: An Integrated Approach

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2000
  • Dimensions: 7-3/8" x 9-1/4"
  • Pages: 648
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-65764-3
  • ISBN-13: 978-0-201-65764-7

Today's e-Commerce-enabled Web sites are more complex than ever: it's no longer enough to simply add "shopping cart" functionality! This book shows developers exactly how to integrate a wide range of proven and emerging Web technologies to build a state-of-the-art e-Commerce site from scratch. The authors' example-driven, step-by-step approach offers an inside view of e-Commerce systems -- and provides Java, JavaScript, SQL and XML code that can help developers dramatically reduce time-to-market. Developing E-Commerce Sites starts with a quick refresher on the basics of establishing a Web presence, and a detailed overview of the key challenges associated with deploying e-Commerce and other sophisticated Web applications. Next, the authors introduce several of the key technologies that enable e-Commerce, including HTML, Java, servlets, JavaScript, JDBC, and XML -- providing detailed examples that solve real-world e-Commerce problems. Next, Developing E-Commerce Sites addresses the critical security, credit card verification, and site performance issues associated with e-Commerce. The book concludes by walking through the development of a complete e-Commerce system from start-to-finish, including database integration, user interfaces, and the creation of utility classes that can be reused in any e-Commerce deployment.

Sample Content

Table of Contents



Introduction

Rationale

Target Audience

Highlights of the Book

Organization

Acknowledgments

Part I

Chapter 1 The Basics of Internet Technology

Skill Level Required

Web Sites and Browsers

Web Pages and HTML

Web Servers and HTTP

URLs

FORMS and CGI

Javascript

Cookies

Java and Servlets

Databases

JDBC

XML

e-Commerce Systems

Inventory Management Systems

Profile Management Systems

Ordering Management Systems

Shipping Management Systems

Reporting Systems

Getting on the Internet

Using an ISP

Using a Hosting Service

Keeping the Computer with You

A Note about Speed

Disclaimer

Part II

Chapter 2 HTML

Introduction

First HTML File

Some Formatting Tags

Links

Lists

Tables

Frames

Forms

Putting Comments in HTML

Conclusion

Chapter 3 Java

Introduction

Object Oriented Programming

First Java Program

Applets and Applications

Instances

Method Overloading

Inheritance

Interfaces

Packages

Exceptions

File I/O

Threads

Some Useful Classes and Methods

Vectors

Hashtables

Object Serialization

Remote Method Invocation (RMI)

Reading a URL

Working with Proxies

Internationalization

Applets

Threads in Applets

Java Mail API

Commenting Code in Java

Some Useful Tools

Some Practical Examples

Example 1: Displaying Multiple Advertisements on Your Site

Example 2: Keeping Track of Clicks on Advertisements

Conclusion

Some Handy Classes and Methods in Some Useful Packages

Chapter 4 Servlets

= HTML FORMs

= POST and GET METHODs

= Anatomy of a Request and a Response

= CGI Scripts

= Drawbacks of CGI

= Efficiency with Servlets

= Anatomy of a Servlet

= JServ--Servlet Engine

= A Basic Servlet

= FORM Variables

= Cookies

= Sessions

= Some Practical Examples

Example 1: Bulk Email Sender

Example 2: Internationalized Help Screens for Your Worldwide Customers

Example 3: Stocks Reader

= Example: Session-Based Shopping Cart

= Conclusion

= Some Useful Interfaces/Classes and Some of Their Methods

Chapter 5 Javascript

Introduction

Documents

documents.forms

Statements

Examples

Functions

Objects in Javascript

Events and Event Handling

Arrays

FORMs

Select Lists

Buttons

Submit and Radio Buttons

Checkboxes

Text Fields and Text Areas

Frames

Cookies

A Practical Example

Example: Personalized One-to-One Service to Customers

Some Useful Methods, Properties, and Event Handlers of Some Useful Objects

Reference

Chapter 6 SQL and JDBC

Databases and SQL

Schemas

Datatypes

Table Creation

Column Constraints

Keys

Indexes

Dropping Tables

Data Insertion and Modification

Transactions

Data Retrieval

Operators

Functions

Retrieving Records from Multiple Tables

Deleting Records

Sequences

Stored Procedures

JDBC

Connecting to the Database

Drivers

Connection Object

Statement Object

Retrieving Data

Inserting/Modifying Data

PreparedStatement

Insert into a LONG Column

CallableStatement

Transactions in JDBC

Some Practical Examples

Example 1: A Customer Registration System

Example 2: Bulk Email Sender--JDBC Version

Some Useful Classes and Interfaces in the Java.sql Package

Chapter 7 XML

Introduction

Some Rules to Follow

Displaying an XML Document

Data Interchange with an XML Document

Document Type Definitions (DTDs)

Parsers

Using XML

Client-Side Usage

Server-Side Usage

Some Practical Examples

Example 1: Generating XML from the Database

Example 2: Reading XML Data into the Database

Example 3: XML-Based Stock Analyzer

Conclusion

References

PART III

Chapter 8 Credit Card Verification

Card Authorization URLs

Third-Party APIs

Chapter 9 Security and Performance

Security

Firewalls

Database Security

Software Patches

Data Transmission Security

Public and Private Keys

Certificates

Ciphers

Secure Sockets Layer

Message Digests

Password Security

Some Hints on Making the Applications Secure

Performance

Finding and Fixing Bottlenecks

Some Suggestions

PART IV

Chapter 10 System Design

Introduction

Inventory Management System

Things to Think About

Profile Management System

Things to Think About

Ordering Management System

Things to Think About

Other Systems

Conclusion

Chapter 11 Functionality

Introduction

Inventory Management System

Menu

Adding a Category

Adding a Subcategory

Deleting Categories

Adding Products

Modifying Products

Viewing and Deleting Products

Typical Usage Scenario

Ordering System

Sign-In Page

Ordering Menu

Adding Products to Checkout Cart

Cart Contents

Checkout

Checkout for Existing Users

Personal Cart Option

Categories Option

Order History Option

Search Option

Typical Usage Scenario

Profile Management System

Top Menu

Registration

Profile Update

Contact Us Option

Password Finder Option

Shipping Management System

Sign-In Page

Reporting System

Sign-In Page

Reporting Menu

User Distribution

Sales Distribution

User Frequency

Sales Frequency

Chapter 12 Utilities

Introduction

Description of the Utilities

Connection-Pooling Utility

Authenticator

Email-Sending Utility

HTML Template Utility

Chapter 13 Inventory Management System

Prerequisites

High-Level Description

Classes and Their Methods

Detailed Description

HTML Files in Document Root

Other HTML Files and Templates

Chapter 14 Profile Management System

High-Level Description

Classes and Their Methods

Detailed Description

Document Root HTML Files

Other HTML Files and Templates

Chapter 15 Ordering Management System

High-Level Description

Classes and Their Methods

Detailed Description

Document Root HTML Files

Other HTML Files and Templates

PART V

Chapter 16 Shipping Management System

High-Level Description

Classes and Their Methods

Detailed Description

Document Root HTML Files

Other HTML Files and Templates

Chapter 17 Reporting System

High-Level Description

Classes and Their Methods

Detailed Description

Document Root HTML Files

Other HTML Files and Templates

Appendix A Installation and Configuration Instructions

Apache

Installation

Troubleshooting

Configuration

JServ

Installation

Configuration

Oracle

Utilities

mSQL

Troubleshooting

Utilities

JDBC Drivers

Troubleshooting

JavaMail

Appendix B Complete Code Listing
Installation
Inventory Management System
Ordering Management System
Profile Management System
Shipping Management System
Reporting System
Utilities
SQL For Creating Tables and Sequences
Index. 0201657643T04062001

Preface

JG541

Introduction

I still remember those days in school when we spent endless hours writing a small program in C that would allow two computers to communicate. There is no doubt that C is an excellent and very flexible language. However, in today's world of breakneck speed, when everything needs to be developed by "next Tuesday," doing things in C alone can be a bit challenging. It's the day and age of specialized languages and technologies. In this book we discuss a number of languages specifically geared for Web development. And we discuss these within an even more focused environment--that of developing tools that can help in conducting commerce over the Internet.

The book not only introduces you to different languages that can be used for developing effective e-commerce applications, it also presents a large number of practical examples. In addition it deals with issues such as performance and security, which are of importance to any e-commerce site. The last section of the book presents a complete example: five systems that can be leveraged by any e-commerce site.

Rationale

There are a number of books on the market that talk about individual technologies for Web development. While these books excel in the topics they're dealing with, practical Web development requires the use of more than one language and technology. A book on databases would teach you SQL and everything related to databases. Another book would make you a master of Java. However, if you're asked to develop e-commerce systems for a company, you would need to know not only these two but a lot more, such as Javascript, JDBC, Servlets, Web servers, etc. More important, you would need to understand which language and technology are best suited for what and how they can be integrated.

This book is an attempt to fill that void. Different pieces required to solve the puzzle are presented in a logical and easy-to-follow manner. Every chapter builds on knowledge gained in previous chapters. Carefully crafted examples show you how to develop practical solutions using a combination of appropriate technologies. In short, the book was written to get you up to speed by next Tuesday, if not Monday!

Target Audience

The primary target audience for this book is technical people who want to learn how to develop applications for e-commerce. These include both technical developers who want to learn the technologies and technical managers who want to see how developers can apply them.

Even though the book uses e-commerce as a backdrop, it covers everything required for building any kind of Internet application. It is thus intended to be useful even for technical people interested in generic Web development.

Here are some categories of people who can benefit from this book:

  1. Software professionals who want to design and develop e-commerce applications.
  2. Semitechnical managers and business school students who want to understand what e-commerce systems are, what technologies they require, and how they can be developed and deployed.
  3. Consultants, developers, and computer science students who just want to learn different Web technologies and understand how they can be integrated to build powerfult Internet applications.

Highlights of the Book

The book has a number of useful features:

  • It brings readers up to speed on different technologies used for building powerful Web-based systems.
  • It contains a large number of practical examples.
  • It teaches gradually and progressively how to build a sophisticated e-commerce system.
  • It provides Java, Javascript, JDBC, Servlet, and SQL code segments that can be used to save product development time.
  • It gives the "inside" view of an e-commerce system so that users have a better understanding of the whole concept.
  • It provides an introduction to XML and how it can be used in e-commerce.

Organization

The book comprises four parts, followed by two appendices:

Part I contains the introductory chapter, which outlines everything that follows. This chapter also shows you how you can get your computer on the Internet and establish a Web presence. Terms applicable to the Internet are described briefly.

Part II begins with a chapter on HTML. Other chapters in this section discuss Java, Servlets, Javascript, SQL, JDBC, and XML. Everything is taught by example. All chapters except the HTML chapter end with a section called Practical Examples where we present a number of programs that solve some complex, practical problems. By making use of knowledge from previous chapters, these examples also illustrate an integration of different languages.

Part III takes a look at some practical considerations for anyone planning on building Web systems and/or e-commerce systems. Chapter 8, "Credit Card Verification," discusses several ways in which you can start accepting credit cards over the Net. Chapter 9, "Security and Performance," talks about steps you can take to make your site faster and more secure.

Part IV which completes the book, contains a complete e-commerce solution. It begins with Chapter 10, "System Design," which introduces five systems developed in the following chapters using technologies covered in Parts II and III. This chapter also presents the design of a database that is used by the e-commerce systems, which should work as a good tutorial for designing a normalized database. Chapter 11, "Functionality," talks about the user interface of the systems. Chapter 12, "Utilities," presents a number of utility classes that can be leveraged by any Web application. The remaining five chapters in Part IV discuss the actual implementation of the five systems.

Appendix A contains instructions for installing and configuring different pieces of required software such as JDBC drivers, Apache Web server, databases, etc. Appendix B provides a complete listing of code for the systems designed in Part IV.

Introduction

I still remember those days in school when we spent endless hours writing a small program in C that would allow two computers to communicate. There is no doubt that C is an excellent and very flexible language. However, in today's world of breakneck speed, when everything needs to be developed by "next Tuesday," doing things in C alone can be a bit challenging. It's the day and age of specialized languages and technologies. In this book we discuss a number of languages specifically geared for Web development. And we discuss these within an even more focused environment--that of developing tools that can help in conducting commerce over the Internet.

The book not only introduces you to different languages that can be used for developing effective e-commerce applications, it also presents a large number of practical examples. In addition it deals with issues such as performance and security, which are of importance to any e-commerce site. The last section of the book presents a complete example: five systems that can be leveraged by any e-commerce site.

Rationale

There are a number of books on the market that talk about individual technologies for Web development. While these books excel in the topics they're dealing with, practical Web development requires the use of more than one language and technology. A book on databases would teach you SQL and everything related to databases. Another book would make you a master of Java. However, if you're asked to develop e-commerce systems for a company, you would need to know not only these two but a lot more, such as Javascript, JDBC, Servlets, Web servers, etc. More important, you would need to understand which language and technology are best suited for what and how they can be integrated.

This book is an attempt to fill that void. Different pieces required to solve the puzzle are presented in a logical and easy-to-follow manner. Every chapter builds on knowledge gained in previous chapters. Carefully crafted examples show you how to develop practical solutions using a combination of appropriate technologies. In short, the book was written to get you up to speed by next Tuesday, if not Monday!

Target Audience

The primary target audience for this book is technical people who want to learn how to develop applications for e-commerce. These include both technical developers who want to learn the technologies and technical managers who want to see how developers can apply them.

Even though the book uses e-commerce as a backdrop, it covers everything required for building any kind of Internet application. It is thus intended to be useful even for technical people interested in generic Web development.

Here are some categories of people who can benefit from this book:

  1. Software professionals who want to design and develop e-commerce applications.
  2. Semitechnical managers and business school students who want to understand what e-commerce systems are, what technologies they require, and how they can be developed and deployed.
  3. Consultants, developers, and computer science students who just want to learn different Web technologies and understand how they can be integrated to build powerfult Internet applications.

Highlights of the Book

The book has a number of useful features:

  • It brings readers up to speed on different technologies used for building powerful Web-based systems.
  • It contains a large number of practical examples.
  • It teaches gradually and progressively how to build a sophisticated e-commerce system.
  • It provides Java, Javascript, JDBC, Servlet, and SQL code segments that can be used to save product development time.
  • It gives the "inside" view of an e-commerce system so that users have a better understanding of the whole concept.
  • It provides an introduction to XML and how it can be used in e-commerce.

Organization

The book comprises four parts, followed by two appendices:

Part I contains the introductory chapter, which outlines everything that follows. This chapter also shows you how you can get your computer on the Internet and establish a Web presence. Terms applicable to the Internet are described briefly.

Part II begins with a chapter on HTML. Other chapters in this section discuss Java, Servlets, Javascript, SQL, JDBC, and XML. Everything is taught by example. All chapters except the HTML chapter end with a section called Practical Examples where we present a number of programs that solve some complex, practical problems. By making use of knowledge from previous chapters, these examples also illustrate an integration of different languages.

Part III takes a look at some practical considerations for anyone planning on building Web systems and/or e-commerce systems. Chapter 8, "Credit Card Verification," discusses several ways in which you can start accepting credit cards over the Net. Chapter 9, "Security and Performance," talks about steps you can take to make your site faster and more secure.

Part IV which completes the book, contains a complete e-commerce solution. It begins with Chapter 10, "System Design," which introduces five systems developed in the following chapters using technologies covered in Parts II and III. This chapter also presents the design of a database that is used by the e-commerce systems, which should work as a good tutorial for designing a normalized database. Chapter 11, "Functionality," talks about the user interface of the systems. Chapter 12, "Utilities," presents a number of utility classes that can be leveraged by any Web application. The remaining five chapters in Part IV discuss the actual implementation of the five systems.

Appendix A contains instructions for installing and configuring different pieces of required software such as JDBC drivers, Apache Web server, databases, etc. Appendix B provides a complete listing of code for the systems designed in Part IV.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020