13.07.2015 Views

Application Deployment Guide - GlassFish - Java

Application Deployment Guide - GlassFish - Java

Application Deployment Guide - GlassFish - Java

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1515Using the Transaction ServiceThe <strong>Java</strong> EE platform provides several abstractions that simplify development ofdependable transaction processing for applications. This chapter discusses <strong>Java</strong> EEtransactions and transaction support in the Oracle <strong>GlassFish</strong> Server.The following topics are addressed here:■■■■Handling Transactions with DatabasesHandling Transactions with Enterprise BeansHandling Transactions with the <strong>Java</strong> Message ServiceThe Transaction Manager, the Transaction Synchronization Registry, andUserTransactionFor more information about the <strong>Java</strong> Transaction API (JTA) and <strong>Java</strong> TransactionService (JTS), see "Administering Transactions" in <strong>GlassFish</strong> Server Open Source EditionAdministration <strong>Guide</strong> and the following sites:http://www.oracle.com/technetwork/java/javaee/jta/index.html andhttp://www.oracle.com/technetwork/java/javaee/tech/index.html.You might also want to read "Transactions" in The <strong>Java</strong> EE 7 Tutorial.Handling Transactions with DatabasesThe following topics are addressed here:■■Using JDBC Transaction Isolation LevelsUsing Non-Transactional ConnectionsUsing JDBC Transaction Isolation LevelsNot all database vendors support all transaction isolation levels available in the JDBCAPI. The <strong>GlassFish</strong> Server permits specifying any isolation level your databasesupports. The following table defines transaction isolation levels.Using the Transaction Service 15-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!