On Dec 31, 7:33 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> > On Dec 31, 1:16 pm, Jeff Heon <jfh...@gmail.com> wrote:
> >> Immutant is going to have distributed (XA) transactions.
> >> The're "furiously" working on it 8)
>
> >>http://immutant.org/
>
> > "Furiously" is probably not the right word, but XA is definitely on
> > the roadmap. It's just a matter of wiring up the TransactionManager
> > provided by JBoss AS7. We've done this already for Ruby with
> > TorqueBox, so it should be straightforward. With any luck, we'll have
> > it wired up by Februrary, certainly in time for Clojure/West.
>
> > Jim
>
> What wiring is needed, beyond knowing how to call a Java API from Clojure?

At a minimum, we need to obtain a TransactionManager (easy) and define
XAResource implementations for each resource participating in the
transaction (easy for messaging, not as easy for db). In ruby, the
activerecord jdbc adapter helps us with the latter, allowing us to
automatically create XAResource's for each key listed in the Rails
database.yml file, using standard ruby conventions to provide XA "for
free" when a rails app is deployed under TorqueBox.

We need to figure out what those conventions are for clojure. Or help
define them.

Also, the Java API's for XA are kinda awkward. I hope we can wrap them
a bit to make the common usage patterns simple.

Now, back to drinking.  :)

Jim

>
> Stu
>
> Stuart Halloway
> Clojure/corehttp://clojure.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to