Summary

Today you learned what transactions are, and why they are important in J2EE applications. Both local (standard) and distributed (global) transaction types were discussed with the emphasis on distributed transactions. The JTA API was outlined, and you were shown how it is used in managing distributed transactions among multiple resource managers. We highlighted how transactions work across all J2EE tiers. Both bean-managed transaction and container-managed transaction were explained. An example of distributed transaction was given, where two resource manager are used: a JDBC resource manager and a JMS resource manager. The example used bean-managed transaction demarcation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.21.152