openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <>
Subject Re: Spring/EJB integration on TomEE - @Resource problem
Date Fri, 10 Aug 2012 07:49:46 GMT
the comment is to say "don't use cdi to manage @PostConstruct" since spring
already handles it (same for predestroy normally)

i added a property to my test and it works. Do you use a @Spring qualifier?

- Romain

2012/8/10 Morten Steffensen <>

> Hi Romain,
> back from vacation and looking at your example. I modified it so that
> MySpringBean1 has a String property which is set in app-ctx.xml. Setting a
> breakpoint in your testcase, this property seems  to be null - not copied
> over from spring context to CDI context.. It just seem that a MySpringBean1
> instance has been created and injected in MyCdiBean1. I set a breakpoint in
> SpringBean create method, and this is apparently not called..  I wonder if
> that is the problem. What does your comment 'postconstruct managed by
> spring' mean ?
> --
> View this message in context:
> Sent from the OpenEJB User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message