This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using JBoss 4.2.2.GA with MyEclipse. In the web project, after deployment if I had done any changes to JSP, it
s getting reflected without redeploying the war. But whenever I done changes to java and build it, the context is not reloading automatically. How can we do it for JBoss with MyEclipse? I need to redeploy it for each time I am changing the java file and it's very teadous for the development. Any one help on this?
The only way to get Java file changes recognized is to redeploy the web app. One way to redeploy the app is to 'touch' the web.xml file. Did you install JBoss Tools into Eclipse? It provides some JBoss-specific Java EE projects that should automatically redeploy the app when you make Java changes. (I know that Eclipse comes with some JBoss projects, but I don't know if they handle the redeployment properly.)