This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Transaction Manager in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Transaction Manager in JBoss" Watch "Transaction Manager in JBoss" New topic
Author

Transaction Manager in JBoss

Gagan Tiwari
Ranch Hand

Joined: Jun 10, 2008
Posts: 71
Hi All,
I have just now started using the JBoss.

I need to use the Transaction Manager provided by Jboss from a Stand Alone Program.

As I read the documentation I got to know that there is some Arjuna Transaction in JBoss.
But I never found anything on How to get that using Java, means My stand alone program should get it (using some JNDI name) or by something.

Kindly suggest.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

If you want the transaction manager outside the AS, then how about using JBoss Transactions in standalone mode http://www.jboss.org/jbosstm/deployment.html

[My Blog] [JavaRanch Journal]
Gagan Tiwari
Ranch Hand

Joined: Jun 10, 2008
Posts: 71
Yes,

But how to do that is what my question.

I have searched the link which you suggested but not found any item

as somethink like context.lookup("UserTransaction"); can give me the UserTransaction.

But how should I get the TransactionManager from the JBOSS Context
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Manager in JBoss
 
Similar Threads
making a stand alone program as a JBoss resource
Is there any way where you can pass values from java to the perl program?
Two phase commit in hibernate?
How can you pass the arguments from the java program to the perl program?
"public static void main(String[] args)" rule?