This content has been marked as final.
Show 4 replies
-
1. Re: Newbie with JTA and JBoss
oglueck Nov 18, 2005 5:53 PM (in response to rogeduardo)What is SchemaAdmin? Just a stupid POJO? Then it is of course not JTA aware. Please read at least the basics about what JTA is. It doesn't do any magic. If it is an EJB then you must get it via JNDI and not create an instance yourself.
-
2. Re: Newbie with JTA and JBoss
rogeduardo Nov 18, 2005 6:17 PM (in response to rogeduardo)"oglueck" wrote:
What is SchemaAdmin?
Its not the problem. My problem here is: i am trying to control operations in distributed environment. This method "addSchemaReference" access via JNI and after a RPC server wrote in C. I wanna control this transactions with JTA, but I dont know how this could be done. I have to implement any Interface, like XAResource, in the server side(C)? Or I dont have worry about this? -
3. Re: Newbie with JTA and JBoss
oglueck Nov 19, 2005 5:26 AM (in response to rogeduardo)You have to register you resource with the resource manager. Normally this is done by creating a resource adapter (RAR). Suggested reading: JTA, Java connector architector, resource adapters.
-
4. Re: Newbie with JTA and JBoss
rogeduardo Nov 19, 2005 2:01 PM (in response to rogeduardo)"oglueck" wrote:
You have to register you resource with the resource manager. Normally this is done by creating a resource adapter (RAR). Suggested reading: JTA, Java connector architector, resource adapters.
Thank you. This you be very helpful.