WAS.ppt

donkeycheerfulInternet and Web Development

Aug 7, 2012 (5 years and 3 months ago)

1,026 views

WebSphere Application
Server & Web Service

IBM Software



Information Management
信息管理软件

,
包括
DB2 Database
Enterprise, DB2 Content Manager

.



Lotus
业务协作平台和集成工具
. Domino, Notes, Sametime.



Rational
企业软件开发平台
. Rational Software Architect (Built
on Eclipse)


Rational ClearQuest

.



Tivoli
软件提供机
IT
基础架构案例解决方案
.
产品包括:
Tivoli
Storage Manager, IBM Tivoli Monitoring, Tivoli Access Manager

.



WebSphere
整合和应用程序基础设施软件
,
产品包括

Websphere Application Server, Websphere MQ.


WebSppere
产品家族

WAS overview


WAS


WebSphere Application Server
-

Express


WebSphere Application Server (Base)


WebSphere Application Server Network
Deployment (ND)


WebSphere Extended Development (XD)


WebSphere Application Server
-

Express


The Express package is geared to those who need to get started
quickly with e
-
business. It is specifically targeted at medium
-
sized
businesses or departments of a large corporation, and is focused on
providing ease of use and ease of application development. It
contains full J2EE 1.4 support but is limited to a single
-
server
environment.


WebSphere Application Server
-

Express is unique from the other
packages in that it is bundled with an application development tool.
Although there are WebSphere Studio and Rational® Developer
products designed to support each WebSphere Application Server
package, normally they are ordered independent of the server.
WebSphere Application Server
-

Express includes the Rational Web
Developer application development tool.


WebSphere Application Server (Base)


The WebSphere Application Server package is the
next level of server infrastructure in the WebSphere
Application Server family. Though the WebSphere
Application Server is functionally equivalent to that
shipped with Express, this package differs slightly in
packaging and licensing. The development tool
included is a trial version of Rational Application
Developer, full J2EE 1.4 compliant development tool.

Stand
-
alone server


WebSphere Application Server Network
Deployment


WebSphere Application Server Network Deployment is an even
higher level of server infrastructure in the WebSphere Application
Server family. It extends the WebSphere Application Server base
package to include clustering capabilities, Edge components,
and high availability for distributed configurations. These features
become more important at larger enterprises, where applications
tend to service a larger customer base, and more elaborate
performance and availability requirements are in place.


Application servers in a cluster can reside on the same or
multiple machines. A Web server plug
-
in installed in the Web
server can distribute work among clustered application servers.
In turn, Web containers running servlets and Java ServerPages
(JSPs) can distribute requests for EJBs among EJB containers in
a cluster.


Edge components for WAS ND


Caching Proxy


intercepts data requests from a client, retrieves the
requested information from the application servers, and
delivers that contentback to the client. It stores cachable
content in a local cache before delivering it to the client.
Subsequent requests for the same content are served from
the local cache, which is much faster and reduces the
network and application server load.


Load Balancer


provides horizontal scalability by dispatching HTTP
requests among several, identically configured Web server
or application server nodes.

Distributed server


WebSphere Extended Development (XD)


WebSphere Extended Deployment is built on a
virtualized infrastructure that extends the traditional
concepts of Java 2 Platform, Enterprise Edition
(J2EE™) resources and applications, as well as
their relationships with one another. This new
infrastructure facilitates the ability of WebSphere
Extended Deployment to automate operations in an
optimal and repeatable fashion.


With its automation capabilities, WebSphere
Extended Deployment can help you reduce your
total cost of ownership (TCO) and provide a more
stable, predictable and reliable operating
environment.

WAS XD


Dynamic operations


Allow your application environment to scale as needed with the
virtualization of WebSphere resources and the use of a goals
-
directed infrastructure, helping you increase the speed at which
your company can adapt to business demands.


Extended manageability


Offers simpler and improved management of complex system
operations with advanced, meaningful real
-
time visualization
tools and gradual, controlled implementation of autonomic
computing capabilities, helping you reduce the cost of managing
IT resources.


High performance computing


Enhances the quality of service of business
-
critical applications to
support near linear scalability for high end transaction processing,
helping you improve customer service levels.

XD
simple topology


ODR (on demand router)



Request classification and prioritization



Request queuing



Request routing



Dynamic load balancing



HTTP session affinity



SSL ID affinity



WebSphere Partitioning Facility partition
affinity

ODR


Classic topology


Reformed topology


Multi
-
cell topology

Scale
-
out non
-
WebSphere Application Server
ODR topology



ObjectGrid for XD


ObjectGrid is an extensible transactional object
caching framework for Java 2 Platform, Standard
Edition (J2SE) and Java 2 Platform, Enterprise
Edition (J2EE) applications.


You can use the ObjectGrid API when developing
your applications to retrieve, store, delete, and
update objects in the ObjectGrid framework.


You can also implement customized plug
-
ins that
monitor updates to the cache, retrieve and store
data with external data sources, manage eviction of
entries from the cache, and handle background
cache functionality for your own ObjectGrid
application environment.

ObjectGrid in XD


Distributed ObjectGrid single server
topology (with two MapSets)



Initial server bootstrap though XML file
configuration or from an existing server



Distributed ObjectGrid single server
topology with two MapSets



ObjectGrid failover



Distributed ObjectGrid topology: single
server with partitioning



Distributed ObjectGrid topology: multi
-
server with partitioning



Distributed ObjectGrid topology: multi
-
server with partitioning (2)


ObjectGrid clients interacting with
multiple ObjectGrid clusters



Web Service components and operations


SOA based on Web Services


XML


(Extensible Markup Language) is the markup
language that underlies most of the
specifications used for Web services.


XML is a generic language that can be used
to describe any kind of content in a structured
way, separated from its presentation to a
specific device.


SOAP


(Simple Object Access Protocol) is a network,
transport, and programming language and
platform
-
neutral protocol that allows a client
to call a remote service.


The message format is XML.


WSDL


(Web Services Description Language) is an
XML
-
based interface and implementation
description language.


The service provider uses a WSDL document
in order to specify the operations a Web
service provides and the parameters and
data types of these operations.


A WSDL document also contains the service
access information.

WSIL


(Web Services Inspection Language, also WS
-
Inspection) is an
XML
-
based specification about how to locate Web services without
the necessity of using UDDI.


However, WSIL can be also used together with UDDI, that is, it is
orthogonal to UDDI and does not replace it.


Most business partners today do not find one another from UDDI
registries; rather they are based on existing relationships. That is
where the Web Services Inspection Language fits in.


WSIL decentralizes the centralized model of service publication
within a UDDI registry and distributes the pieces such that each
service provider itself can advertise its Web Services offerings.


WSIL thus facilitates the behavior that most businesses desiring to
use Web Services (today) are most comfortable with (today). Yet,
WSIL is less widely used today as Web Service Registries take their
place.

UDDI


(Universal Description, Discovery, and
Integration) is both a client
-
side API and a
SOAP
-
based server implementation that can
be used to store and retrieve information on
service providers and Web services.


Web service
标准


Web service protocol stack


Web service
消息模式



One
-
way



Asynchronous two
-
way



Request
-
response



Workflow
-
oriented



Publish
-
subscribe



Composite

One
-
way


asynchronous two
-
way


Request
-
response


Workflow oriented


Publish
-
subscribe


composite


SOAP processing model


SOA


service
-
oriented architecture:


A service
-
oriented architecture consists of a set of
business
-
aligned services that collectively fulfill an
organization’s business process goals and
objectives. These services can be choreographed
into composite applications and can be invoked
through Internet
-
based open standards and
protocols.


Components of SOA


Exposing Web services through a gateway


Enterprise service bus


Although the concept of a service
-
oriented architecture does not
necessarily map directly to a software product, the concept of an
enterprise service bus certainly does. Vendors have released a
number of enterprise service bus products based on existing
enterprise application integration (EAI) products.


The functions of an enterprise service bus are:


Communication middleware supporting a variety of
communication paradigms, qualities of service (such as security,
guaranteed delivery, performance, transactional), platforms, and
protocols


The ability to transform message formats between consumer and
provider


The ability to convert the transport protocol between consumer
and provider


Enterprise service bus


IBM productions for Web Service


Example: weather forecast application


Information flow