O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.3. The EJB transaction model

This section discusses the main features of the EJB transaction model. In later sections, we will look in detail at the particular methods that are available to the developer to control transactions.

9.3.1. Fundamental design decisions

The EJB transaction model is based on three fundamental design decisions.

First, transactions are flat. This means that for any EJB instance, exactly one transaction can be in effect at a time [EJB2.0 17.1.2]. If an EJB method that is currently running in a transaction calls a method that begins a new transaction, then the first transaction is suspended until the method call is complete. The suspended transaction will not be affected by anything that happens in the method call. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required