SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 200 | Next

Frank Jennings, David Salter

"Building SOA-Based Composite Applications Using NetBeans IDE 6"


Testing Part B Source
Deploy the project AirAlliance_CA. In the AirAlliance_CA project, under
Test | TestReservation, edit input.xml with some values. In the AirAlliance_CA
project, execute the TestReservation test case under Test folder
Now, check the Itinerary table of the SouthAirDB. Look how the DB is updated.
Also check the output.xml file for the confirmation message from the NorthAir
web service.
This part introduced you to JDBC BC and showed how a BPEL process can invoke
multiple web services as part of a single scope.
Building a Sample Application
[ 240 ]
Part C ??“ Writing to File
This part shows how you can use the File BC to store itinerary data in the file system.
Whenever a request for reservation is made, the NorthAir web service is invoked
and the itinerary data is updated in the SouthAir database. Also the itinerary
information is updated in the file system using JBI file binding component. This file
can be constantly monitored by an external process or an intelligent event processor
shown in the later example.
File BC is a JBI BC that provides message processing capabilities over the Network
File System (NFS). This component is designed to send and receive XML or text
messages to or from the locally available file system. These functionalities also map
to the roles file binding components play in a JBI environment??”service provider and
consumer, respectively.


Pages:
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212