Java API for retrieving Websphere product version?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Java API for retrieving Websphere product version?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Java API for retrieving Websphere product version?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:21 PM

Does Websphere provide a Java API for retrieving the Websphere product versi
on?

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






[ Post a follow-up to this message ]



    Re: Java API for retrieving Websphere product version?  
David Brauneis


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:21 PM

Sean,

I am pretty sure that there is an API available in WebSphere v5/v6
available at:

[url]http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.web
sphere.javadoc.doc/public_html/api/com/ibm/websphere/product/package-summary.html[
/url]

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 vers
ion?
>
>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
>
>
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:38 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register