Remy Maucherat wrote:

> The Tyrex code currently uses 0.9.7. Migrating to 1.0 should happen
> soon, but may be slightly tricky.

Yep, looks like that is true.

>
>
> If you have ideas/patches, feel free to send them to the list.

Well, regarding the TyrexDataSourceFactory class, it looks like it can be
removed.  The tyrex.resource.jdbc.xa.EnabledDataSource (formerly
tyrex.jdbc.xa.EnabledDataSource, which TyrexDataSourceFactory creates)
implements javax.spi.ObjectFactory, so it can create these objects itself.  It
looks like tyrex.jdbc.ServerDataSource is gone, so no problem there.

And then regarding the TyrexTransactionFactory...

I am not sure of what direction or how migration to 1.0 was going to happen --
if anyone is currently working on this I'd like to know what is going to
happen.  If not, if I could get an idea of what is wanted/needed to happen, I
could cook up a patch, as I'd like to see Tyrex 1.0 working with Tomcat (older
versions aren't even available for download from tyrex.exolab.org).

Tyrex now has the idea of a "TransactionDomain", which is created from an XML
config file, and manages transactions, data sources, etc.  Creating an
ObjectFactory for this new TransactionDomain shouldn't be a big deal, or even
updating TyrexTransactionFactory to get the UserTransactions from this new
class, to provide a bit of backward compatiability (although the new transaction
domain xml file still has to be loaded somehow).

My apologies for being confused or causing confusion -- both can happen when I
post this late at night :-)

David

>
>
> Remy
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to