db transactions spanning multiple JVMs with JTA
for my framework I need a way to have a single transaction span multiple JVMs.
Here's what I'm working on:
It is going to be a diustributed plugin framework which will be able to run with just J2SE. I have the basics done, I can load plugins based on a XML config file. The plugins can be located anywhere, on any server. The core of the framework handles all the communication between the plugins, so when you code a plugin, you don't have to worry about where the other plugins you are calling are located.
The problem I am now facing is that I need to have a transaction system that will let me group multiple plugins in the same transaction. But seeing how each plugin can potentially run in its own JVM, I need to figure out how to do this.
Everything I read online is that JTA is the way to do this. But all I can find are JTA examples that have a single JVM with multiple databases in a single transaction. This is not what I need, but I can't find any examples related to my use case.
If you guys could help me along, that would be great.
By Amt_asc in forum Database
Last Post: 04-03-2009, 03:13 AM
By hazaraSp in forum ASP.NET
Last Post: 01-29-2008, 07:24 AM
By jezreaton in forum Java
Last Post: 01-27-2006, 12:01 PM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL