I want to do unit testing, controlled from an Ant script, on my EJBs. This means that I will have to deploy the app, block until it is fully deployed, run tests, and then block until the app is undeployed (several times). Is it possible to determine whether an app has been deployed and to recieve notification that the destruction of an app is done (in an Mbean)?
If you invoke deploy(String url) and undeploy(String url)
the operations are synchronous - the operation doesn't
return until it is finished.