John D. Ament wrote
> Using CDI, you should be able to write an extension that observes
> BeforeBeanDiscovery to add the annotated types using
> beanManager.createAnnotatedType(Interface.class) and Impl.class.

Looking at those APIs; it doesn't look like I would get a reference to the
Singleton in my other application but rather a new instance of the class in
my web application. Not really what I was looking for.




-----
- Tim
--
View this message in context: 
http://openejb.979440.n4.nabble.com/How-to-reference-an-EJB-in-an-EAR-from-a-separate-WAR-tp4661962p4661967.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to