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 ...

Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.