how to find out the application server info

Hi, I am wondering how to find out the application server info in Java code, just like how to find out the db platform being used. Thanks
[151 byte] By [xeibya] at [2007-9-30 10:49:43]
# 1

Hi,

I am not aware of any spec defined way of finding out such info. There may be vendor specific APIs or mechanisms.

But you can use environment entries in your deployment descriptors to specify the information and make use of the entries inside your j2ee component. That will make your code platform neutral.

Sahoo

sahoo_s_k at 2007-7-3 21:18:54 > top of Java-index,Enterprise & Remote Computing,AVK Portability...