Hi David,

David Blevins wrote:
Not sure how we'd pull it off, but it would be cool to have @EJB injection for test cases. Instead of test cases using JNDI to lookup beans and then test them as we do now, the idea would be that the test case need only have an @EJB annotation on a field.

Something like that would obviously require some deep hooks or a specialized test runner or special test case class, but anyway ... a guy can dream.
Should this not be handled by the client container? For example in EJB 2.x, we can look up a EJB with java:/comp namespace if the client is deployed in client container.

Thanks,

Raj

Reply via email to