Posted by
David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/Dev-Replacing-JOTM-and-Carol-tp167754p167757.html
I started looking into this and put some basic stuff in place, but with no real success. The example from Jencks was interesting but used a class called GeronimoTransactionManager that must have been from some pre-1.0 release as it does not exist in 1.0 or in the current Geronimo SVN code base.
I randomly tried some objects found looking directly at the Geronimo JavaDocs, but with no success. In a cursory review I also could not find anything along these lines in the Geronimo docs.
The infrastructure I played with is in SVN. Just change the transaction-factory tag at the beginning of the entityengine.xml file to use the now commented out geronimo one. Changes can go in the GeronimoTransactionFactory class, which is direct for now rather than using JNDI. I figure we can worry about that later and the direct model in the Entity Engine is easier for now.
If anyone has any ideas or resources related to this that would be great...
Note that none of this attempts to replace Minerva (XA aware connection pool) yet, just starting with the transaction manager for now. Of course, if anyone has any ideas about that part of Geronimo it would also be appreciated.
Note also that this is an attempt to use the embedded approach to have certain parts of Geronimo running in OFBiz rather than deploying OFBiz in Geronimo (which isn't trivial with 1.0, but may be easier with later Geronimo releases).
-David
Jacopo Cappellato wrote:
> David,
>
> well, maybe I'm totally wrong but, I think that they have succesfully
> pulled the transaction manager out of Geronimo (and resolved all its
> dependecies with other parts of Geronimo as well) so this could be of
> some help for us too, i.e. we could try to do the same they did to pull
> the tm out of Geronimo and use it in OFBiz.
>
> Jacopo
>
>
> David E Jones wrote:
>> Jacopo,
>>
>> I'm not quite following you here... What sort of use for Jencks did you have in mind, or how would it help to replace JOTM/Carol and Minerva?
>>
>> -David
>>
>>
>> Jacopo Cappellato wrote:
>>> Hi all,
>>>
>>> what do you think of this:
>>>
>>>
http://jencks.org/>>>
>>> "Jencks is a lightweight JCA container which is easy to deploy inside
>>> Spring to provide Message Driven POJOs".
>>>
>>> It's licensed under the ASF 2.0 and by default reuses the Geronimo JCA
>>> connector and TransactionManager.
>>>
>>> They say it is easy to deploy inside of Spring however it is also
>>> written that if you are not already using Spring then you need to add
>>> the following jars
>>>
>>> * spring.jar
>>> * aopalliance.jar
>>>
>>> I don't know anything about Spring, but I've verified that it is ASL 2.0
>>> licensed too.
>>>
>>> What do you think of this?
>>> Could it be a starting point to replace JOTM and Carol?
>>>
>>> Jacopo
>>>
>>> _______________________________________________
>>> Dev mailing list
>>>
[hidden email]
>>>
http://lists.ofbiz.org/mailman/listinfo/dev>>
>> _______________________________________________
>> Dev mailing list
>>
[hidden email]
>>
http://lists.ofbiz.org/mailman/listinfo/dev>>
>
>
> _______________________________________________
> Dev mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev