2 Replies Latest reply on Mar 16, 2011 9:10 AM by stianst

    Specify JNDI name for @EJB

    stianst

      Some of the beans I'm trying to test with Arquillian uses @LocalBinding to specify the JNDI name, and Arquillian fails to inject this bean into the test as the JNDI name doesn't match any of the patterns used by Arquillian (according to http://docs.jboss.org/arquillian/reference/latest/en-US/html_single/#d0e964).

       

      Is it possible to specify what JNDI name Arquillian should use for an @EJB injection? I've tried with @MappedName, but that didn't work.