Managing transactions
An application module is the business service component that encapsulates the logical unit of work. We can have different application modules representing different units of work.
An application module defines database sessions and provides transaction boundaries. It also controls concurrent data accesses. An application module is also responsible for maintaining the connection-pooling mechanism for the available connections.
Configuring transactions
When we create
business components, we are asked to create a database connection. We have created HRSchema
as our connection, and the application module component will use this connection to create the transaction and session. If needed, the application module can also share the transaction.
We will use the Configurations tab in the application module to create a configuration for the client to interact with the application modules. Using JDBC Datasource is recommended for the WebLogic server to handle connection pooling.