db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: Someone shed some light on using LocalTxManager versus JTATxManager?
Date Wed, 11 Feb 2004 18:27:14 GMT
Thanks Andrew!
C&P it into CVS ;-)

Armin

Clute, Andrew wrote:
> How about this for the documentation (seems clearer to me):
> 
> "If the PB-api is the only persistence API being used (no ODMG nor JDO),
> and it is <b>only<b> being used in a managed environment, it is
> recommended to use a special PersistenceBrokerFactory class, which
> enables PersistenceBroker instances to participate in the running JTA
> transaction (e.g. this makes PBStateListener proper work in managed
> environments and enables use of 'autoSync' property in
> ObjectCacheDefaultImpl)"
> 
> 
> 
> -----Original Message-----
> From: Armin Waibel [mailto:arminw@apache.org] 
> Sent: Wednesday, February 11, 2004 1:01 PM
> To: OJB Developers List
> Subject: Re: Someone shed some light on using LocalTxManager versus
> JTATxManager?
> 
> Hi again,
> 
> Clute, Andrew wrote:
> 
> 
>>Ok, I got the latest, and I think I understand what you are saying.
>>
>>However, the new documentation has one confusing point, that I am 
>>hoping you can clear up. It says for step 6 about the new PB:
>>
>>"If only the PB-api was used in managed environment, it's recommended 
>>to use a special PersistenceBrokerFactory class..."
>>
> 
> 
> doh! I expected this question ;-)
> 
> 
>>Is this saying that if you are only using the PB-api, and no other 
>>API, then inside of a managed environment, this new PB will work.
> 
> 
> yep!
> 
> Or is it
> 
>>also saying that if you use this new PB and are using the PB-api, you 
>>can *only* use it in a managed environment, and it will not work if 
>>you have some other cases where a non-mangaged environement is used 
>>(say for local testing)?
> 
> 
> yep!
> 
> Any proposals to make this paragraph more clear in documentation?
> 
> regards,
> Armin
> 
> 
>>-----Original Message-----
>>From: Clute, Andrew [mailto:Andrew.Clute@osn.state.oh.us]
>>Sent: Wednesday, February 11, 2004 11:53 AM
>>To: OJB Developers List
>>Subject: RE: Someone shed some light on using LocalTxManager versus 
>>JTATxManager?
>>
>>Thanks for the help!
>>
>>I am reading this right, that if I continue to use my current version 
>>(RC4), then using the PB-api will not work because it cannot 
>>participate inside the JTA-tx? I will *have* to update to latest to be
> 
> 
>>able to get this work?
>>
>>And when you say deployment doc, you just mean the documentation on 
>>how to do deployment's right?
>>
>>-Andrew
>>
>>-----Original Message-----
>>From: Armin Waibel [mailto:arminw@apache.org]
>>Sent: Wednesday, February 11, 2004 11:46 AM
>>To: OJB Developers List
>>Subject: Re: Someone shed some light on using LocalTxManager versus 
>>JTATxManager?
>>
>>If you use PB-api I recommend you to get latest from CVS (HEAD is 
>>stable). I made some changes to let PB-api participate in JTA-tx and 
>>update the deployment doc (to generate local docs call bin\build.bat 
>>htmldoc). Have a look in 
>>...broker.core.PersistenceBrokerFactorySyncImpl, this class manages 
>>the JTA integration when using PB-api.
>>
>>regards,
>>Armin
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For 
>>additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For 
>>additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional
> commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message