Skip Headers

# EJB Session Beans

Previous

Next

Oracle recommends using EJB session beans.

With EJB session beans, you should use JTA integration (see "JTA Controlled Transactions") and external connection pools (see "External Connection Pools"). You should acquire a unit of work using `Server` method `getActiveUnitOfWork` (see "Acquiring a Unit of Work With an External Transaction Service"). If your session bean and data source are not in the same JVM, you may consider using `UnitOfWork` method `mergeClone` to handle merging deserialized objects (see "Merging Changes in Working Copy Clones").

For more information, see "Understanding the EJB Session Bean Facade Architecture".