I didn't know about the @ManagedBean annotation. I got it to work using the
@LocalClient annotation and creating an empty
META-INF/application-client.xml file.  What's the difference between
@ManagedBean and @LocalClient?  I just tried using @ManagedBean but i still
got the same error as before (could not find meta data...).  

I did find that using @LocalClient i couldn't inject into my test case
classes using the @Inject annotation.  I had to use @EJB instead.  

--
View this message in context: 
http://openejb.979440.n4.nabble.com/Injection-fails-in-any-class-that-didn-t-instantiate-an-embedded-ejb-container-tp4396189p4396984.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to