I want to use JOTM JTA transaction manager in J2SE environment. Is it safe to use it or are there any issues in using JTA in J2SE environment.
Please help me. As I am urgently in need of using JTA trasnactions in the application that do not have an application server like JBOSS or WebSphere.
Is there any good JTA transaction manager I can use and also please let me know if there is any side-effect of using JTA in non-J2EE environment.
Here is my overall design scenario:
There is a shared code which is called through a web application with J2EE environmanet as well as a daemon program (Core Java program with its own main()). Now, the shared code needs to use JTA transactions. I used JBOSS transactionmanager for JTA transactions in common code which worked fine if called from web application in J2EE environment.
Now, the problem is that when that shared code is called through a daemon program (Non J2EE Core Java program with its own main), it can't initiate JTA transactions as it doesn't have access to JBOSSTransaction manager.
So, i need to know about some Transaction Manager that can work both in J2EE and non-J2EE environment as the code is shared across both j2EE and non-J2EE environments. One option os JOTM transaction manager. Can you pls. tell me if there are any side-effects / issues of using JTA transactions though JOTM in each of:-
a) J2EE environment
b) Non-J2EE environment.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.