Component Component Component Component Business Components Component based
컴포넌트(Component)
컴포넌트(Component)
컴포넌트(Component)
컴포넌트(Component)
비즈니스 컴포넌트 (Business Components)
Component based Architecture J 2 EE Architecture
Distributed Components
Web Services New services provided by various Web service combinations
Protocol A 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.
Web Service
UDDI (Universal Description, Discovery and Integration) UDDI Structure
UDDI Messages Flow of UDDI messages between Client and Registry
How UDDI Works
WSDL (Web Service Description Language) Role of WSDL in Web service use
WSDL (Web Service Description Language) Composition of a WSDL document, including Web service URL in implementation component
WSDL Document Data structures and data types are defined or referenced The logic encapsulated by the service is divided up and made available through service operations Specific messaging requirements are established Naming conventions are applied to the service interface itself
SOAP (Simple Object Access Protocol) SOAP's features allow communication with Web services even if they are protected by firewalls
SOAP (Simple Object Access Protocol)
XML (e. Xtensible Markup Language)
Case Study This case study develops a web application that accepts place names, and returns a map showing a road route between the two places. Traditional Application Design
Case Study This case study develops a web application that accepts place names, and returns a map showing a road route between the two places. • 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). Application Design using a Web Service Architecture
Appendix
Technologies • XML (e. Xtensible Markup Language) – markup language that underlies most of the specifications used for Web services. • SOAP (Simple Object Access Protocol) – A network, transport, and programming languageneutral 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.
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.
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.
What are Web Services good for? 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 they good for? 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? 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? 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.
- Slides: 34