This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB version" Watch "EJB version" New topic
Author

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
Bartender

Joined: Oct 16, 2003
Posts: 1101
    
  10

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.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Selvakumar Kumar
Ranch Hand

Joined: Feb 18, 2007
Posts: 36


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

Joined: Nov 09, 2011
Posts: 1051
    
    5

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
Greenhorn

Joined: Feb 12, 2015
Posts: 2
I searched ejb version in application.xml and i cant find the version.
 
Have you checked out Aspose?
 
subject: EJB version
 
It's not a secret anymore!