I see...
Creating a session bean for automatic transaction boundary demarcation is
not always approapriate. Some of the logic I run on the client is complex
and really IS client logic. Moving it to server is not a good idea, as too
much data has to be transferred from client over the network.
Alexander Klyubin
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ole Husgaard
Sent: Thursday, January 11, 2001 13:19
To: jBoss
Subject: Re: [jBoss-User] Accessing UserTransaction from Client Code
Hi,
This is not yet implemented in JBoss.
The problem is, that while transaction
context propagation works fine when in the
same VM, the network code for distributing
transaction between different VMs has not
yet been implemented.
Its on my TODO list.
Anyway, controlling transaction boundaries
on the client is IMHO a bad idea.
A workaround is simple: Create a session
bean and let that control transactions.
Best Regards,
Ole Husgaard.
Alexander Klyubin wrote:
>
> Hi!
>
> Does anybody know how to retrieve UserTransaction interface from client
> code? This is done in order to control transactions from client code.
>
> I've seen some code for Enhydra and WebLogic, but neither of them work
with
> jBoss.
>
> Alexander Klyubin
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]