An External Data Source (EDS) is a connection to an external database. An EDS usually contains data that does not change very much or data that is too large to bring into the Oracle BAM Active Data Cache (ADC).
The EDS definition in Oracle BAM acts as a pointer to the external data. For example, looking up the customer name based on a customer code in a customer management system. The customer name-code mapping is fairly static so that bringing that external data into Oracle BAM is not required.
EDS definitions can be exported and imported using ICommand, but you cannot import or edit the contents using ICommand or Oracle BAM Architect.
Passwords are entered in clear text. You cannot use DSNs (data source names).
To view the existing EDS:
In this I have used some example table from my local database.You can any sample table from you are database.
- Select External Data Sources from the Oracle BAM Architect function list.
Creating External Data Sources
Oracle BAM external data sources are created, edited, and deleted using Oracle BAM Architect.
- Open OracleBAM console using IE(Internet explorer) ,example http://localhost:9001/oracleBAM
- Enter Credentials of Oracle BAM Server
User name as webloigc (or match with your server configuration)
Password as welcome1 (or match with your server configuration)
- After successfully logged in below BAM server start page.
- Click on Architect button from OracleBAM server Start page, it navigates to Architect home page.
- Select External Data Sources from the Oracle BAM Architect function list.
- Click Create for creating External Data Source.
- It will show the Creating new External Data Source of type JDBC, Enter a name and a description for the EDS.
Note: Here creating EDS from use case of PO processing application, so take CreditCardInfo database table from soademo schema.
- EDS Name as: BAM_PO_CCINFO_EDS
- Write some description (optional)
- Driver: leave as default. (Oracle.jdbc.driver.OracleDriver for Oracle)
- Enter database user credentials in the Login and Password fields, here soademo/soademo for CreditCardInfo table.
- Enter Connection string/URL, (jdbc:oracle:thin:@localhost:1521:XE)
- Once you fill all the details of EDS click on test for EDS. If it successful you will get below popup.
- Click ok to confirm, then click Create button to create EDS and Click Continue to confirm.
- Once creating of EDS is completed the page should like been displayed.
- You can edit, delete or test EDS using Edit, Delete link.
Create a Data Object using the EDS
Creating a Data Object using out of EDS (which you created previously BAM_PO_CCINFO_EDS)
- Select Data Objects from the Oracle BAM Architect function list.
- Click Create Data Object.
- Once click on create Data Object you will be able to see fallowing page to creating Data object.
- Enter CreditCardInfo in the Name for new Data Object field.
- Leave the slash (/) in the Location for new Data Object field.
The data object appears in the top level Data Objects folder.
- Leave the Tip text field blank.
- Enter “Oracle Database Sample CreditCardInfo Table” in the Description field.
- Select the External Data Source checkbox.
- Select BAM_PO_CCINFO_EDS from the External Data Source list.
- Select CREDITCARDINFO in the External Table Name field.
- Fields in Data Objects: click on Add all fields link to add all fields from the table
You can add or remove Fields using Add a field and remove links.
- One you added all the fields the Data Object will looking like as below.
Keep default settings for field attributes.
- Click Create Data Object.
- Click Continue.
- Click Contents to view the contents of the data object.
- Once you click on Contents it will show data from EDS.
No comments:
Post a Comment