File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB version" Watch "EJB version" New topic

EJB version

Selvakumar Kumar
Ranch Hand

Joined: Feb 18, 2007
Posts: 36

How can I know what version of EJB my application is using. Should I check the jars my application is using or any other xml file.
Ranganathan Kaliyur Mannar

Joined: Oct 16, 2003
Posts: 1101

Hi Selvakumar,
You have check the xml files like ejb-jar.xml and application.xml. At the begining of the XML, you can find uri references which tell you which version of EJB is used.

Selvakumar Kumar
Ranch Hand

Joined: Feb 18, 2007
Posts: 36

Thank you. I am able to find the version now.
James Boswell

Joined: Nov 09, 2011
Posts: 1051

Strictly speaking, you should check which EJB jar is on your application's classpath and not the version specified in the XML files.
Suvathipriya Duraisamy

Joined: Feb 12, 2015
Posts: 2
I searched ejb version in application.xml and i cant find the version.
I agree. Here's the link:
subject: EJB version
jQuery in Action, 3rd edition