adding script for automatically redeploying JBoss
added comment regarding the Thread.sleep()'s purpose