Tải bản đầy đủ (.pdf) (32 trang)

Tài liệu Module 2: Examining E-Business Applications doc

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (783.76 KB, 32 trang )








Contents
Overview 1
Functional Characteristics of B2C
Applications 2
Lab 2.1: Examining a .NET B2C Application 4
Functional Characteristics of B2B
Applications 7
Lab 2.2: Examining a .NET B2B Application 20
Non-Functional Characteristics of
E-Business Applications 23
Review 27

Module 2: Examining
E-Business
Applications

Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.


Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.

 2001 Microsoft Corporation. All rights reserved.

Microsoft, Active Directory, ActiveX, BizTalk Server, FoxPro, FrontPage, Hotmail, Jscript,
Outlook, PowerPoint, Visio, Visual Basic, Visual C#, Visual C++, Visual Studio, Windows, and
Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the
U.S.A. and/or other countries.

Other product and company names mentioned herein may be the trademarks of their respective
owners.


Module 2: Examining E-Business Applications iii

Instructor Notes
This module describes the functional characteristics of both business-to-
consumer (B2C) and business-to-business (B2B) e-commerce applications. In
addition, the module describes the non-functional characteristics of e-business
applications, such as security, scalability, and robustness.
After completing this module, students will be able to:

Identify the functional characteristics of B2C e-commerce applications.

Identify the functional characteristics of B2B e-commerce applications.

Identify the non-functional characteristics of e-business applications.


Materials and Preparation
This section provides the materials and preparation tasks that you need to teach
this module.
Required Materials
To teach this module, you need the following materials:

Microsoft
®
PowerPoint
®
file 2260A_02.ppt

Module 2, “Examining E-Business Applications”

Lab 2.1, “Examining a .NET B2C Application”

Lab 2.2, “Examining a .NET B2B Application”

Preparation Tasks
To prepare for this module, you should:

Read all of the materials for this module.

Complete the labs.

Presentation:
40 Minutes

Labs:

30 Minutes
iv Module 2: Examining E-Business Applications

Module Strategy
Use the following strategy to present this module:

Functional Characteristics of B2C Applications
Provide an overview of B2C e-commerce. Focus on the functionality
required for a B2C application, and do not delve into the details of the
Microsoft .NET technologies that can be used to achieve the required
functionality. These details are provided in the later modules.
Be aware that because the students are users of the Internet, they are likely
to already be familiar with B2C Web sites, even if they have not developed
one of their own.

Lab 2.1: Examining a .NET B2C Application
In this lab, students will navigate the IBuySpy application, which is a
fictitious retailer Web site that sells spy equipment. Students will explore
how the site implements some key requirements of B2C applications.
Students will also test the basic functionality of the B2C features of this
application.

Functional Characteristics of B2B Applications
It is less likely that students have exposure to B2B e-commerce. However,
you must not discount the possibility that some of the students may have
already worked on such sites. You must gauge the levels of exposure to
B2B e-commerce that the students have had and then tailor your
presentation accordingly.
Emphasize how B2B e-commerce automates data processing that has
traditionally been expensive and time consuming. The topics on both the

paper-based and automated procurement processes will help explain what
B2B e-commerce is about.

Lab 2.2, “Examining a .NET B2B Application”
In this lab, students will explore the B2B procurement solution for a
fictitious company named Litware Books. Students will explore how the site
implements some key requirements of the B2B procurement solution. The
students will also test the basic B2B functionality of the solution. In the labs
of the later modules, students will develop a similar automated B2B
procurement solution.

Non-Functional Characteristics of E-Business Applications
Explain the non-functional characteristics of an e-business application. Tell
the students that this section applies to both B2C and B2B e-commerce
applications.
The focus of this section is on the non-functional characteristics that must
be in place before any functional features, such as order processing, can be
considered successfully implemented.

Module 2: Examining E-Business Applications 1

Overview

Functional Characteristics of B2C Applications

Functional Characteristics of B2B Applications

Non-Functional Characteristics of E-Business
Applications


*****************************I
LLEGAL FOR
N
ON
-T
RAINER
U
SE
*****************************
Business-to-consumer (B2C) Web sites are recognized as extremely useful
portals to commercial organizations' offerings. There are distinct commercial
advantages for companies in selling their products and services to customers
through the Internet. If a company does not embrace online trading to improve
their sales effort, it will soon become uncompetitive, and they may ultimately
lose all of their business.
Business-to-business (B2B) sites are recognized as useful tools for increasing
the efficiency of communication with trading partners, such as suppliers or
related service providers. As with the B2C sites, B2B applications can
dramatically improve the operating efficiency of a commercial organization.
This module examines the functional characteristics of a B2C application. It
then explores B2B applications and describes the type of functionality that can
be incorporated into this type of solution. Finally, the module describes the non-
functional characteristics of e-business applications.
After completing this module, you will be able to:

Identify the functional characteristics of B2C e-commerce applications.

Identify the functional characteristics of B2B e-commerce applications.

Identify the non-functional characteristics of e-business applications.


Topic Objective
To provide an overview of
the module topics and
objectives.
Lead-in
In this module, you will learn
about B2C and B2B
e-commerce applications.
2 Module 2: Examining E-Business Applications

Functional Characteristics of B2C Applications

Primary goal of B2C applications is to provide an
interesting and easy–to-use experience for customers

A B2C site should support the following characteristics:

Product catalogs for presenting information

Shopping carts to allow customers to store products they
intend to buy

Order processing to allow customers to purchase
products by placing orders

*****************************I
LLEGAL FOR
N
ON

-T
RAINER
U
SE
*****************************
The primary goal of B2C applications is to provide an interesting and easy-to-
use experience for your customer while also providing a valuable point of sale
for your company. This will involve allowing the online purchase of your
company’s offerings and may include other features that your company can
profit from, such as targeted advertising campaigns.
Most well-designed B2C sites present information about their products, allow
the user to add products to the list of what they want to buy, and then allow
checkout as the final step in the purchase process.
Product Catalogs
A key component of your B2C e-commerce application is presenting
information about your products to the potential customer in a professional and
attractive manner.
Presenting product catalogs and allowing those catalogs to be searched are very
common operations for a sales-oriented site. The aim of providing searchable
catalogs is to make it easy for a customer to find and purchase products.
How a product catalog is stored will have an impact on its performance. For
example, if the catalog is managed by a relational database management system
(RDBMS), such as Microsoft
®
SQL Server

2000, indexes can be created to
speed up searches.
You must plan your search features carefully at the beginning of the project.
Some issues to be considered with respect to product catalogs are:


If a catalog is on a database server, the database can be optimized for certain
common types of searches, and the expected load of searching must be
considered in the design phase.

If the data to be searched comes from many different sources, performance,
availability, and reliability of those sources must also be considered.

Topic Objective
To explain the functional
characteristics of B2C
applications.
Lead-in
The primary goal of B2C
applications is to provide an
interesting and easy-to-use
experience for your
customer.
Module 2: Examining E-Business Applications 3

Shopping Cart
Users expect to be able to store items they intend to buy in some sort of virtual
shopping cart. The characteristics of this shopping cart can have a significant
effect on the architecture of a site. Even if the state (contents) of the shopping
cart is not persistent, there are some tradeoffs involved in the shopping cart
implementation used, such as being able to load balance across multiple Web
servers while retaining the information contained in a shopping cart.

Designing the shopping cart features is covered in Module 4, “Designing
the Client Experience,” and Module 5, “Managing the Business Logic Layer,”

in Course 2260A, Designing E-Business Applications with Microsoft .NET
Enterprise Servers.

Order Processing
Placing an order is an important activity for most sales-oriented Web sites. This
activity could involve many different operations combined into one transaction,
such as:

Business logic to confirm available inventory and calculate shipping cost.

Interoperation with other systems to charge a credit card and notify the
fulfillment center.

Data access to record the order and update the inventory count.

Business requirements, such as the frequency and complexity of transactions
desired, will have an impact on the implementation of the transaction-
processing system.
The details on how to handle transaction processing are covered in Module 6,
“Transaction Processing on the Business Logic Layer,” in Course 2260A,
Designing E-Business Applications with Microsoft .NET Enterprise Servers.
Note
4 Module 2: Examining E-Business Applications

Lab 2.1: Examining a .NET B2C Application

*****************************I
LLEGAL FOR
N
ON

-T
RAINER
U
SE
*****************************
Objectives
After completing this lab, you will be able to:

Identify the key requirements of B2C applications and, in particular, the
requirements related to Microsoft .NET technologies.

Understand the functionality of B2C applications.

Scenario
The IBuySpy Web site is a fictitious retailer that sells spy equipment. The Web
site demonstrates the ease with which you can create powerful and scalable
applications for the .NET platform.
In this lab, you will navigate the IBuySpy application. You will explore how
the site implements some key requirements of B2C applications. You will also
test the basic functionality of the B2C features of this application.
Estimated time to complete this lab: 15 minutes
Topic Objective
To introduce the lab.
Lead-in
In this lab, you will explore
the IBuySpy e-commerce
application to understand
the key requirements and
functionality of a B2C site.
Module 2: Examining E-Business Applications 5


Exercise 1
Exploring the Key Requirements
In this exercise, you will explore the navigational and informational features of
the IBuySpy Web site.

To start the application
1. Start Microsoft Internet Explorer 5.5.
2. Navigate to .


To navigate the site
1. Under the Run Online Now section, click IBuySpy Store.
2. Note the promotional hyperlinks in the Our most popular items this week
section.
3. Click each of the popular items in this section and read product reviews,
where provided.
4. Notice that the left side navigation bar of the Web site contains a list of
categories. Click each link to review the contents of each category.


To view the developers comments, descriptions, and the source code
1. Click the IBUYSPY link at the upper left corner of the site to return to the
home page.
2. Click View VB Docs at the bottom of the left side navigation bar.
You will see a description of the IBuySpy implementation and a list of
pages, pagelets, and components that are used to build this e-business
application. Read the information displayed by the resultant Web page.
3. Under the ASP.NET Pages heading, click the Default.aspx link. Review
the information displayed.

4. Close the current browser window to return to the IBuySpy Web site.

6 Module 2: Examining E-Business Applications

Exercise 2
Testing the Basic Functionality
In this exercise, you will test the functionality of the IBuySpy Web site. To do
this, you will log on to the Web site, choose items to buy, and then add them to
your shopping cart; finally, you will place your order.

To log onto the Web site
1. On the IBuySpy Web site, click the Sign In link at the top of the page.
2. Click the Register link.
3. Type your full name.
4. Type your e-mail address.
5. Type a password, and then confirm the password.
6. Click Submit to submit your details.
7. Click the IBUYSPY link at the upper left corner of the site to return to the
home page.
Notice that the welcome message displays your name.


To add items to your shopping cart
1. Use the navigation links for the categories of products to review the details
of six or seven products.
2. Add some of your favorite items to your shopping cart by clicking Add to
Cart on each of the product pages.
Make sure that you have at least four items in your cart before continuing
with step 3.
3. When you have at least four items in your cart, click Cart at the top of the

page.
You must be able to see the details of your chosen products, such as model,
quantity, and price.
4. Remove one of the product lines in your cart by selecting the corresponding
Remove check box.
5. For another product, increase the quantity to three.
6. Click Update your Shopping Cart to recalculate its contents.
7. Review the details.


To check out your order
1. Click Final Check Out.
You will be shown a review of your order and the total cost of the products
in the cart.
2. Click Submit to complete the purchasing process.
Note that you have an order number.
3. Click Account at the top of the page.
An account history appears. Note that your order number matches that
assigned to your checked-out order.
Module 2: Examining E-Business Applications 7






Functional Characteristics of B2B Applications

Exchanging Business Data


Value-Chain Integration

The Procurement Process

Automating the Procurement Process

Extending B2B Solutions

Comparing B2B Procurement with B2C Solutions

*****************************I
LLEGAL FOR
N
ON
-T
RAINER
U
SE
*****************************
B2B e-commerce is primarily concerned with streamlining the business process
that is undertaken by your company and its trading partners. This involves
exchanging business data, such as procurement details, electronically. The
efficiency gains that can be made from this basic concept are considerable.
Another key function of B2B e-commerce is value-chain integration, which
consists of tight integration across suppliers, manufacturers, and distributors.
B2B e-commerce improves corporate purchasing by automating the
procurement process.
This section focuses on the key functional characteristics of B2B solutions. You
will learn about the issues involved in developing B2B solutions. Finally, you
will look at the similarities and differences between B2B procurement and B2C

solutions to understand better the functions of each application.
Topic Objective
To introduce the topics in
this section.
Lead-in
In this section, you will learn
about B2B e-commerce.
8 Module 2: Examining E-Business Applications

Exchanging Business Data

Transport Protocols for Data Exchange

Formats for Data Exchange

EDI

Flat files

XML
HTTP POST/GET
DCOM
XMLP Asynchronous mechanismsInternet

*****************************I
LLEGAL FOR
N
ON
-T
RAINER

U
SE
*****************************
There are a number of issues involved in communicating electronically with
your business partners, especially with the exchange of business data. The two
primary issues are:

The type of transport that will be used for the exchange of data.

The format of any data that must be exchanged.

Transport Protocols for Data Exchange
There are a number of transport choices for exchanging data with your business
partners.
Distributed object call
Distributed Component Object Model (DCOM) is a distributed object
mechanism that allows software on one system to call the methods in the
components of another system. DCOM is a powerful and sophisticated
mechanism that can be used for making remote method calls, including the
propagation of transactions between systems. However, like other distributed
object mechanisms, DCOM does not penetrate Internet firewalls very well. In
addition, systems based on synchronous, interface-based systems such as
DCOM can be rather inflexible when compared to Extensible Markup
Language (XML)–based messaging systems. You will learn more about DCOM
in Module 7, “Integrating with External Systems,” in Course 2260A, Designing
E-Business Applications with Microsoft .NET Enterprise Servers.
HTTP POST/GET
Hypertext Transfer Protocol (HTTP) provides a standard mechanism for
encoding information sent from a browser to a Web application. This same
mechanism can be used to automatically submit information to a Web-based

supplier system. The information sent can be encoded as simple name/value
pairs. Alternatively, more structure can be added to the contents by using XML.
HTTP does have disadvantages, including the need for a new connection for
each call and the lack of standard routing and method-invocation mechanisms.
Topic Objective
To discuss data exchange in
a B2B application.
Lead-in
There are a number of
issues involved in
communicating
electronically with your
business partners,
especially with the
exchange of business data.

×