Archived

This forum has been archived. Please start a new discussion on GitHub.

one transaction across multiple JVMs with FREEZE

Hello,

I'm currently working on a distributed Plugin framework. I want to be able to have a database transaction containing calls to multiple plugins, but with each plugin being able to reside on any server in the cluster, this means the plugins can be in different JVMs.

Does FREEZE support database transactions that span multiple JVM instances?

Mark

Comments

  • bernard
    bernard Jupiter, FL
    Hi Mark,

    Welcome to our forums!

    At present, Ice does not provide a distribute transaction service and as a result you can't create a distribute transaction with several participants (your JVMs using Freeze); see http://www.zeroc.com/forums/help-center/4625-transaction-manager-ice.html

    Freeze is built on top of Berkeley DB, and Berkeley DB supports distributed transactions (as a participant, not as a distributed transaction manager/coordinator). So, if Ice had a distributed transaction service, it would possible to update Freeze to support 2 phase commit and participation in distributed transactions.

    All the best,
    Bernard
  • Is this something that is planned to be added somewhere in the near future? Because if i'is I'll just wait for thag, my current project will take some time to complete anyway, so I have a bit of time. If not, I'll need to come up with something myself.