Client Transactions with Enterprise Java Beans - Tutorial
One of the main aspects of the Enterprise Java Beans (EJB) framework
is its support for transactions. Although EJB supports alternative
programming styles for use of transactions, namely declarative and
programmatic transactions, EJB's support remains limited. The EJB transaction
model is a component-centric model in the sense that transactions are tied
to beans (1 bean method = 1 transaction). It helps coping with
concurrent components, but it lacks support for managing concurrent clients
who participate in a transaction. Client transactions typically
need different and more sophisticated transactional support than is provided
by plain EJB transactions.
In this tutorial we discuss several implementation techniques for client
transactions. All implementations presented in this talk are built
on top of EJB transactions. These approaches include client initiated transactions
based on JTS/JTA and server-side support for optimistic and pessimistic
locking. Along with the implementation techniques themselves we will
discuss performance characteristics and further up- and down-sides of each
of the idioms. |
|
PREREQUISITES
|
|
Level:
|
intermediate |
Duration:
|
90 min |
Prerequisites:
|
Attendants should be familiar with the core concepts of
EJB. |
Presented at:
|
OOP 2003
,
Munich, Germany, January 2003 |
If you are interested to hear more about this
and related topics you might want to skim through some further reading:
|
Slides
|
OOP 2003
, Munich, Germany,
January 2003 |
|
|