Building a service-oriented applicationAdded by IBM on June 28, 2011 | Version 1 (Original)
|Building a service-oriented application involves creating a service provider model and a service consumer model.
Building a service-oriented application involves creating a service provider model and a service consumer model.
- Create a service provider model that includes the following builders.
Test the service operation.
- An integration builder (for example, SAP Function Call or SQL Call) or method that provides data access.
- A Service Definition builder that creates underlying support for the service and names the service.
- A single Service Operation builder or multiple Service Operation builders that invoke the data access support available in the model.
Create a service consumer model that includes the following builders.
- Add a Service Test builder to the Service Provider model
- Enable the Add Testing Support input in the Service Definition builder.
Optional: Generate a stub service model in the Service Provider model by adding a Service Stub builder.
Optional: Generate service documentation in either or both models by adding Service Documentation builders to the models.
Optional: Use the Service Mapping Registry to use the stub service model or to switch between service implementations.
- Service Consumer builder that invokes service operations made available by a Service Provider model.
- Various Page builders (for example, View & Form) to format and display data.
To do so, set service mappings in XML files located in WEB-INF/config/service_mappings
Building a presentation layer
There is one core builder for the presentation layer:
Creating a service provider model
You can use the Service Definition and Service Operation builders to create a service provider model.
Example – building an SOA application
This example uses a pair of simple service provider and service consumer (presentation) models.
Additional SOA features available
To further enhance the development of SOA (service-oriented architecture) applications, IBM® WebSphere® Portlet Factory provides additional features that simplify and speed development.
Parent topic: Developing Web applications with IBM WebSphere Portlet Factory
Service Definition builder
Service Operation builder
Service Consumer builder
Service Stub builder
Service Test builder
Service Documentation builder