Get your version number from WebLogic


If you want to show the version of your application (for example in your template), you can get this from WebLogic in a bean. If you use the manifest.mf to set the Weblogic-Application-Version property, you can get this number with the help of the ApplicationVersionUtils. It’s in the package weblogic.application.utils:

 ApplicationVersionUtils.getCurrentVersionId();