Javatar Javatar - 1 year ago 68
Java Question

Can I access an injected ejb from an inner class?

As i clearly mentioned above, I would be glad to hear your ideas about that.

btw, some other ones say;
"call Component.getInstance(Facade,true) from your inner class."
However, I dont understand it actually..


Answer Source

Once the injection has happened, it's just a reference like any other, so there's no reason why it should not work.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download