@EJB or @Inject shoul dbe pretty close currently well for a pojo it was buggy (cf the jira) but add @javax.ejb.Stateless to your pojo at top level class and it should work even in 1.0.0
- Romain 2012/5/30 tom <[email protected]> > Thanks for your very fast reply :) > > I fear you left me somewhat behind there. So I did some googling and > quessed > that I should use the @EJB annotation instead. So I followed this tutorial > here: > > http://openejb.apache.org/examples-trunk/cdi-basic/README.html > > It's the results in the same behavior for me. But now I really quess I did > something wrong xD > > Maybe you could give me some more hints with EJBs? > > Thanks :) > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/PostConstruct-method-called-before-injection-occurred-tp4655229p4655232.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
