2 Replies Latest reply on Jan 16, 2013 2:27 PM by Lars-Erik Helander

    JAX-RS bean discovery

    Lars-Erik Helander Newbie

      I have an application that contains JAX-RS beans as well as CDI beans. When I study the log from running the application on JBOSS AS 7 (7.1.1 final), it seems like that the CDI container discovers the JAX-RS beans and "hands" them over to JAX-RS, is this a correct observation? If so, is this according to some specification, and if so which one, or is this a JBoss implementation dependent behaviour?

      In this case is the JAX-RS own discovery disabled or will JAX-RS know about the bean from two sources?


      It would be highly appreciated if someone could clarify this or point to some specification or other documentation where I could find the relevant information.