dev@glassfish.java.net

Re: Detecting what version of the server created a domain

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Thu, 30 Nov 2006 14:34:25 -0800

kedar wrote:
> May I conclude that your questions in this regard have been answered?
yes.
>
> For the benefit of others: there is a class called:
> com.sun.appserv.server.util.Version that lets you know "programmatically"
> about the application server installation. This class is bundled into
> <lib-folder>/appserv-ext.jar. Both the class and the jar are public
> interface
> of the app server. Look at an example use of the class --
> http://preview.tinyurl.com/y35fnp.
Cool.

Thanks for the help.

vbk
>
> Kedar
>
>