Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: XA Compliance with RmiJDBC


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.