Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context Reloading in JBoss

 
Mike Thomson
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic