After starting the server right-click on it and
select View Admin Console. Login with your Username and Password (admin/
adminadmin by default) then from the left side navigation tree select Resources|
JDBC| Connection Pools. When the connection pooling page is opened, click on the
New button and fill in information as shown in the screenshot:
You need to add Additional Properties to the Connection Pool. Click on the
Additional Properties tab and update the properties as shown in the screenshot. You
can remove all the other properties from the table.
Chapter 10
[ 237 ]
Now, we have a Connection Pool ready to be used. Before we can use the pool,
we need to define a JNDI entry for it. We know JNDI entry for connection pooling
as data source. To define a data source for SouthAir, from the left tree navigate to
Resources | JDBC | JDBC Resources. Click on the New button and enter JNDI
Name as jdbc/southair and select the Pool Name.
Building a Sample Application
[ 238 ]
Restart the application server. Now, drag-and-drop Itinerary_SA.wsdl on top of
the BPEL diagram. In the Partner Link property dialog box, enter UpdateSA_DB as
the partner link name. Now, look at the following business process:
After invoking NorthAir Web Service, the itinerary information is updated in
SouthAir DB through the wrapper partner service that we have created.
Pages:
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210