Part A - The Approach
The last section provided an overview of NetBeans capabilities for creating business
processes and composite applications. In the coming sections, we'll use the above
example as a background to create more complex composite applications. We will
be building the sample application incrementally, so that we can thoroughly discuss
the tools used during each step. For the purpose of this sample, we need to build the
following components:
Chapter 10
[ 225 ]
1. Partner Services: Partner services are external web services that our business
process interacts with, to form an effective orchestration. From the point
of view of our business process, the airline company's web services are the
partner services. In our sample application, partner services are exposed
as web services through two stateless session beans. Each stateless session
bean representing a web service can get a passenger itinerary and process a
reservation. Each partner service works with its own DB.
2. BPEL Module: In order to create a business process document, we need
to create NetBeans' BPEL module. The BPEL module comprises of BPEL
(.bpel) file, WSDL document derived from the partner service's XML
schema, and the partner service's XML schema imported through ws-import
command.
Pages:
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200