Emerging technologies - AJAX, VXML SOA in the travel industry

possumneckvegetableSoftware and s/w Development

Jul 4, 2012 (5 years and 1 month ago)

260 views

Business Consulting Services
©
Copyright IBM Corporation 2006
Emerging technologies - AJAX, VXML
SOA in the travel industry
Siva
Kantamneni
Executive
Architect
IBM

s
SOA
Center
Of
Excellence
email:
kantamne@us.ibm.com
Tel:
813-356-4113
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
2
Contents

Emerging technologies AJAX, XML and SOA

IBM
’s offerings
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
3
What is AJAX?

Asynchronous JavaScript And XML, or its acronym, Ajax (Pronounced A-jacks), is a
Web development technique for creating interactive web applications. The intent is to
make web pages feel more responsive by exchanging small amounts of data with the
server behind the scenes, so that the entire Web page does not have to be reloaded
each time the user makes a change. This is meant to increase the Web page's
interactivity, speed, and usability.
-
Ajax
is
big
for
one
main
reason.
It
is
not
server
platform
dependent.
-
The
XMLHttprequest

object
is
more
reliable
AJAX represents

a big step toward the Holy Grail of having the kinds of speed
and responsiveness in Web-based programs that

s usually associated only
with desktop software.

- The Wall Street Journal
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
4
AJAX is asynchronous
– allows Rich Interactive Applications
(RIA)
Lifecycle
Of
A
Traditional
Web
Application
Lifecycle
Of
A
Web
Application
Using
AJAX:
New
Approach
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
5
Ajax Model: Partial UI Updates and Asynchronous
Communications
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
6
Benefits of AJAX

B
e
tt
e
r

P
er
fo
r
m
a
nc
e

an
d

E
f
f
ic
i
e
nc
y



t
h
e

k
e
y

a
d
va
n
t
ag
e

o
f

A
JA
X

ap
p
l
i
c
at
i
o
n
s
i
s

t
h
e

s
i
g
ni
f
i
c
a
n
tl
y
h
i
gh
e
r

pe
r
f
or
m
an
c
e
,
w
h
i
c
h

i
s

a
re
s
u
lt

o
f

t
h
e
sm
a
l
l

am
o
un
t

o
f

d
at
a

t
ra
n
s
f
er
r
ed

f
ro
m

t
h
e

s
e
rv
e
r
.

T
hi
s
m
a
k
es
the
AJAX

tech
nique

es
pecia
lly

b
enef
icial
f
or
da
ta-in
tens
ive
ap
plicat
ions
(e
.g.
d
isplay
ing
rich
re
port
s, br
ow
sin
g thr
oug
h lar
ge d
ata s
truc
ture
s) as
w
ell a
s for
low
-
band
w
idth
net
w
orks.

M
o
re
Re
spo
ns
iv
e
I
nte
rface
s

the
im
pr
oved

p
erfo
rm
a
nce
lea
ds
to
m
u
ch
m
o
re
res
pons
ive
inte
rface
s,
w
hi
ch
cr
eate

th
e
illusio
n
that
up
date
s
are

h
appe
ning

in
stant
ly
.
As
a
resu
lt
the
AJAX

w
eb

a
pplic
ation
s
ap
pear
to b
eha
ve much
lik
e th
eir d
esk
to
p co
unte
rpa
rts.

R
e
d
u
c
e
d

o
r

E
l
i
m
i
n
a
t
e
d

"
W
a
i
t
i
n
g
"

T
i
m
e



i
n

A
J
A
X-
b
a
s
e
d

a
p
p
l
i
c
a
t
i
o
n
s

o
n
l
y
t
h
e

r
e
l
e
v
a
n
t

p
a
g
e
ele
m
en
ts
a
re
u
pda
tes,
w
ith
t
he
r
est
of
th
e
p
age
remainin
g
u
ncha
nged
.
This
a
ppro
ach
e
lim
ina
tes
the
w
hi
te scr
een
(or
pag
e flicker o
n fas
ter c
onne
ction
s) a
nd sig
nifica
ntly
d
ecre
ase
s the
idle w
aiting

tim
e
.

I
nc
r
e
a
se
d

U
s
ab
i
l
i
ty



a
s

t
he

we
b
a
p
pl
i
c
a
t
i
on

i
s

m
o
r
e

ef
f
i
c
i
e
nt

t
h
ro
u
g
h
t
h
e

us
e

of

A
J
A
X
,

a
nd

t
h
e
c
l
i
e
n
t

c
a
n

c
o
m
m
u
n
i
c
a
t
e

w
i
t
h

t
h
e

s
e
r
v
e
r

w
i
t
h
o
u
t

p
a
g
e
-
l
o
a
d
s
,

i
t

b
e
c
o
m
e
s

p
o
s
s
i
b
l
e

t
o

b
u
i
l
d

s
o
m
e
w
on
der
ful u
ser in
terf
aces
that
fit much b
ette
r w
ith
use
rs’ ne
eds
and
ex
pe
ctatio
ns.

Use
rs
Ca
n
Wo
rk
w
ith
the

Res
t
of

th
e
Pag
e


many

AJAX
-bas
ed
app
licatio
ns
allow

y
ou
to
con
tinue
w
or
k
ing
w
it
h
the
res
t o
f
th
e
pa
ge,
w
hile
d
ata

is
be
ing
t
rans
ferr
ed
in

the

bac
k
gro
und.

T
his

fur
ther

add
s
to
the u
nint
erru
pted

m
a
nner
of t
he e
nd-u
ser
ex
pe
rien
ce.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
7
When to use AJAX?

Hig
hly

i
nte
r
a
ctiv
e
ap
plic
atio
ns

w
h
ere

a
n
app
licatio
n
is
high
ly

inter
active
,
it
m
ay

pr
ovid
e
be
nefit
s
t
o

u
s
e
A
J
A
X

to

a
l
l
o
w

t
h
e

i
nt
e
r
ac
t
i
v
i
t
y

w
i
t
h
o
ut

t
h
e

ti
m
e

c
os
t

o
f

pa
g
e
re
l
o
ad
s
.

A

go
o
d

exa
m
p
l
e

o
f
a
hig
hly
in
tera
ctive w
eb s
ite is
Goog
le M
aps.

P
a
r
ts

o
f

pa
g
es



A
J
A
X

i
s

be
s
t

u
se
d

i
n

k
ey

p
l
a
c
es

t
hr
o
ug
h
o
ut

a
we
b
s
i
te

whe
r
e
i
t

ad
d
s
s
i
g
ni
f
i
c
a
nt
valu
e. Ther
e is lit
tle or
no
value
in u
sing
AJAX
to
prov
ide
the
major
ity

of
y
our
p
age
co
nten
t
– y
ou
m
a
y
l
o
s
e
b
r
ows
e
r
c
o
m
p
a
ti
b
i
l
i
t
y
,

m
ak
e

t
h
e

a
p
pl
i
c
a
t
i
on

ov
e
r
l
y

c
om
p
l
ex
an
d

c
a
u
se

pr
o
b
l
em
s

wi
t
h

t
h
e
s
i
t
e
be
ing in
dex
e
d in
sear
ch e
ngine
s.

I
nt
r
a
n
et
s


o
n

a
n

i
n
t
e
r
n
a
l

w
e
b

s
i
t
e

t
h
e

b
a
n
d
wi
d
t
h

i
s

m
u
c
h

h
i
g
h
e
r

s
o

m
o
r
e

A
J
A
X
u
s
a
g
e

c
a
n

b
e
s
u
cc
e
s
s
fu
l
.

It

s

o
f
t
e
n

t
h
e

c
a
s
e

t
h
a
t

i
n
t
r
a
n
e
t
s

i
n
v
o
l
v
e

w
o
r
k
i
n
g

w
i
t
h

d
a
t
a
,

a
n
d

t
h
i
s

i
s

o
f
t
e
n

a

g
o
o
d
ap
plicat
ion fo
r AJAX
.

On
line

wiz
ards

line
ar
user

inter
face
s
tha
t
co
llect
a
larg
e
serie
s
of
dat
a
are
a
w
e
ll-k
no
w
n
cha
llenge
i
n

we
b
a
pp
l
i
c
a
ti
o
n
s
,

an
d

ca
n

b
e
i
m
p
l
em
e
nt
e
d
u
s
i
n
g
A
J
A
X

i
n

a
wa
y

whe
r
e
t
h
e

us
e
r

f
ee
l
s

m
o
r
e

i
n
con
trol
and
the
applic
ation
is more
resp
onsiv
e.

Dat
a in
pu
t & v
alid
atio
n

befo
re A
JAX

it w
as
har
d t
o
build
an
y
thin
g
rese
m
blin
g
rich
da
ta
inpu
t f
orms
tha
t
giv
e
cle
ar
and
accu
rate

fee
dbac
k

to
use
rs.
W
ith
AJ
AX

it’s
possib
le
t
o
valida
te
the

d
ata
th
e
use
r
e
nt
e
r
s
,
whi
l
e

t
h
ey

a
r
e
en
t
er
i
n
g

i
t.

T
h
ey

c
a
n

th
e
n

re
c
e
i
ve

f
e
ed
b
a
ck

(
u
si
n
g

t
he

s
e
r
ve
r

s
in
tellige
nce
)
wi
t
ho
u
t

t
h
e
p
ag
e

b
e
i
ng

p
o
s
t
ed

b
a
c
k
.
Fo
r

e
xa
m
p
l
e

a
n
e
m
a
i
l

v
a
l
i
d
at
i
o
n

f
i
e
l
d
c
ou
l
d

c
h
ec
k

th
e

e
m
ai
l
ad
dres
s is va
lid us
ing t
he DN
S, w
ith
out
the u
ser
k
now
ing.

Dat
a
v
is
uali
zatio
n

vis
ualiz
in
g
larg
e
da
tase
ts
o
n
th
e
w
e
b
ca
n
b
e
d
ifficult

bec
ause

the
re’s

b
e
en

n
o
e
as
y

wa
y

t
o
p
u
l
l

i
n

m
o
r
e
da
t
a
as

t
h
e

us
e
r

ne
e
d
s
i
t
.

W
i
t
h

A
J
A
X

i
t’
s

po
s
s
i
b
l
e
t
o
s
h
ow
a
v
i
e
w

o
n
t
h
e
da
ta, a
nd s
im
ply

load
m
or
e in
as ne
ede
d. Ag
ain, G
oog
le M
aps is
a gr
eat
ex
ample.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
8
IBM Leads Open AJAX Initiative

IBM and a group of industry leaders on Feb 1, 2006 announced an open-
source initiative to promote the adoption of AJAX technology. The new
initiative, known as
Open AJAX
, includes such prominent supporters as BEA
Systems, Borland, the Dojo Foundation, the Eclipse Foundation, Google, IBM,
Laszlo Systems,
Mozilla, Novell,
Openwave Systems, Oracle, Red Hat, Yahoo,
Zend
and
Zimbra
. To promote the adoption of AJAX, IBM recently proposed
the
Eclipse AJAX Toolkit Framework (ATF)
.

ATF will provide extensible frameworks and exemplary tools for building
IDEs
(integrated development environments) for the many different AJAX runtime
offerings, such as Dojo,
Zimbra
, etc. in the market, according to the project
proposal.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
9
What is VXML?

Voice
eXtensible
Markup Language (VoiceXML) is an XML-based markup language for
creating distributed voice applications, much as HTML is a markup language for creating
distributed visual applications.
VoiceXML is based on earlier technologies from Motorola
and IBM, and provides a standard interface between voice and the Internet.
VoiceXML
is designed for creating audio dialogs that feature synthesized speech, digitized audio,
recognition of spoken and DTMF key input, recording of spoken input, telephony, and
mixed-initiative conversations. The goal is to provide voice access and interactive voice
response (for example, by telephone, PDA, or desktop) to Web-based content and
applications. The
VoiceXML Forum (
http://www.voicexml.org
) was founded to promote
VoiceXML as a standard.

Two closely related W3C standards used with
VoiceXML are the Speech Synthesis
Markup Language (SSML) and the Speech Recognition Grammar Specification (SRGS).
SSML is used to decorate textual prompts with information on how best to render them
in synthetic speech, for example which speech synthesizer voice to use, and when to
speak louder. SRGS is used to tell the speech recognizer what sentence patterns it
should expect to hear.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
10
AJAX and VXML
– working together

AJAX allows us to build seamless user interfaces that dynamically pull in XML
data. This development paradigm is great for
VoiceXML
because it will make
VoiceXML
and
Javascript
super-fast to load and only fetch that dynamic data
when the application needs it.
-
e.g Instead of
XMLHttpRequest
,
VoiceXML
(2.x)
makes this functionality a first-class
citizen through the
<data/>
element. Now, this approach isn't really asynchronous,
but that doesn't really restrict application from using it to dynamically pull in that XML
data.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
11
IBM

s offerings in the VXML area

Just as the Internet grew tremendously in the 1990s, the wireless industry is
undergoing explosive growth in this decade, with over 50 million people now
using wireless devices. What would it take to merge these two fast growing
areas together? IBM

s
WebSphere
Transcoding
Publisher
, can help in this
task. It contains an HTML-to-
VoiceXML Transcoder
that can convert your
HTML Web pages to
VoiceXML for audio output to a cellular phone.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
12
What is SOA?
A service-oriented architecture (SOA) is an architectural framework and
approach that takes everyday business applications and breaks them
down into
individual business functions called services
. An SOA lets
you build, deploy and integrate these services
independent of
applications
and the computing platforms on which they run.
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
13
SOA+
Process,
Workflow,
Services,

Components
Relationships
Process
Models &
Modules
Services
Workflows
Distributed
Components
Business Rules
Data Models
Policies
Roles
Physical
Infrastructure
and
Operations
Management
Monitoring
and
Business
Metrics
transform
use
expose
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
14
SOA and User Interface Support
Package 2
package modules
Package 1
package modules
E
C
Applications
Single
Point
of
Entry
A
Workflow
Engine
B
Application
Requester 1
Application
Requester 2
3
rd

Party
Packaged
Applications
D
Package 3
package modules
unique adapter
services interfaces
ESB
services
interfaces
User
Interface
Applications
unique adapter
services
interfaces
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
15
Enterprise
Service
Bus
Reference
Architecture
Data Models
ACORD
EDIFACT
RosettaNet
HL7
Cobol Copybook

Message Flows (interaction patterns)
Mediation Primitives
XSLT
Logging
Endpoint Lookup
DB Lookup
Split/Merge

Routing
Communication Protocols
SOAP/HTTP
SOAP/JMS
XML/HTTP
XML/JMS
String/MQ
FTP
Enterprise Service Bus
Custom
Mediation
Primitives
QoS
Agents,Infrastructure
(security, monitoring)
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
16
WebSphere ESB
C++
Client
.Net
Client
WebSphere ESB
WebSphere
Application
Server
Tivoli Access Manager
DB2 Universal Database
Edge Components
Java and C/C++
Web Services
Client
Clients:
Messaging:
JMS 1.1
MQ
interoperability
Mediation
Function
Web
Services:
WebSphere
Adapter
Support
XSLT
Message
Router
Message
Logger
DB
Lookup
WS-*
SOAP/
HTTP
UDDI
Registry 3.0
SOAP/
JMS
Lightweight
Java Client
coming
WebSphere
Integration
Developer
SCA
Programming
Model:
SDO
SCA
UDDI
Web Services Gateway
SMO
AJAX , VXL and SOA
Business Consulting Services
© Copyright IBM Corporation 2006
Page
17
DataPower

– WebSphere Addressing SOA Deployment Needs
DataPower is an SOA appliance
that uniquely manages XML
increased traffic while addressing
increased security requirements
Why an SOA Appliance?
A
software capability

Embedded in a
specialized hardware
With
ingenious packaging
Enhancing SOA deployment
run-time

XI50 Integration Appliance
-
Expands support to non-XML solutions
-
Advanced architecture
-
Integrated message-level security
XS40
XML
Security
Gateway
-
Security, agility and performance
-
Device can off-load application security software
-
Performs XML Web services security functions (parse,
filter, validate schema, encrypt/decrypt, signatures,
access control, and more)
XA35
XML
Accelerator
-
Offloads overtaxed servers by processing XML,
XSD, XPath and XSLT at wire speed
-
SW provides significant performance improvements
over WebSphere solutions
-
HW + SW provides enterprise-class performance