aspose file tools*
The moose likes JBoss/WildFly and the fly likes hot-deploy JSP on Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "hot-deploy JSP on Jboss" Watch "hot-deploy JSP on Jboss" New topic
Author

hot-deploy JSP on Jboss

Tim Lincecum
Greenhorn

Joined: Aug 30, 2002
Posts: 5
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

Joined: Jul 20, 2005
Posts: 10266
    
168

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


[My Blog] [JavaRanch Journal]
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

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.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hot-deploy JSP on Jboss