- Shopping Bag ( 0 items )
Your Java programming knowledge will go a long way toward building an effective e-commerce site. XML is the missing piece, and Java Developer's Guide to E-Commerce With XML and JSP gives you expert instruction in the techniques that unite these closely aligned technologies. Covering the latest Servlet and JSP APIs and the current XML standard, this book guides you through all ...
Ships from: fallbrook, CA
Usually ships in 1-2 business days
Your Java programming knowledge will go a long way toward building an effective e-commerce site. XML is the missing piece, and Java Developer's Guide to E-Commerce With XML and JSP gives you expert instruction in the techniques that unite these closely aligned technologies. Covering the latest Servlet and JSP APIs and the current XML standard, this book guides you through all the steps required to build and implement a cohesive, dynamic, and profitable site.
The enclosed CD contains a complete sample catalog in XML, along with the code you need to accomplish a wide variety of critical e-commerce tasks—editing the catalog, searching and presenting data, presenting and analyzing customer surveys, editing and presenting company news, and equipping the site with a full-featured shopping cart application. The CD also contains the Tomcat Java server, version 3.1.
Text and CD-ROM offering instruction in Java programming with XML and JSP APIs. Shows how Java can be used to solve a variety of Web site problems, and to speed up development and simplify maintenance. The CD-ROM comes with a sample catalog in XML, and the code needed to accomplish a number of e-commerce tasks.
The combination of XML and Java servlets is well suited to the creation of online surveys. In this chapter, we go beyond the simple linear survey and create a system that can alter the questions asked according to the user's input.
Member organizations are entitled to display the TRUSTe logo if their published privacy policies meet the TRUSTe standards, they pay the membership fee, and they pass a privacy statement audit. The fees start at $299 for companies doing less than $1 million in revenue, so membership is really quite reasonable.
Note Sites that may collect information from children under the age of 13 have an even more stringent privacy requirement standard. As this is written, Congress is considering new legislation in this area.
TRUSTe conducts monitoring of member sites to verify that they are adhering to their published privacy standards. This monitoring includes submitting user information for fake users and tracking resulting use of the information. Furthermore, TRUSTe aggressively pursues sites that use the TRUSTe logo without authorization.
For both member and non-member organizations, the site is an excellent location for catching up on the news affecting privacy considerations, particularly in the United States. TRUSTe also cooperates with other industry groups that are attempting to establish standard practices for ensuring user privacy.
EPIC is concerned with civil rights and general privacy rights. It frequently testifies in hearings and actively uses the Freedom of Information Act to uncover government abuses of privacy in the United States.
EPIC is associated with Privacy International, an international coalition of groups concerned with privacy issues. This group, founded in 1990, is based in London. Privacy International organizes international conferences on privacy issues. It also frequently gets in the news with its annual Big Brother awards to the government organizations and the corporations they deem to have the most invasive privacy records.
In this section, we will be developing a generalized XML structure for creating online surveys. Let's start with the following list of design criteria:
Control of Presentation Ideally, we should be able to present questions within the context of our normal Web-page design.
Flexibility of Question Design We need to be able to create a variety of survey methods, from simple yes-or-no questions to a list of multiple-choice options.
Branching Capability A single script should be able to administer different questions to different users depending on their responses to specific questions. For example, if the response to one question indicates that the user never buys music CDs over the Internet, we need to branch away from questions related to music preferences.
Extensibility If a new form of question presentation needs to be added to the system, it should be possible with minimum alteration to the code.
Recording Results Results from each participant should be recorded completely and independently of other participants. This gives us maximum flexibility in analysis.
Translating this diagram into XML entities, we have come up with the following structure. A Questionnaire document has an Intro (introduction) and one or more Block entities at the first level. Each Block has one or more Ques (question) entities and may end with a Terminal entity. A Block has a name attribute that is used to direct branching and a type attribute that has the value "terminal" if the block ends with a Terminal tag. This top-level structure is illustrated schematically in Listing 7.1....
Chapter 1 XML for Data Description
What Is XML?
Rules of XML
Creating Style Sheets with XSL
Using XML in Applications
Programming with SAX
XML at a Glance
Chapter 2 A Catalog in XML
What You Want from a Web Site
Why Choose XML?
The Product Catalog and DTDs
DTD Design Principles
Moving toward DTD Standardization
Chapter 3 Presenting an XML Catalog Online
Organizing the Catalog
Information Flow for Presentation Generation
Chapter 4 Filling a Shopping Cart
The Shopping Cart Problem
The Shopping Cart in Java
The CatalogServ Class
The CatalogBean Class
The ProductFormatter Class
Chapter 5 Billing and Order Confirmation
The Payment Process
Gathering Checkout Information
Updating Shipping Information
Chapter 6 Online Catalog Upkeep
Chapter 7 Using Surveys to Know Your Customer
Customer Privacy Concerns
The Survey Administering Servlet
Chapter 8 And Now for the News
Designing a News System
The News System
Web Page Presentation
Adding the Latest News
Chapter 9 Keep Them Coming Back
News Sources and Standards
An XML File Grabber
Introducing the NewsModel Class
A Supervising Class
Classes to Display Headlines
Chapter 10 Java Web Applications
Specifications In The Servlet API
The Next Generation
Problems Of Scaling Up
Appendix A The Servlet and JSP APIs
Setting Parameters for Applications
Getting Request Information
Setting Response Information
Errors and Exceptions
HTTP Status and Error Codes
The JavaServer Pages API
The PageContext Class
The javax.servlet.jsp.tagext Package