Romain, thank you for your quick response!

I used comp/env/comp/TransationManager based on your advice here:
https://issues.apache.org/jira/browse/TOMEE-38.  I know I am getting /a/
transaction manager; how do I know if I am getting the one I want?

For the EMF, I have this in my web.xml.  Is this enough to get hold of the
EMF and bind to it?  I'm using this info:
http://tomee.apache.org/persistence-unit-ref.html. 



Can you help me find my way with the CDI/DeltaSpike approach? 
In particular,  I don't know how to find the EMF that TomEE automatically
creates and then expose it.  I'm thinking I want something like


And, umm... forgive my complete ignorance, but could you help me with the
"easily doable in XML" part?  How do I get at the value returned by the
static method within my xml file without creating another bean, etc. etc.




--
View this message in context: 
http://openejb.979440.n4.nabble.com/Shared-Persistence-Context-between-Spring-Beans-and-EJBs-tp4664343p4664348.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to