• No results found

Web and e-business Technologies

N/A
N/A
Protected

Academic year: 2021

Share "Web and e-business Technologies"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

Active

ActivePotato CorporationPotato Corporation

www.active

www.activepotato.compotato.com

Web and e-Business Technologies

By

Rohit Chugh

[email protected] For the IEEE Ottawa Chapter June 2, 2003

(2)

Agenda

Agenda

z Web Technologies (7:10 p.m. – 8:00 p.m.) – HTTP – HTML – Web Applications

– Components of Web Applications – Q&A

z Break (8:00 p.m. – 8:15 p.m.)

(3)

HTTP

HTTP

z Internet can be described as the largest

client-server system

z The clients are “Web Browser” z The servers are “Web Server”

z Protocol used is HTTP( Hyper Text Transfer

Protocol).

z HTTP is a request-response protocol

– client sends request to the server in specific format

– Server responds to the request by sending a specific file

(4)

HTML

HTML

z Stands for Hyper Text Markup Language

z Interpreted language rather than a compiled

language

z Platform independent

z Follows certain standards imposed by W3C z Consists of tags also referred as markups to

(5)

HTML (contd.)

HTML (contd.)

<HTML>

<HEAD><TITLE> Demo HTML </TITLE> </HEAD>

<BODY>

<P> PERSONAL DETAILS</P> </BODY>

(6)

Web Applications

Web Applications

z Collection of web pages is called a web site

z Websites display static content and allows user

to navigate and view information

z Web applications provide a more interactive

experience to the user by generating dynamic content

z Web apps are created to solve specific problems

for the user. Examples: Applications like My Yahoo or a Web store front software

(7)

Web Applications (contd.)

Web Applications (contd.)

z Web applications are the integration of different

components:

– Web Servers

– Application Servers

– Server Side Scripts( either Java, Microsoft or others) – Client side scripts (Java scripts, VB scripts)

– Databases( Oracle, Mysql, DB2) – Data Interchange

XML

Text

– Security components like SSL, S-HTTP, Certificates – Payment Infrastructure Software

(8)

Quiz

Quiz

z Is Hotmail a web application?

z Is the IEEE website a web application? z Is Yahoo’s website a B2C or B2B

(9)

Java and the Web

Java and the Web

(10)

Java Servlets

Java Servlets

z Java Servlets are the java class files which

execute within the process space of the application server

z Needs servlet engines to execute them z They are portable across multiple

platforms

(11)

Java Servlets (contd.)

Java Servlets (contd.)

z Servlets are dynamically loaded modules

that service request from the web server

servlet

Client

web server Application server

(12)

Java Server Pages

Java Server Pages

-

-

JSP

JSP

z They are simple way of generating the

dynamic HTML on the server side

z They are extension of the Java Servlets

and provide a way to separate content generation from content presentation

z Looks like any HTML code with java code

embedded in it between <% %>

(13)

Java Server Pages (contd.)

Java Server Pages (contd.)

z JSP Directives

– Page Directive: Can be used to control the following

Sessions

Library usage

Scripting language

Mime types

Error Page

Usage: <%@ page import="java.util.*,java.text.*" %>

– Include Directive: Allows to include the contents of

(14)

Group Question

Group Question

z What is the difference between JSP and

Servlet?

– To the end user? – To the developer?

(15)

JSPs vs. Servlets

JSPs vs. Servlets

z They are the same to the end user

z JSPs are always converted to servlets

z JSPs allow for the content presentation to

be separated from business logic. Servlets don’t

(16)

Microsoft Technologies and Web

Microsoft Technologies and Web

(17)

Active Server Pages

Active Server Pages

-

-

ASP

ASP

z Very similar to JSP - another way to generate

dynamic HTML.

z Open, compile-free application environment

z ASP can be combined with reusable components

like ActiveX to create dynamic and Web-based business solutions.

z Active Server Pages enable server-side scripting

(18)

Active Server Pages (contd.)

Active Server Pages (contd.)

z Looks like any HTML code with VB script

embedded in it between <% %>

z ASPs were initially designed to work with

I.I.S.

z With Sun ONE Active Server Pages it can

be made to run on the Apache Web Server and SUN ONE WEB server. More

(19)

ASP (contd.)

ASP (contd.)

Sample Code <html> <head> <Title>Hi there!</title> </head>

<body background="" bgColor=#ffffff> <h2>

<%

Response.Write "Welcome to Web and eTechnologies Seminar"

(20)

.NET

.NET

z Set of software technologies

z Removes different barriers between the

systems, user through web services

z Uses the .NET Application Framework z .NET Application Framework has 2

components

(21)

Data Interchange Technologies

Data Interchange Technologies

(22)

X.M.L.

X.M.L.

z Stands for Extensible Markup Language. z Designed to be universal format for data

on the web

z XML allows developers to easily describe

structured data from any application in a standard way

z XML doesn’t replace HTML. Is is rather

(23)

X.M.L. (contd.)

X.M.L. (contd.)

z Is self describing and doesn’t have any

predefined tags. This makes it easy for applications to exchange data following the same protocol

z XML can be used to define other

languages like WML (wireless markup language)

(24)

XML (contd.)

XML (contd.)

z Sample XML file. <Student> <StudentId>S001</StudentId> <FirstName>Marwan</FirstName> <LastName>Forzley</LastName> <Age>10</Age> </Student>

(25)

Security

Security

(26)

Security (S.S.L.)

Security (S.S.L.)

z Used by all application that require secure

data transfer. Lock shows on web page

z Secures information using symmetric and

asymmetric encryption

z SSL can be used with 2 strengths:

– 40 bit – 128 bit

(27)

Group Exercise

Group Exercise

z Shoes.com sells shoes online. User

selects their favorite shoe from a

catalogue, and then proceeds to pay on the internet

z Where would you use the following

technologies: – Html

– Java Servlets / JSPs/ASPs – SSL

(28)

List of Resources

List of Resources

z Java Server Pages

– http://java.sun.com/products/jsp/ z Java Servlets – http://java.sun.com/products/servlet/ – Tutorial: http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html – http://www.coreservlets.com z XML – http://www.microsoft.com/XML

(29)

Web Design at Active

Web Design at Active

Potato

Potato

Ottawa based company is offering the following services:

z Hosted online forms

– Online forms for registration, ticketing and memberships – Administration views for real-time tracking of sales

– Administration views for directory and member management – Multi-layered admin views

z Online payments

– Credit card processing

– Payment from Bank account (eBill)

z Group email and SMS

– Bulk email and SMS distribution – List management

(30)

Delivery Process

(31)

Customer Logo & Branding Sponsors Pulldown Boxes Sample Form Information Block Payment Section Personal Details Section Communication Section Additional

(32)

Payments

Payments

z Multiple payment options supported

– Credit cards

– eBill – No Credit card required

z Credit Cards

– All major cards are supported (VISA, MasterCard, Amex) – Data is secured through SSL

– Credit card information is encrypted and is not seen by ActivePotato

z eBill Payment option

– Simple – just like paying any bill – Secure – Payment is at the bank

(33)

Credit card payments

Credit card payments

Buyers 1-Bu y Item 4-co nfirm atio n em ail 4- confirmation email 2- transaction details 3- Transaction results

2-transaction details 3-transaction details

Bank

(34)

Active

ActivePotato CorporationPotato Corporation

Thank You

Thank You

Contact Info:

Rohit Chugh, System Analyst [email protected]

References

Related documents

e) If authorization by network Enter reason for not obtaining pre-authorization number Open text hospital not obtained, give reason. f) Hospitalization due to injury Indicate

Section 24(2)(a) provides that this report shall be completed by the medical practitioner who treated the in- jured or deceased person for the bodily injuries sustained by him/her

information changes.. Tuition and Fee Master Payment Contract • Student Information Section • Additional Responsible Party Information Section • General Information Section

☐ I will decide later whether I will apply for the school transportation service ☐ I would like to register my child for the school transportation service. Please check the

assets and liabilities at fair value through profit or loss over the equity of strategic associates and subsidiaries and other agreements’;  Dividends from financial associates

In this book, Larry has applied what he initially learned from reading the book Rich Dad, Poor Dad by Robert Kiyosaki, and applied it effectively to a Philippine setting, using

Univariate and multivariate analyses were used to examine the relationship between the 6-minute walking distance (6MWD), the number of stands in the Sit-to-Stand Test (STST),

This involved preparing and issuing contracts of employment and dealing with all other legal issues related to employment; developing an employee handbook and related HR