Hi, I am very new to EJB world. How do we find what version of EJB my current web application is using? I checked ejb-jar.xml and application.xml for uri reference. There is no such thing i found in ejb-jar.xml, and the application.xml look like below:
we are currently using jboss 4.0.1 sp1 and JDK1.6. I am using eclipse indigo and ant for compiling existing code. Inside my java files, i do see ejbcreate(), ejbremove(), ejbpassivate() methods. Also, I see below in my .java files:
Application server (on which your web application is deployed), implements EJB specs.
So, libraries provided by JBoss should tell you the EJB version is use.
Try to search any EJB specific class like Stateless or something and look at the Jar which has it included. The Jar name itself should have the specs version or you can unpack it to see its details.
If you are seeing ejbcreate etc methods and if the code is old, guess its version 2.