2 Replies Latest reply on Jul 10, 2009 4:13 AM by Mirek Sz

    Mapped name in EJB 3.0

    Mirek Sz Newbie

      I have a problem. i need set JNDI name of my bean like that


      I can do this by annotation
      Stateless(name="beans/DefaultValues/OperatorService/Example") but
      when I use <ejb-name>beans/DefaultValues/OperatorService/Example</ejb-name> in ejb-jar.xml i got SAXParser error about invalid content.

      When I put this name in <mapped-name>beans/DefaultValues/OperatorService/Example</mapped-name> there is no parser error but JBOSS ignores <mapped-name>. How to set this name i ejb-jar.xml ???

      Best regards