Next >

SCA 1.0 Web 2.0 tutorial

Learning objectives

The application developed in this tutorial demonstrates developing SCA 1.0 applications with widget implementations, Atom bindings and HTTP bindings. Widget implementations are HTML files that utilize JavaScript and Dojo to connect to SCA resources. In this tutorial, the widget implementations use SCA references to connect with services on SCA components. The connections will be resolved over Atom and HTTP bindings. The Atom binding ensures that information is sent in the Atom news feed format. If you have a data collection that you want to present as a news feed, the Atom binding will save the work of needing to explicitly structure the information in the Atom format. The HTTP binding ensures information is sent according to the HTTP protocol and is useful for data that will be presented in a Web client such as a browser. SCA 1.0 applications are applications that conform to the SCA 1.0 (OSOA) specification.

The application in this tutorial uses three components in two composites. One composite contains a component called NewsComponent and provides two services: Collection and SearchService. The Collection service exposes a data set as an Atom feed. It can be searched by ID numbers and also managed with the methods provided by the Collection interface. The SearchService is accessible over the HTTP protocol and handles processing for keyword searches. A second composite is developed in an SCA enhanced Web project and contains two components: NewsComponentAtom and NewsComponentHttp. NewsComponentAtom accesses the Collection service over the Atom binding. Developing NewsComponentAtom shows how to work with a reference with an Atom binding and how to use that reference in a widget implementation. Developing NewsComponentHttp shows how to work with a reference with an HTTP binding and also how to use that reference in a widget implementation.

Restriction: This sample does not run on IBM® WebSphere® Application Server Developer Tools for Eclipse
To complete this tutorial, you will need approximately 60 minutes.
Next >

Feedback