What application server are you using?
This will work OK but if you're using JBoss, using a service deployment works better.
thanks for your interest :)
I'm using BEA Weblogic 8.1 with JDK1.4.2 on Solaris 9.
My fellow WebLogic-using developers use servlets as well to create and register MBeans etc. I don't particularly like that style of deployment. I guess using something like this:
is more work...