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.5. Bean-managed transaction demarcation

This section describes techniques available to the developer who wants to control transaction boundaries more finely than is possible with container-managed demarcation. Variations of this technique can be used by servlets, JSPs, EJBs (except entity EJBs) and CORBA clients, provided that the RMI protocol supports the passing of transaction context between components.

Gotcha!

In general, if servlets and EJBs are deployed as part of the same application (i.e., in the same EAR file), then it should be possible for servlets to initiate transactions that encompass EJBs (although it may not be advisable). If they are deployed as different applications, and particularly if the servlets and EJBs are hosted by ...

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