Where is the jar file for EJB3 annotations for JBoss 5?
It should be easy, but I'm totally at a loss.
I am working on a tutorial on setting up some MBeans in JBoss 5.0. It has an example like this:
@Remote
public interface Calculator {
public double getInterestRate();
public double calculateTotalInterest(double presentValue, int years);
public double calculateFutureValue(double presentValue, int years);
}
I am trying to find a jar file that contains data for @Remote annotation and I cannot find the jar file that I need. A google search gives me a bit of nothing that seems to be related to JBoss 5.0 . Any help is appreciated.
This is smuggled internally common/lib/jboss-javaee.jar
, along with the rest of the JavaEE API. This JAR is for use by the JBoss server.
Another copy is kept internally client/jboss-javaee.jar
for use by clients.
Both are copies of the same classes.
And if you find yourself in a similar situation in the future, go to www.findjar.com, enter the class name, and the search engine will find the jar for you. This site has served me countless times.