Hi, For my STRUTS based web development I am using JBOSS4.0.3 As App server, Eclipse IDE with MyEclipse 3.1. But I am not able to hot deploy my application in JBOSS. Each time when I am adding new action into my STRUTS application, I have to redeploy my application into container to see effect of added action. Whether hot deployment is possible or not in JBOSS? Please reply as redeploying is taking my lots of time. Thank you. Pras
Well JBoss has a MainDeployer that is scanning the deploy directory looking for certain types of archive files or new directory structures that represent archives. And it knows certain ones, like ear, war, jar, har, sar, rar. If you application is deployed with the directory structure, then in order to re-deploy you must touch to corresponding xml config file. For instance .jar you touch the ejb-jar.xml; .war touch the web.xml; and .ear touch the application.xml
So if you have a war file for your Struts application and you drop that in, and you drop in a new version of that war file, then it should hot deploy.