5 Replies Latest reply on Oct 15, 2010 1:25 PM by Aslak Knutsen

    how to test an EJB through management interface & a JBoss POJO bean

    Csaba Szucs Newbie

      Hello Guys,

       

      Now I am able to test EJB, JMS and JPA in an Arquillian JUnit test class.

      Next, I would like to use an EJB through its management business interface (@Management) and also a JBoss managed/pojo bean in my Arquillian tests.

       

      1) How can I inject / access an EJB through its management business interface in an Arquillian JUnit test class?

       

      2) How can I inject / access a JBoss POJO bean (defined in jboss-beans.xml deployer file) in an Arquillian JUnit test class?

        How can I test my install and uninstall callback method logics defined in a POJO bean (<incallback>)?

       

      Thanks a lot!

      Csaba