OpenFire on Glassfish or other web container

Hi all,

As part of a project we’re working on we’re planning on deploying an XMPP server. The deployment platform will probably be Glassfish or perhaps Jetty. Is it possible to deploy OpenFire on Glassfish or a web container other than the included Tomcat? We would really like to minimize the number of daemons running on the server (for administration/management purposes).

Thanks,

-Mario.