tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Fryer <apfr...@hotmail.com>
Subject cdi-spring-bridge - how to access transaction manager, ejbs, persistance units from spring
Date Wed, 01 Oct 2014 10:11:37 GMT
Hi All,

I would like to run openejb embedded in a spring web application and access
all the resources, resource adapters, ejbs, transaction manager, persistence
units, datasources, cdi beans, etc contained in the openejb container from
the spring web application context.

I saw there used to be a spring-integration example back in tomee-1.0 but
that sample has dissappeared from 1.5 onwards.  

Romain developed the cdi-spring-bridge
(https://github.com/rmannibucau/cdi-spring-bridge) which enables injecting
spring resources into cdi beans.  Does it also enable injecting from cdi to
spring?  


Regards,

Anthony



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/cdi-spring-bridge-how-to-access-transaction-manager-ejbs-persistance-units-from-spring-tp4672063.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message