|
Home > Archive > WebSphere Application Server > November 2005 > Java API for retrieving Websphere product version?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Java API for retrieving Websphere product version?
|
|
|
| Does Websphere provide a Java API for retrieving the Websphere product version?
In a perfect world, I?d have a static method that looks like this:
public String getWebsphereProductVersion();
The method would return values such as
"4.0.7"
"5.0.2"
"5.1.1"
"6.0.2.2"
I need a solution for Websphere 4.x, Websphere 5.x, and Websphere 6.x
Thanks in advance.
Sean
| |
| David Brauneis 2005-11-17, 6:21 pm |
| Sean,
I am pretty sure that there is an API available in WebSphere v5/v6
available at:
http://publib.boulder.ibm.com/infoc...ge-summary.html
You probably want to look at WASProductInfo.getVersion()
Regards,
David Brauneis
IBM WebSphere Architecture & Development
Websphere Application Server - Version 6.1 Release Engineer
WebSphere Platform Console Architect
sullivan.sean@menlolog.com wrote:
>Does Websphere provide a Java API for retrieving the Websphere product version?
>
>In a perfect world, I?d have a static method that looks like this:
>
>public String getWebsphereProductVersion();
>
>
>The method would return values such as
> "4.0.7"
> "5.0.2"
> "5.1.1"
> "6.0.2.2"
>
>I need a solution for Websphere 4.x, Websphere 5.x, and Websphere 6.x
>
>Thanks in advance.
>
>Sean
>
>
>
|
|
|
|
|