Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hot-deploy JSP on Jboss

 
Tim Lincecum
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
currently I put all my .jsp under /WEB-INF/jsp/, it will be packed in a .war file then deploy to my Jboss server.
but our front end developer want to view her modifications in jsp without re-deploy.

I am thinking move the /jsp folder out from the war file but wondering if Jboss will recompile everytime if there is an update of jsp.
Please advice, Thank you.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can deploy the .war in exploded format http://community.jboss.org/wiki/ExplodedDeployment and changes to .jsp files will be picked up automatically without requiring a redeploy of the application or restart of the server
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:You can deploy the .war in exploded format http://community.jboss.org/wiki/ExplodedDeployment and changes to .jsp files will be picked up automatically without requiring a redeploy of the application or restart of the server


This will work for you.

But if you use an IDE like Eclipse and Maven you will not be able to edit your JSP and the hot-deploy works. =/ (AT least not in my work place that happens right).

You will have to go to the JBoss folder tmp and edit your file there.
 
John Cruz
Ranch Hand
Posts: 43
Chrome Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:You can deploy the .war in exploded format http://community.jboss.org/wiki/ExplodedDeployment and changes to .jsp files will be picked up automatically without requiring a redeploy of the application or restart of the server


Thanks. The link you gave helped.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic