Oracle Application Software 10.1.3.4 User Manual

Page of 170
Create the findDoctor and findPatient Interactions
6-4
Oracle Application Server Adapters for IMS/DB User's Guide
Create the findDoctor and findPatient Interactions
You use a database adapter to create the interactions used to get the data that you 
need. The interactions are used as services when you set up the endpoint in 
JDeveloper. For more information on using JDeveloper to create an endpoint, see 
.
Do the following to create the interactions.
Add a Database Adapter
You now create a database adapter, which lets you create interactions to get the 
information you are seeking. To create a database adapter, do the following
1.
Expand the computer you just added and then expand the NAV binding.
2.
Right-click the Adapters folder and then select New adapter.
3.
Enter the following information for your adapter, then click Finish.
Name
: findDoctor
Type
: Database
Select Create event queue for the adapter.
For a detailed explanation on how to set up a database adapter, see 
The following figure shows the Add adapter dialog box with the correct information:
Figure 6–3
Add Adapter Dialog Box
Create Interactions
You create interactions to work with the data under the Oracle Application Server. You 
use the interactions that you create when you create your endpoint using JDeveloper. 
In this example, you should create an interaction called findDoctor. To create an 
intearction, do the following: