(2-tier) (n-tier) (component) (business components)

34
웹 웹웹웹 웹웹

Upload: victoria-orr

Post on 26-Mar-2015

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: (2-Tier) (n-Tier) (Component) (Business Components)

웹 서비스 개요

Page 2: (2-Tier) (n-Tier) (Component) (Business Components)

중앙 집중 형 컴퓨팅

Page 3: (2-Tier) (n-Tier) (Component) (Business Components)

분산 컴퓨팅 (2-Tier)

Page 4: (2-Tier) (n-Tier) (Component) (Business Components)

분산 컴퓨팅 (n-Tier)

Page 5: (2-Tier) (n-Tier) (Component) (Business Components)

컴포넌트 (Component)

Page 6: (2-Tier) (n-Tier) (Component) (Business Components)

컴포넌트 (Component)

Page 7: (2-Tier) (n-Tier) (Component) (Business Components)

컴포넌트 (Component)

Page 8: (2-Tier) (n-Tier) (Component) (Business Components)

컴포넌트 (Component)

Page 9: (2-Tier) (n-Tier) (Component) (Business Components)

비즈니스 컴포넌트(Business Components)

Page 10: (2-Tier) (n-Tier) (Component) (Business Components)

Component based Architecture

J2EE Architecture

Page 11: (2-Tier) (n-Tier) (Component) (Business Components)

Distributed Components

Page 12: (2-Tier) (n-Tier) (Component) (Business Components)

Web Services

New services provided by various Web service combinations

Page 13: (2-Tier) (n-Tier) (Component) (Business Components)

ProtocolA protocol is like an alphabet or dictionary. It allows you to translate things.

A protocol is open if the "translator guide" is available to anyone. It means that you can easily build a software that talk and understand this protocol. A closed protocol is a protocol for which the "translator guide" is not available. It means that only the company who developed the protocol can use it and build software using it.

Page 14: (2-Tier) (n-Tier) (Component) (Business Components)

Web Service

Page 15: (2-Tier) (n-Tier) (Component) (Business Components)

UDDI (Universal Description, Discovery and Integration)

UDDI Structure

Page 16: (2-Tier) (n-Tier) (Component) (Business Components)

UDDI Messages

Flow of UDDI messages between Client and Registry

Page 17: (2-Tier) (n-Tier) (Component) (Business Components)

How UDDI Works

Page 18: (2-Tier) (n-Tier) (Component) (Business Components)

WSDL (Web Service Description Language)

Role of WSDL in Web service use

Page 19: (2-Tier) (n-Tier) (Component) (Business Components)

WSDL (Web Service Description Language)

Composition of a WSDL document, including Web service URL in implementation component

Page 20: (2-Tier) (n-Tier) (Component) (Business Components)

WSDL Document

Naming conventions are applied to the service interface itself

Data structures and data types are defined or referenced

Specific messaging requirements are established

The logic encapsulated by the service is divided up and made available through service operations

Page 21: (2-Tier) (n-Tier) (Component) (Business Components)

SOAP (Simple Object Access Protocol)

SOAP's features allow communication with Web services even if they are protected by firewalls

Page 22: (2-Tier) (n-Tier) (Component) (Business Components)

SOAP (Simple Object Access Protocol)

Page 23: (2-Tier) (n-Tier) (Component) (Business Components)

XML (eXtensible Markup Language)

Page 24: (2-Tier) (n-Tier) (Component) (Business Components)

웹 서비스 ?

웹 환경에서의 분산 컴포넌트 기반 컴퓨팅 아키텍처 !

Page 25: (2-Tier) (n-Tier) (Component) (Business Components)

Case Study

Traditional Application Design

This case study develops a web application that accepts place names, and returns a map showing a road route between the two places.

Page 26: (2-Tier) (n-Tier) (Component) (Business Components)

Case StudyThis case study develops a web application that accepts place names, and returns a map showing a road route between the two places.

Application Design using a Web Service Architecture

• The development of this application has resulted in the deployment of a number of reusable services that can initiate the development of other applications• The architecture is scalable: even if all services were initially deployed on a single computer, if the server is swamped by heavy use, services can easily be migrated to different computers• The most suitable participant can provide the back-end services (e.g. the Atlas of Canada can provide the server that provides the base map).

Page 27: (2-Tier) (n-Tier) (Component) (Business Components)

Appendix

Page 28: (2-Tier) (n-Tier) (Component) (Business Components)

Technologies• XML (eXtensible Markup Language)

– markup language that underlies most of the specifications used for Web services.  

• SOAP (Simple Object Access Protocol)– A network, transport, and programming language-neutral protocol

that allows a client to call a remote service. The message format is XML.

• WSDL (Web services description language)– 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. 

• UDDI (universal description, discovery, and integration) – 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.

Page 29: (2-Tier) (n-Tier) (Component) (Business Components)

How it works

• A Web Service is a URL-addressable software resource that performs functions (or a function).

• Web Services communicate using standard protocol known as SOAP (Simple Object Access Protocol).

• A Web Service is located by its listing in a Universal Discovery, Description and Integration (UDDI) directory.

Page 30: (2-Tier) (n-Tier) (Component) (Business Components)

Characteristics

• A Web Service is accessible over the Web.

• Web Services communicate using platform-independent and language-neutral Web protocols.

• A Web Service provides an interface that can be called from another program.

• A Web Service is registered and can be located through a Web Service Registry.

• Web Services support loosely coupled connections between systems.

Page 31: (2-Tier) (n-Tier) (Component) (Business Components)

Integration

• In a lot of organizations, the data and logic of one application are basically useless to other applications. When an application and its data are isolated from other applications, we often say that they are in “silos.”

• Web Services are better at sharing data and functions. The result is that the “silos” come down, and previously isolated systems can talk to each other.

What are Web Services good for?

Page 32: (2-Tier) (n-Tier) (Component) (Business Components)

Access

• Web Services are especially good at providing access through different interfaces.

• A Web Service can have a dedicated client application, but it can also be readily accessed through browsers, wireless devices, voice-activated interfaces, and so on.

• Adding new access methods is much simpler than with a traditional application.

What are they good for?

Page 33: (2-Tier) (n-Tier) (Component) (Business Components)

Flexibility

• One of the more important innovations in Web Services is “machine-to-machine communications.”

• This means that a Web Service can ask another Web Service to do something, and that Web Service can ask another Web Service to do something, and so on.

• In the future, many Web Services will really just be aggregations of other Web Services.

What are they good for?

Page 34: (2-Tier) (n-Tier) (Component) (Business Components)

Application Assembly

• Future applications will be assembled from a diverse group of web services, aggregating functionality.

• Reusability is extended to the execution level, versus reusability from just the design and construction level.

What are they good for?