yep

about injection it is not handled but will no throw a classloading error.
if you want it just use cdi and deltaspike BeanProvider: MyEjb ejb =
BeanProvider.get(MyEjb.class);

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/12 deetewari <[email protected]>

> Ohh... is it... pardon my ignorance but can you kindly show how such an
> Injection can be achieved. This would be useful if we want to make the
> Entity a little data/logic aware when the data/logic is coming from another
> EJB like a @Singleton!
>
> I do understand that in my particular example, the line A a = new A(); was
> causing the JVM to give up the creation and hence JPA couldn't get an
> object! Is this right?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Accessing-Entity-bean-in-Stateless-EJB-throws-NoClassDefFoundError-tp4660738p4660744.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to