users@glassfish.java.net

Detect Glassfish container during startup

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Sat, 15 Mar 2008 16:40:52 +0100

Hi,

I need to implement a listener that detects the container type (Glassfish,
Tomcat, Jetty) and sets some system properties accordingly. I'm unsure how
to detect Glassfish..anything specific I should check for?

Regards,