i'm working on the transaction abstraction API's, making sure they will bind naturally to stanard java and enterprise java and that they defaults contain the good practices.
the API i'm currently working towards is the following:
Environment environment = environmentFactory.openEnvironment(); try { ...user code goes here... } catch(Throwable exception) { environment.setException(exception); } finally { environment.close(); }