0

One way is to put a dummy jar and let the hot-deploy handle it (loading the dummy jar instead of the real servlet). I wonder if there is an easier way without bothering with dummy jars (in JBoss maybe?)

bugspy.net
  • 111
  • 5

1 Answers1

1

JBoss has a deployment scanner that will notice if you remove the jar, and undeploy.

pra
  • 622
  • 1
  • 5
  • 13
  • Ok. And what about Tomcat ? – bugspy.net Jan 17 '10 at 16:17
  • You can accomplish the same effect with the tomcat manager, http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Undeploy%20an%20Existing%20Application. That will remove stop your webapp & remove all of its artifacts. – pra Jan 20 '10 at 00:37