openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: OpenJPA depends on JTA?
Date Sat, 16 Aug 2008 08:02:07 GMT

  OpenJPA enhances the bytecode of persistent entities to make them
transparently manageable -- serp is a bytecode manipulation library
extensively used by OpenJPA for this purpose. 

  If you download OpenJPA distribution from the website [1], all its
dependencies are available in ./lib/ directory. 

  You can also build openjpa jar from source code (it is open source project
after all) using maven -- which will download all its build-time
dependencies automatically and put it in your local machine. How to obtain
OpenJPA source code is documented in [2].


RMMM wrote:
> Pinaki Poddar wrote:
>> Hi,
>> OpenJPA considers itself as a resource participating in a transaction
>> (rather than managing it) -- and that perspective does not change whether
>> it is in RESOURCE_LOCAL  or JTA transaction environment. In RESOUCE_LOCAL
>> transaction mode, it uses its own implementaion of a managed runtime.
>> Because of such unified approach,  participating in someone else's
>> transaction is negotiated via javax.transaction.Synchronization, hence
>> JTA libraries are requires even in JSE/RESOURCE_LOCAL environment. 
> Thanks for the explanation.
> Where is this documented? Obviously, this sort of dependency needs to be
> prominently indicated somewhere in the documentation, but I can't seem to
> find it.
> Also, after loading JTA libraries, I find a second dependency on a class
> serp.util.Strings.
> Is this documented? Do you know where I get this library?
> And after I get serp.util.Strings, will there be more libraries I will
> have to track down? 
> It would be nice to find someplace that summarizes how to install OpenJPA, 
> including all of its dependencies.
> Thanks

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message