Absolutely.  Your Java source will not have to change, only the
transaction manager configuration.  You can choose to use a JTA or
EXTERNAL transaction manager type for working with declarative
transactions (depends on your server, configuration etc.).  When using
local transactions, you use the JDBC tranaction manager.

In all cases you follow the same try/finally start/commit/end
paradigm.  Calling commit with a JTA transaction may or may not commit
depending on the existing context, whereas EXTERNAL will NEVER commit
and depends completely on an external transaction manager.



Great stuff Clinton. Somehow, I'm surprised. :)

(My iBatis project will commence soon ... can't wait ...)

Kind regards

Abdullah

Reply via email to