[Dev] Large-ish Check-in
Brett Wooldridge
bwooldridge at alterpoint.com
Thu Mar 20 10:45:24 CDT 2008
There is a large (ish) check-in coming. Here's the low-down.
New project:
org.ziptie.zap.jta
Dead projects (you should delete):
org.ziptie.zap.c3p0
org.ziptie.zap.jotm
What is it?
Due to false transactional behavior (emulation) I have killed the c3p0 connection pool. Due to "known issues" integrating JOTM with other transaction aware (XA) connection pools, it too has been killed. From their ashes rises the Bitronix TM. Bitronix, like JOTM, provides a Java Transaction API (JTA) implementation as well as a bundled XA connection pool. Bitronix resides in the new org.ziptie.zap.jta project. Bitronix is a LGPL licenced project, for those who are curious.
There was a light touch to a handful of other projects. I moved the TransactionElf from the org.ziptie.zap.jotm package to the org.ziptie.zap.jta package. Hopefully, if we ever have to move to another JTA, this will mean no code change at that point. It was my bad to put the Elf in a package with an implementation specific name to begin with. The other changes are the removal of a bundle dependency on org.ziptie.zap.jotm and replacement instead with a package import only dependency. Again, in the future if we move JTA's again this should make it painless.
With this change, it is now possible to obtain connections from directly from the connection pool yet still manage transaction boundaries with the Elf (JTA). There were some "interesting" configuration challenges with Quartz (it does support JTA now), so if you see any exceptions in scheduling please let me know immediately.
To be safe, I would recommend updating all projects (after the big check-in). A clean build should not be necessary, but is probably not a bad idea. Because of the size of the check-in, don't be surprised to see a build break or two before it's all in.
-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ziptie.org/pipermail/dev/attachments/20080320/cec35ecb/attachment.html
More information about the Dev
mailing list