Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB version

 
Selvakumar Kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thank you. I am able to find the version now.
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I searched ejb version in application.xml and i cant find the version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic