tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <>
Subject Re: cdi-spring-bridge - how to access transaction manager, ejbs, persistance units from spring
Date Wed, 01 Oct 2014 10:37:11 GMT

it is only spring -> cdi. You can just add a custombean post processor
and use deltaspike (core api) to inject in all spring beans. What I
saw is it has several side effects cause spring and cdi support
@Inject and you can get very nasty surprises.

Romain Manni-Bucau
Twitter: @rmannibucau

2014-10-01 12:11 GMT+02:00 Anthony Fryer <>:
> 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
> ( which enables injecting
> spring resources into cdi beans.  Does it also enable injecting from cdi to
> spring?
> Regards,
> Anthony
> --
> View this message in context:
> Sent from the TomEE Users mailing list archive at

View raw message