tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afryer <>
Subject Re: Injection fails in any class that didn't instantiate an embedded ejb container
Date Fri, 17 Feb 2012 13:08:13 GMT
Just upgraded to beta-2 and now @ManagedBean works.  I had to change the
context I was binding to, to get this to work.

Using @LocalClient i had to bind using this code...

Using @ManagedBean i have to bind like this...

That difference doesn't bother me at all.  Just putting it here for
reference in case other people have the same issue.  

Now using @ManagedBean the @Inject annotation is working :)

The upgrade to beta-2 is gold.

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message