A High-Level Introduction to OGSI

     

This high-level introduction will set the stage for the detailed technical discussion on OGSI. The OGSI specification defines a component model using a Web service as its core base technology, with WSDL as the service description mechanism and XML as the message format. As we know, Web services in general are dealing with stateless services, and their client interaction is mostly stateless. On the other hand, grid services are a long-running process, maintaining the state of the resource being shared, and the clients are involved in a stateful interaction with the services. There are two dimensions to the stateful nature of a Web service:

  1. A service is maintaining its state information. These are normally classified as application state and in the case of grid service it directly maps to the state of the resource.

  2. The interaction pattern between the client and service can be stateful. There are numerous architecture styles and programming models for defining these stateful interactions including BPEL4WS [3] and REST (Fielding).

As of now, the OGSI is attempting to answer the first dimension of the state problem by creating a programming model for how and where an application/service resource state can be logically maintained , and how these states are exposed to the client. This does not mean, however, that the service contains all its physical state. The physical state may be held in the real resource being modeled as the grid service. This publicly known state can be a subset of the overall application state. We believe that the OGSI should address the stateful message exchange pattern in coordination with the stateful interaction specifications.

Figure 9.2 introduces a number of concepts surrounding OGSI, and its relation to Web services. The following list describes points of interest related to this model.

  • Grid services are layered on top of Web services.

  • Grid services contain application state factors, and provide concepts for exposing the state, which is referred to as the service data element.

  • Both grid services and Web services communicate with its client by exchanging XML messages.

  • Grid services are described using GWSDL, which is an extension of WSDL. GWSDL provides interface inheritance and open port type for exposing the service state information ”referred to as service data. This is similar to interface properties or attributes commonly found in other distributed description languages.

  • The client programming model is the same for both grid service and Web service. But grid services provide additional message exchange patterns such as the handle resolution through OGSI port types.

  • The transport bindings are selected by the runtime. Message encoding and decoding is done for the specific binding and high-level transport protocol (SOAP/HTTP).

Figure 9.2. Typical Web service and grid service layers .

graphics/09fig02.gif

Some of the Terminologies We Must Be Familiar with for These Discussions Are:

Web service : A software component identified using a URI, whose public interfaces and binding are described using XML. These services interact with its clients using XML message exchanges.

Stateful Web service : A Web service that maintains some state information between clients' interactions.

Grid service : This is a stateful Web service with a common set of public operations and state behaviors exposed by the service. These services are created using the OGSI-defined specification.

Grid service description : A mechanism to describe the public operations and behaviors of a grid service. This is expressed using a combination of WSDL and GWSDL language specifications. The WSDL is a language specified by W3C, whereas GWSDL is an extension mechanism for WSDL and is specified by OGSI specification.

Grid service instance : An instance of a grid service created by the hosting container and identified by a unique URI called grid service handle (GSH).

Grid service reference : A temporal binding description of a grid service endpoint. This binding lists the interfaces, endpoint address, protocol for communication, and message encoding rules. In addition, it may contain service policies and other meta-data information. Some examples of GSR are WSDL, IOR, and so forth.

Service data element : These are publicly accessible state information of a service included with the WSDL portType. These can be treated as interface attributes.


With this high-level information on OGSI and the grid service, let us move on to the technical details of the specification. We will try to explain the core concepts through some simple code snippets. Later in subsequent sections of the book, we will be discussing some of the framework implementation of OGSI standards, and then we will discuss how we can implement real samples based on the OGSI specification.



Grid Computing (IBM Press On Demand Series)
Windows Vista(TM) Plain & Simple (Bpg-Plain & Simple)
ISBN: 131456601
EAN: 2147483647
Year: 2002
Pages: 118

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net