9.7. Handling transaction isolation in EJBs

We have discussed in some detail how the transaction boundaries are demarcated in EJBs. This takes care of the ‘atomicity’ requirements of transactions. We now have to deal with the ‘isolation’ requirements.

The important point is that isolation is handled by resource managers, not transaction managers.

Hint

What is a resource manager? Technically it is anything that controls the transactional state of a data repository. The term is often used as if it were a separate piece of software (which, of course, it could be), but in most cases, the resource manager is part of the functionality of the data source. Nevertheless, we speak of interactions with the ‘resource manager’ to reinforce the notion that ...

Get Applied Enterprise JavaBeans™ Technology 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.