December 9, 2004 EC511 Java Pet Store Demo Chandra Donipati

Preview:

DESCRIPTION

2 Application Architecture The Pet Store Demo Consists of the following sub applications:  Pet Store Website  Order Processing Center (OPC)  Administration Application  Supplier

Citation preview

December 9, 2004

EC511

Java Pet Store Demo

Chandra Donipati

2

Application Overview

Source: Designing Enterprise Applications with the J2EETM Platform

3

Application Architecture

The Pet Store Demo Consists of the following sub applications:

Pet Store Website

Order Processing Center (OPC)

Administration Application

Supplier

4

Pet Store Website

Source: Designing Enterprise Applications with the J2EETM Platform

5

Order Processing

Source: Sun Microsystems (http://java.sun.com/blueprints/webservices/using/webservbp8.html)

6

Order Processing – Workflow

Source: Designing Enterprise Applications with the J2EETM Platform

7

Order Processing – Messaging

Source: Sun Microsystems (http://java.sun.com/blueprints/webservices/using/webservbp8.html)

8

Java Message Service (JMS)

Messaging is a method of communication between software components or applications.

The JMS is a Java API that allows applications to create, send, receive, and read messages.

Enables ‘loosely coupled’, ‘Asynchronous’ and ‘Reliable’ communication

An integral part of J2EE Platform (1.3 onwards)

Supported by most of the Middleware vendors

9

JMS API Architecture

Source: The J2EETM 1.4 Tutorial

10

JMS Messaging

Source: The J2EETM 1.4 Tutorial

Point-to-Point

Publish/Subscribe

11

Order Processing - JMS

Source: Sun Microsystems (http://java.sun.com/blueprints/webservices/using/webservbp8.html)

12

Web Services

A software application, accessible on the Web through an URL

Accessed by clients using XML-based protocols, such as Simple Object Access Protocol (SOAP)

Clients access a Web service application through its interfaces and bindings, which are defined using XML artifacts, such as a Web Service Definition Language (WSDL) file

A Web service is a service-oriented architecture, which is simply a collection of services that communicate with each other (and with end-user clients) through well-defined and well-known interfaces.

13

Web Services

Source: W3C Working Group on Web Services Architecture

14

Web Services

Source: W3C Working Group on Web Services Architecture

15

Order Processing – Web Services

Source: Sun Microsystems (http://java.sun.com/blueprints/webservices/using/webservbp8.html)

Questions?

Thank You