users@glassfish.java.net

Re: JTA not yet open source

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 Jul 2008 10:36:27 PDT

Then don't use Suns compiled interface classes.

The only thing in that class library are interfaces (well, there's some boiler plate exceptions as well). Seems to me you should be able to implement your own javax.transaction.* interfaces and bundle them instead.

Or you could perhaps grab the JTA equivalent JAR from Apache and use that, (Geronimo at a minimum will have that) since they may well have been in the same situation you are in, and their software license is much freer than Suns.

Finally, does the Glassfish license encumber you the same way? JTA is part of Glassfish, so perhaps just distributing Glassfish as a whole works around the problem.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=286497