Monday, June 11. 2007TranQL Connector for PostgreSQLTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Have you ever tried other standalone JTA implementations ? Atomikos and Bitronix are - in my opinion - far easier to use than Jencks + Geronimo TM and don't require driver-specific code.
We're in the same boat. After years of writing multithreaded business apps that require transactions on the db via JBoss, we finally got tired of all the plaque and tartar buildup that these massive containers have as evidenced in their many setup files, etc. Spring/Hibernate/etc can no longer, in my view, claim to be "lightweight", either, so we continue to use our own db access code that we've used for years to manage our own db activity, and, yes, we actually write SQL. Amazing how quickly things run when you only do what you need to do.
We only need servlets, db transactions, JNDI, some connection pooling. So, like you, we are also going down this path of using Tomcat exclusively. What a pain this trip has been. How can it be that something as fundamental as transactional db activity can be so flipping difficult to set up? Our JOTM effort has been difficult. Connecting to postgres via multiple threads isn't working as advertised (even with the very latest drivers), though single threaded access works fine. I'm going to try to swap out JOTM for the Atomikos and/or Bitronix and see if things go better. How is it our industry has gotten so far away from simple fundamentals like transactional db calls? Allan, could you help me with configuring deployment plan for Postgres XA data source ? I've configured deployment plan for DataPool using javax.sql.DataSource and simple pgres driver, but I want to use XA.
Thanks in advance Allan, were you ever able to get the combo of PostgreSQL/ XA/ TranQL/ Geronimo working?
I was able to. In fact, the newer versions of Geronimo include a TranQL connector for PostgreSQL.
But at this point, I've decided I don't need a full-blown application server. So using Ludovic Orban's suggestion above, I've been using Tomcat + Bitronix Transaction Manager successfully for a while. |
Calendar
QuicksearchArchivesCategoriesBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||