Part 1 – Oracle BPM 12c Process Invoke Database by Dan Atwood
March 7, 2018 Leave a comment
Part 1 – Create a WebLogic JNDI Database Connection
This explains how the WebLogic JNDI connection to a database schema is created. In the next two posts, you will see how the Database Adapter can use this connection once it has been created. This simply describes the steps that are necessary to configure the JNDI connection initially.
Components exposed in a SOA application can be exposed as a service, and a call to the database is no exception. In order to invoke the database from a BPM process, it first has to be exposed as a service.
First, a datasource needs to be created. You need the database schema’s datasource configured to create the JNDI connection information needed to access it. If all you want to do is to access the data from ADF, this is all you would need.
Where the database adapter comes into play, however, is when your project’s composite needs to access it as a service (e.g., when a composite’s Mediator needs to connect to the database adapter). In the fourth part of this series, the Database Adapter SOA component will be dragged into the External References column of your composite diagram. For this to succeed at runtime, the datasource’s JNDI connection to the datasource has to first be added to the database adapter’s DBAdapter deployment. This will be done in part 3 of this series.
This example uses the HR schema that comes that is preinstalled with the Oracle XE 11g or 12c SE database, but these same steps could be used to expose other database schemas.
1. Open the WebLogic Console (e.g., http://localhost:7001/console), and log in.
2. In this step, the source of the data is configured as a datasource to the SOA infrastructure. This datasource provides the connection to the actual underlying data provider. Configure the JDBC Datasource in the WebLogic by selecting Services -> Data Sources. Read the complete article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress
