Hello, I´m trying to do some test in one application using the jboss embeddable, but I don´t know how to deploy a .ear file. The examples of jboss embeddable page just doing deploy on .jar files. when a I deploy a .jar file I had some problems. One of this problems is that my exceptions are always null, my methods never throws his exceptions. Other problem happen with teh injection do dependency, when I put my .ear file in Jboss I have to use the class javax.annotation.EJB but when I run my tests I just can use the class javax.ejb.EJB.
Someone can me help with a tutorial about this problem? Is this the right place to put this question?