Bill
>This may be an ignorant question. The latest release of InstantDB (3.20
beta
>1) is now XA compliant. Are there any implications from this with the use
of
>RmiJDBC? If I use RmiJDBC will the XA aspect still work?
Far from being an ignorant question, it's actually a very good question.
The Enhydra JDBC XA driver is built as a wrapper for JDBC 1 drivers. You can
get most of the JDBC 2.1 functionality this way. InstantDB extends the
Enhydra XA driver to provide "proper" 2-phase commits. Actually InstantDB
doesn't do that much during a prepare - it simply makes sure there's enough
room in the journal file for the transaction to complete.
Enhydra could wrap the Rmijdbc driver just like any other. The only thing
that would be missing would be access to the 2-phase commit (the wrapper
emulates this by optionally committing on either the "prepare" or "commit"
calls. An additional function or two would have to be added to RmiJdbc to
make the real 2-phase commit work. I'll have a look into providing these.
Regards
Peter Hearty
Lutris Technologies UK Ltd.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|