Developing components to use transactions

These topics provide information about developing WebSphere application components to use transactions

Why and when to perform this task

The way that applications use transactions depends on the type of application component, as follows:

You configure whether a component uses container- or bean-managed transactions by setting an appropriate value on the Transaction type deployment attribute, as described in . You can also configure other transactional deployment descriptor attributes.

If you want a session bean to manage its own transactions, you must write the code that explicitly demarcates the boundaries of a transaction as described in Using bean-managed transactions.

Similarly, if you want a Web component to use transactions, you must write the code that explicitly demarcates the boundaries of a transaction as described in Using bean-managed transactions.


Related concepts
Transaction support in WebSphere Application Server
Related reference
UserTransaction interface - methods available



Searchable topic ID:   tjta_devap
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/tjta_devap.html

Library | Support | Terms of Use | Feedback